Hello, We currently have myorigin = $mydomain, and mydomain = dayjob.org on one of our border MXes, which is also the outbound MX for our whole organization. We are a fairly large site with mxes in two locations and many machines which send mail which may relay through here. Mydomain feels like the *correct* origin answer.
However, we would like our rootmail to respect our aliases file, which tells root to go to a specific mail destination on a specific box. FreeBSD by default sends all its nightly security checks and the like to "root" (bareword), and we globally deploy an alias file that reroutes this to a collector on a single machine, both for our machines that run postfix, as well as our machines that run more simple mailers like dma. We'd like the expectations consistent across the board. The docs say: === The myorigin parameter specifies the domain that appears in mail that is posted on this machine. The default is to use the local machine name, $myhostname, which defaults to the name of the machine. Unless you are running a really small site, you probably want to change that into $mydomain, which defaults to the parent domain of the machine name. For the sake of consistency between sender and recipient addresses, myorigin also specifies the domain name that is appended to an unqualified recipient address. === Is there a way to split these two functions, and ONLY affect unqualified "bareword" addresses with myorigin, without causing potential surprises elsewhere? -Dan _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org