Johan Vromans put forth on 7/13/2010 2:36 AM:

> The problem: although I have configured
> 
>   mydomain = squirrel.nl
>   myorigin = squirrel.nl
> 
> postfix stil uses the real, local hostname in the SMTP envelope:

What do you want the SMTP host name to be?  squirrel.nl ?  johan.squirrel.nl ?

/etc/postfix/main.cf

myhostname = squirrel.nl

or

myhostname = johan.squirrel.nl

Maybe I'm missing something, but AFAIK this should permanently fix your
problem.  Your scenario is exactly why the myhostname option exists:  for when
you desire an SMTP hostname different from the local machine hostname+domain.

This is the correct way to fix your problem AFAIK.  As to why the behavior
changed with Fedora 13/Postfix 2.7 I don't know.  You'll likely have to comb
your Fedora and Postfix configs with fine teeth to find the answer.  Or as
Noel suggests, post logging of the transactions so we can see exactly what's
happening.

-- 
Stan

Reply via email to