[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSMTP and SMTP without encryption



Michael Pobega wrote:
I'm currently in the middle of trying to swerve away from using Gmail,
but the last thing standing in my way before I do is to get SMTP
working. SMTP works under Thunderbird so I know my account is fine.

(In all scenarios, I am using "/usr/sbin/ssmtp -auACCOUNT -apPASSWORD")

[pobega@ackbar]$ cat /etc/ssmtp/ssmtp.conf
mailhub=mail.digital-haze.net
FromLineOverride=YES
hostname=pobega@digital-haze.net
rewriteDomain=
root=pobega
UseTLS=YES
UseSTARTTLS=YES

Produces this error when I try to send mail:

ssmtp: Authorization failed (535 5.7.1 Credentials Rejected h13sm1687130wxd)

(Same as above, but without the last two lines)
[pobega@ackbar]$ cat /etc/ssmtp/ssmtp.conf
mailhub=mail.digital-haze.net
FromLineOverride=YES
hostname=pobega@digital-haze.net
rewriteDomain=
root=pobega

Spits out:

ssmtp: Server didn't like our AUTH LOGIN (530 5.7.0 Must issue a STARTTLS command +first i12sm3108091wxd)

So as for STARTTLS, I'm damned if I do and I'm damned if I don't. The
Dreamhost Wiki[0] entry on SSMTP says to use the latter setup, but
again, it doesn't seem to be working for me.

[0] http://wiki.dreamhost.com/SSMTP

There is LOGIN and PLAIN.  Do you have them both?



Reply to: