D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Postfix

 

Simon Waters wrote:
> My guess is that you have the smart host config wrong in Postfix.
> 
> Probably "relayhost=mailhost.zen.co.uk" when it should be
> "relayhost=[mailhost.zen.co.uk]" although why only sometimes I'm not
> sure. For that we'd need the output of "postconf -n" and probably better
> asked on the Postfix users list, if the above doesn't answer the question.

The brackets tell Postfix not to do an MX lookup on the record. If you
want to connect to the specified host wrap it in brackets otherwise
Postfix will connect to an MX server for the domain you specify. In this
case you want the brackets. :)

Chris

-- 
Chris Smith
<http://www.cs278.org/>

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html