Unix/Linux Go Back    



OpneBSD 5.3 sendmail question

BSD




Kindly Note - This is a Single User Post by Forum Member carsonc Regarding:
OpneBSD 5.3 sendmail question.
Please Follow The Primary Link Above to View the Full Discussion.

   
Old Unix and Linux 08-31-2013   -   Original Discussion by RichardET
carsonc's Unix or Linux Image
carsonc carsonc is offline
Registered User
 
Join Date: Aug 2013
Last Activity: 31 August 2013, 4:59 PM EDT
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
smtpd might be better

Depending on your needs, you might want to try using smtpd instead of sendmail. It's included in the OpenBSD base, and at least to me, seems much simpler than sendmail. The smtpd man page has instructions on how to convert from sendmail; and then the the man page for smtpd.conf has instructions on how to set things up.

To give you an idea of how much easier the configuration is than sendmail, here's my smtpd.conf:


Code:
listen on lo0

table aliases db:/etc/mail/aliases.db
table secrets db:/etc/mail/secrets.db

accept for local alias <aliases> deliver to mbox
accept for any relay via smtps+auth://mysmarthost@smarthost.example.com:465 auth <secrets>

Or, in other words: only accept mail locally, deliver local mail, and forward any non-local mail to the smarthost for delivery.
The Following User Says Thank You to carsonc For This Useful Post:
RichardET (08-31-2013)