Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


postfix non open relay setting

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Author Message
rosshenderson



Joined: 07 Jan 2007
Posts: 7

Posted: Sat Jan 20, 2007 1:33 pm    Post subject: postfix non open relay setting  

Hi,

i've changed from sendmail to postfix on my install of Ubuntu on my linode and am confused as to how best configure it.

the only way I can find to get it to relay mail for me without becoming an open relay is to use the following line in the local networks section of webmin control panel general module...

FQDN_of_client_pc.com
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
check_relay_domains

the problem with this is that my adsl ip address is dynamic so i will have to update the FQDN_of_client_pc.com each time it changes. this isn't a big problem but it's not very elegant.

I have to admin also to not really understanding how postfix organises itself. I did a couple of googles on this and the man pages weren't really helpful. they are more focused on a server physically connected to the network it is serving and not our set-up of a remote mail relay.

when i first installed postfix, i selected the internet option (just in case this makes a difference!)

any advice appreciated.

regards,
Ross
Back to top  
anderiv



Joined: 27 Apr 2004
Posts: 129

Posted: Sat Jan 20, 2007 2:43 pm    Post subject:  

Have you referenced the Ubuntu wiki at all? There are a bunch of postfix-related articles there...
Back to top  
pclissold



Joined: 24 Oct 2003
Posts: 471
Location: Netherlands

Posted: Sat Jan 20, 2007 10:38 pm    Post subject:  

Your situation is what SASL was designed for. Start reading here.
Back to top  
gmt



Joined: 20 Jul 2003
Posts: 96
Location: Tropical Queensland, Australia

Posted: Sun Jan 21, 2007 5:37 am    Post subject:  

I couldn't get SASL working, I use
http://popbsmtp.sourceforge.net/
Back to top  
 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Page 1 of 1