On Sat, Jan 11, 2025 at 08:16:37AM +0100, Klaus Tachtler via Postfix-users wrote:
> I have set the following configuration in /etc/postfix/main.cf: > append_at_myorigin = no Best to not do that. > If I now create an e-mail locally via (Postfix) sendmail, which is also > stored locally under /var/spool/main/klaus. > > My expectation would be that a rewrite to [email protected] takes place - > here [email protected] - but there is a rewrite to [email protected] There's no reason to expect that. The only related setting is "append_dot_mydomain" which appends the domain to non-fqdn hostnames, there's nothing that appends to the domain to bare localpart addresses. For that: # Leave default: # append_at_myorigin = yes myorigin = $mydomain > # postconf -nx myhostname > myhostname = mx1.tachtler.net myorigin defaults $myhostname. > # postconf -dx append_dot_mydomain > append_dot_mydomain = yes The default is not relevant here, and has changed in more recent Postfix versions and compatibility levels. -- Viktor. _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
