I seem to be able to send an email to david@server.mydomain.tld from root when using RoundCube. The email is delivered as expected to david@mydomain.tld. So the alias I set up works ‘internally’. But it still does not work when I send from outside my NethServer. Then it is still rejected as in the post above.
I need this to work otherwise I’ll have to give up on NethServer!
No, sorry but thanks, that didn’t do it. I didn’t have any DNS entries so I added them including an alias. I also tried changing the DNS servers in Network to 127.0.0.1 and the IP address of the NethServer. Neither worked.
If that corresponds to the server FQDN I’m afraid it can’t work… Maybe the server manager should forbid to create such mail domain
The server FQDN is an internal mail domain that serves the root account and /etc/aliases DB. It’s the predefined Postfix domain from upstream config. This special treatment makes it hard to override its behavior without breaking something else.
Jun 24 01:44:30 server postfix/trivial-rewrite[11730]: warning: do not list domain server.mydomain.tld in BOTH mydestination and virtual_alias_domains
Maybe it will help with another problem where mail is rejected. But I don’t know if this warning is because of a setting I have changed or… a bug? What does it mean or refer to?
I am still having trouble with email being rejected when sending to an alias - i have another thread Mail alias failure
Hi @DavidG, while trying to implement a solution for this issue I noticed a strange behavior that probably originates from our Postfix configuration. I wrote it down here.
Could you check another workaround?
Allow the domain server.mydomain.tld (which corresponds to the Server name - aka FQDN) to receive messages from other MTAs: config setprop postfix SystemUserRecipientStatus enabled signal-event nethserver-mail-server-save
Create a dummy domain example.relay.tld and set delivery type to “Relay to another server”
Thanks @davidep, unfortunately I have had to take my server off line while I work out some hardware issues - or work out how to keep the clock correct!