DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd February 2011
gpatrick gpatrick is offline
Shell Scout
 
Join Date: Nov 2009
Posts: 130
Thanked 0 Times in 0 Posts
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
  #2   (View Single Post)  
Old 23rd February 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,253
Thanked 182 Times in 149 Posts
Default

You have that setup, most of us probably do not, so just try it.
IF things do not work, check the mail logs, run tcpdump to find where things are stuck.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Reply

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:12 AM.


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