On Sat, 28 Mar 2009, Robinson, Eric wrote:
> The remote mail server is reporting this error:
>
> 450 4.1.8 <[email protected]>: Sender address rejected: Domain not
> found
>
> So I added the following line to main.cf and restarted postfix:
>
> masquerade_domains = lb01.domain.com domain.com
>
> But it did not help.
Because your declaration of masquerade_domains is flawed. It should be:
masquerade_domains = domain.com
This strips [email protected] (including but not limited to
lb01.domain.com) to [email protected]. In your version, you listed
lb01.domain.com before domain.com which is exactly what you do NOT want. The
list is processed from left to right and the first match wins. This is
documented in the postconf(5) manual, to which you were referred earlier in
the thread.
--
Sahil Tandon <[email protected]>