Thread: OpenSMTPD
View Single Post
  #1   (View Single Post)  
Old 23rd February 2011
gpatrick gpatrick is offline
Spam Deminer
 
Join Date: Nov 2009
Posts: 245
Default OpenSMTPD

Since I had to reinstall and was having problems with Sendmail + SMTP Auth, I decided to return to OpenSMTPD, which I was trying prior to Sendmail.

I now have local delivery on my internal network to mbox. Next I want to try to send mail out through SMTPD, but I'm not sure of the synatx.

According to the documentation:
Code:
accept for all relay via "example.com" ssl enable auth
would be used to relay mail to another mail server, however, in my case, I have port 25 available, and my mail server would be mail.example.net.

I have an OpenBSD PF firewall in front, and one network for internal and another network for a DMZ. I plan to place mail.example.com in the DMZ, so on my DMZ server that has OpenSMTPD, would I use:
Code:
accept for all relay via "mail.example.net" ssl enable auth
Of course having appropriate redirects on my firewall.

Would that work if I want to send mail from my internal network to say my sister on another mail host such as yahoo.com?
Reply With Quote