SSMTP and SMTP without encryption

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

--
http://digital-haze.net/~pobega/ - My Website
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs.
- Richard Stallman

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

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?

--

SSMTP and SMTP without encryption

On Mon, May 14, 2007 at 10:13:30PM -0400, Tom Allison wrote:
> 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?
>

What do you mean by that? I've been reading the man page for ssmtp.conf
and I don't see anything like that in there (Besides AuthMethod).

Explain what you mean, because I'd sure love to get my SMTP up ASAP.

--
http://digital-haze.net/~pobega/ - My Website
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs.
- Richard Stallman

--

Syndicate content