[COLUG] Postfix null relay
Richard Holbert
holbert.13 at osu.edu
Mon Dec 18 16:47:52 EST 2006
travis at ilive4code.net wrote:
> 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?
One way to do this is to modify root's full name in /etc/password to
root at hostname
More information about the colug432
mailing list