SMTP relayhost

Brady, Mike mike.brady at devnull.net.nz
Sat Mar 8 18:19:22 CET 2014


On 2014-03-08 21:46, simon at simonforsell.se wrote:
> Sorry, accidently sent out of list...
> 
>  
> 
> -----Ursprungligt meddelande-----
> 
> Från: Simon Forsell [mailto:simon at simonforsell.se]
> 
> Skickat: den 8 mars 2014 09:35
> 
> Till: 'hede'
> 
> Ämne: SV: SMTP relayhost
> 
>  
> 
> I have tried them both but it seems like its only using localhost
> whatever I put there...
> 
>  
> 
> The server is smtp.nnab.net and is just to use for outgoing mail, the
> chain is
> 
>  
> 
> Mail send-> my kolabserver -> ISP smtp...
> 
>  
> 
> I include my Master and main
> 
>  
> 
> 8 mars 2014, hede <kolab983 at der-he.de> skrev:
> 
>> Am Sat, 08 Mar 2014 08:33:14 +0100 schrieb Paul Klos
>> <kolab at klos2day.nl>:
>> 
>>> I have
>>> 
>>> relayhost = smtp.example.org
>> 
>> This works if it has a MX record in DNS.
>> If not, then add square brackets around it:
>> 
>> relayhost = [smtp.example.org]
>> 
>> http://www.postfix.org/postconf.5.html#relayhost [1]
>> 
>> With brackets it uses the common A record.
>> _______________________________________________

I do exactly what you are trying to do with no problems.

What do you mean when you say "it seems like its only using localhost"?  
What is in /var/log/maillog when you send an email and to an external 
adress?

Regards

Mike



More information about the users mailing list