OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: Re: trivial-rewrite and append_at_myorigin

Re: trivial-rewrite and append_at_myorigin


Subject: Re: trivial-rewrite and append_at_myorigin
From: Barry A. Warsaw (bwarsawcnri.reston.va.us)
Date: Thu Dec 09 1999 - 14:14:38 CST


>>>>> "WV" == Wietse Venema <wietseporcupine.org> writes:

    WV> Barry A. Warsaw:
>> WV> Good luck. I think it is easier to fix the client.
>> Agreed. The error is with the client. The two addresses are
>> a red herring. I should have phrased my question like this: If
>> a message comes in with a bare user name in the From: field,
>> Postfix will rewrite this to user$mydomain. The documentation
>> for

    WV> That's user$myorigin.

Sorry, that was a typo on my part.

>> trivial-rewrite, and in the sample-rewrite.cf file seems to
>> indicate that if I set append_at_myorigin=no, this rewrite will
>> be avoided. However, even though I set this in my main.cf, the
>> header rewriting still occurs. Why?

    WV> append_at_myorigin=no disables appending $myorigin. It does
    WV> not disable header rewriting.

What I'm saying is that append_at_myorigin=no doesn't appear to
disable appending $myorigin to From: bare user names. Maybe it's not
supposed to? IOW,

mydomain = python.org
myorigin = $mydomain
append_at_myorigin = no

A message comes in with

    From: somebody

and that line gets rewritten to

    From: somebodypython.org

If append_at_myorigin=no is not supposed to disable that, then I don't
understand the trivial-rewrite(8) manpage.

Thanks,
-Barry



This archive was generated by hypermail 2b27 : Thu Dec 09 1999 - 15:04:53 CST