[COLUG] Postfix null relay

travis at ilive4code.net travis at ilive4code.net
Mon Dec 18 15:56:13 EST 2006


I've setup a standard null client via postfix's documentation:
http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client

Then I added "root rootmail at domain.tld" to "/etc/postfix/canonical".  All
root mail is being sent to "rootmail at domain.tld"

The problem I'm having is that all email's say they are from
"root at domain.tld".  This is bad because I can't tell the different servers
apart.

Thus, I'd like to figure out how to change the from address for root mail
to say "root at server.domain.tld".

I've looked for other header information to sort mail by.  Postfix does
append a "message-id" containing the server name to the email header, but
our mail system "Groupwise" either removes the message-id or doesn't allow
access to them.

Also, I've tried setting "myorigin = $myhostname", but this has no effect.

Anyone have any ideas?


Travis Sidelinger



More information about the colug432 mailing list