Luzern
(Bryan)
August 1, 2021, 10:11am
7
After perform what @Andy_Wismer ’s recommended and study the following post:
opened 04:17PM - 14 Aug 18 UTC
closed 07:19PM - 07 Sep 18 UTC
bug
invalid
**Steps to reproduce**
- Install server mail with FQDN `domain.com`
- Create… a new domain mail named `sub.domain.com`
- try to send email, it is rejected with `Recipient address rejected: Access denied`
- create a mail alias to receive `stephane@sub.domain.com` to `stephane@domain.com`
- email are rejected with `Recipient address rejected: Access denied`
you can find also in maillog `warning: do not list domain prometheus.de-labrusse.fr in BOTH mydestination and virtual_alias_domains`
**Expected behavior**
I expect that a validator prohibit the usage of a subdomain of the FQDN domain of the server **when this domain is used locally to deliver email**. I cannot assume what is the usage of a domain for a remote mail server
**Actual behavior**
Actually, there is no error, the domain is created but it is not workable
**Components**
nethserver-mail-common and nethserver-mail2-common must be patched
**See also**
https://community.nethserver.org/t/mail-alias-failure/10140
----
thank @davidep and DavidG David Gordon
I have incoming email addressed to user@server.mydomain.tld which I want delivered to the user’s email user@mydomain.tld.
I set up a mail alias but incoming mail is rejected:
user@server.mydomain.tld
host server.mydomain.tld [12.34.56.78]
SMTP error from remote mail server after RCPT TO:<user@server.mydomain.tld>:
554 5.7.1 <user@server.mydomain.tld>: Recipient address rejected:
Access denied
Reporting-MTA: dns; another.server.tld
Action: failed
Final-Recipient: rfc822;user@serve…
It’s finally work after enable the SystemUserRecipientStatus.
config setprop postfix SystemUserRecipientStatus enabled
signal-event nethserver-mail-server-save
But this still not what I want, as I am going to install TWO NethServer
The first one is mail.domain.com , as my mail server, where the MX record point to.
The second one is abc.domain.com , which is used for testing projects and for receiving emails for the project. That’s why I want the domain part of the email address to be @abc.domain.com
Now, I will set the second NethServer as test.abc.domain.com . Then the domain part of the email address will be as @abc.domain.com
Dummy, but work
Thanks a lot!