Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 23rd February 2011
gpatrick gpatrick is offline
Package Pilot
Join Date: Nov 2009
Posts: 219
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:
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:
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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 02:56 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick