[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: postfix: can't configure $myhost, $mydomain



On Monday 08 January 2007 02:03, Colin Brace wrote:
> I recently switched ISPs and the current one blocks outgoing traffic
> on port 25. That is to say, all outgoing traffic on that port must be
> routed through their SMTP server.
>
> (I am not happy about it, but I have to live with it for the time being.)
>
> By default, postfix under Fedora supplies
> "username localhost localdomain" as sender. Unfortunately, the ISP's
> SMTP server rejects messages sent this way; it wants a FQDN.
>
> So, I modify these parameters in /etc/postfix/main.cf:
>
>   myhostname = ariel.lim.nl
>   mydomain = lim.nl
>   myorigin = $mydomain
>
> Then run # postfix reload
>
> But system mail still get sent out as coming from
> "colin localhost localdomain" and get rejected.
>
> What is going wrong here? I have not enabled any of the
> masquerade_domains stuff.
>
> I'm running FC6/postfix-2.3.3-2
>
I had a similar problem in FC6, for local mail.  Try adding the line

masquerade_domains = |ariel.lim.nl

That's a 'pipe' before the fqdn.

Anne

Attachment: pgpd5wsyzbFA4.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]