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 08-31-2013
carsonc carsonc is offline
Registered User
 
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)