From: Steve Foley on
I've got a postfix server I use to create an archive of all outbound emails,
using

always_bcc = archive(a)mydomain.com

and

relayhost = smtp.registeredsite.com

Unfortunately, web.com 'upgraded' our email service, and now their smtp
server requires authentication. I can't seem to
get ti working.

Here's how I have it working:

from /etc/postfix/main.cf:

relayhost = mymail.myregisteredsite.com
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_sasl_mechanism_filter = plain, login

output from #postmap -q mymail.myregisteredsite.com
/etc/postfix/sasl_passwd:

username(a)mydomain.com:password

output from
telnet mymail.myregisteredsite.com 25

EHLO :


250-mymail.myregisteredsite.com
250-PIPELINING
250-8BITMIME
250-SIZE 15728640
250 AUTH LOGIN PLAIN CRAM-MD5

from /var/log/mail/messages:

Jan 18 15:01:18 localhost postfix/smtp[15019]: AD84943213:
to=<user(a)domain.com>, relay=mymail.myregisteredsite.com[209.237.134.152],
delay=1489, status=deferred (Authentication failed: cannot SASL authenticate
to server mymail.myregisteredsite.com[209.237.134.152]: no mechanism
available)

from /var/log/mail/warnings:

Jan 18 15:01:18 localhost postfix/smtp[15019]: warning: SASL authentication
failure: No worthy mechs found


What am I missing?



From: Ralf Hildebrandt on
On 2008-01-18, Steve Foley <steve.foley(a)att.DELETE.net> wrote:

> relayhost = mymail.myregisteredsite.com
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

Remove those two:
> smtp_sasl_security_options =
> smtp_sasl_mechanism_filter = plain, login

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to plonk(a)charite.de
From: Steve Foley on
"Ralf Hildebrandt" <hildeb(a)charite.de> wrote in message
news:slrnfp4o0k.5a5.hildeb(a)postamt.charite.de...
> On 2008-01-18, Steve Foley <steve.foley(a)att.DELETE.net> wrote:
>
> > relayhost = mymail.myregisteredsite.com
> > smtp_sasl_auth_enable = yes
> > smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
>
> Remove those two:
> > smtp_sasl_security_options =
> > smtp_sasl_mechanism_filter = plain, login
>
> --
> Ralf Hildebrandt (i.A. des IT-Zentrums)
Ralf.Hildebrandt(a)charite.de
> Charite - Universit�tsmedizin Berlin Tel. +49 (0)30-450
570-155
> Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450
570-962
> IT-Zentrum Standort CBF send no mail to
plonk(a)charite.de


Thanks for the effort. I removed those but I still get

Jan 21 09:55:19 localhost postfix/smtp[3072]: C5AAD4321B:
to=myemailaddress(a)muotherdomain.com,
relay=mymail.myregisteredsite.com[209.237.134.152], delay=1, status=deferred
(Authentication failed: cannot SASL authenticate to server
mymail.myregisteredsite.com[209.237.134.152]: no mechanism available)


From: Ralf Hildebrandt on
On 2008-01-21, Steve Foley <steve.foley(a)att.DELETE.net> wrote:

> Thanks for the effort. I removed those but I still get
>
> Jan 21 09:55:19 localhost postfix/smtp[3072]: C5AAD4321B:
> to=myemailaddress(a)muotherdomain.com,
> relay=mymail.myregisteredsite.com[209.237.134.152], delay=1, status=deferred
> (Authentication failed: cannot SASL authenticate to server
> mymail.myregisteredsite.com[209.237.134.152]: no mechanism available)

Did you install all the sasl modules? Which distribution?

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to plonk(a)charite.de
From: Steve Foley on
"Ralf Hildebrandt" <hildeb(a)charite.de> wrote in message
news:slrnfpbiem.q85.hildeb(a)postamt.charite.de...
> On 2008-01-21, Steve Foley <steve.foley(a)att.DELETE.net> wrote:
>
> > Thanks for the effort. I removed those but I still get
> >
> > Jan 21 09:55:19 localhost postfix/smtp[3072]: C5AAD4321B:
> > to=myemailaddress(a)muotherdomain.com,
> > relay=mymail.myregisteredsite.com[209.237.134.152], delay=1,
status=deferred
> > (Authentication failed: cannot SASL authenticate to server
> > mymail.myregisteredsite.com[209.237.134.152]: no mechanism available)
>
> Did you install all the sasl modules? Which distribution?

I installed whatever urpmi found:

# urpmi sasl
The following packages contain sasl:
libsasl2
libsasl2-plug-gssapi

Am I missing something?

If so, any idea what I'm missing and how to get it?