Sendmail: Relaying Denied: Proper Authentication Required
by z3n on Dec.08, 2009, under Linux Happyness, Tips & Hints
Problem:
You can receive emails with your own mail server, but can’t send to “non-local” domains.
Solution:
You need to setup auth method before sending emails outside the local realm. You can enable ecrypted passwords and such.
Change at sendmail config:
define(`confAUTH_OPTIONS’, `A’)dnl
TRUST_AUTH_MECH(`LOGIN PLAIN’)dnl
define(`confAUTH_MECHANISMS’, `LOGIN PLAIN’)dnl
at ssh:
set auth_options to `A’
service saslauthd restart (don’t forget it’s importaint)
service sendmail restart