Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

SASL authentication failed; cannot authenticate to server smtp.comcast.net[76.96.40.155]: no mechanism available

Hi, I am trying to put the final touches on my postfix/fetchmail setup. Please please tell me if this is the wrong forum.

HELP! :-)

Mostly it's working but the crucial piece I'm missing is the ability to send mail to other hosts through my comcast relay from the command line.

I can send mail from my Mail.app client. There is just some little SASL detail or something going on here that I'm missing. I could use a good pair of eyes for help!


To put it in a nutshell, here is what I'm seeing in the logs when I do "postfix flush":

Note that I can telnet to smtp.comcast.net 587 and make a connection, so I am ignoring "no route to host" messages at the moment. Especially since you can see it does connect. Config logs are below. Sorry for the long message, but I'm hopefully anticipating the questions a knowledgable expert might ask of me. :-)

================================================================================ =============

# LOG FILE CONTENTS:

Aug 15 12:48:27 RichCookHomeMac postfix/qmgr[60944]: 810762983FD0: from=<***>, size=332, nrcpt=1 (queue active)

Aug 15 12:48:27 RichCookHomeMac postfix/qmgr[60944]: AED65298168E: from=<***>, size=327, nrcpt=1 (queue active)

Aug 15 12:48:27 RichCookHomeMac postfix/qmgr[60944]: AF585298168F: from=<***>, size=327, nrcpt=1 (queue active)

Aug 15 12:48:27 RichCookHomeMac postfix/qmgr[60944]: C873A29816BA: from=<***>, size=306, nrcpt=1 (queue active)

Aug 15 12:48:27 RichCookHomeMac postfix/qmgr[60944]: CFE0E2983B7C: from=<***>, size=302, nrcpt=1 (queue active)

Aug 15 12:48:27 RichCookHomeMac postfix/qmgr[60944]: D71C029816E8: from=<***>, size=307, nrcpt=1 (queue active)

Aug 15 12:48:27 RichCookHomeMac postfix/smtp[61130]: connect to smtp.comcast.net[2001:558:fe2d:70::30]:587: No route to host

Aug 15 12:48:27 RichCookHomeMac postfix/smtp[61133]: connect to smtp.comcast.net[2001:558:fe2d:70::30]:587: No route to host

Aug 15 12:48:27 RichCookHomeMac postfix/smtp[61132]: connect to smtp.comcast.net[2001:558:fe2d:70::30]:587: No route to host

Aug 15 12:48:27 RichCookHomeMac postfix/smtp[61132]: CFE0E2983B7C: to=<***>, relay=smtp.comcast.net[76.96.40.155]:587, delay=1844, delays=1844/0/0.09/0, dsn=4.0.0, status=deferred (host smtp.comcast.net[76.96.40.155] refused to talk to me: 421 omta14.emeryville.ca.mail.comcast.net comcast Too many sessions opened)

Aug 15 12:48:27 RichCookHomeMac postfix/smtp[61130]: Untrusted TLS connection established to smtp.comcast.net[76.96.40.155]:587: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)

Aug 15 12:48:27 RichCookHomeMac postfix/smtp[61133]: Untrusted TLS connection established to smtp.comcast.net[76.96.40.155]:587: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)

Aug 15 12:48:27 RichCookHomeMac postfix/smtp[61131]: Untrusted TLS connection established to smtp.comcast.net[76.96.40.155]:587: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)

Aug 15 12:48:27 RichCookHomeMac postfix/smtp[61134]: Untrusted TLS connection established to smtp.comcast.net[76.96.40.155]:587: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)

Aug 15 12:48:28 RichCookHomeMac postfix/smtp[61130]: warning: SASL authentication failure: No worthy mechs found

Aug 15 12:48:28 RichCookHomeMac postfix/smtp[61130]: AED65298168E: to=<***>, relay=smtp.comcast.net[76.96.40.155]:587, delay=190442, delays=190441/0/0.39/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.comcast.net[76.96.40.155]: no mechanism available)

Aug 15 12:48:28 RichCookHomeMac postfix/smtp[61133]: warning: SASL authentication failure: No worthy mechs found

Aug 15 12:48:28 RichCookHomeMac postfix/smtp[61133]: 810762983FD0: to=<***>, relay=smtp.comcast.net[76.96.40.155]:587, delay=1162, delays=1161/0/0.4/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.comcast.net[76.96.40.155]: no mechanism available)

Aug 15 12:48:28 RichCookHomeMac postfix/smtp[61131]: warning: SASL authentication failure: No worthy mechs found

Aug 15 12:48:28 RichCookHomeMac postfix/smtp[61131]: AF585298168F: SASL authentication failed; cannot authenticate to server smtp.comcast.net[76.96.40.155]: no mechanism available

Aug 15 12:48:28 RichCookHomeMac postfix/smtp[61134]: warning: SASL authentication failure: No worthy mechs found

Aug 15 12:48:28 RichCookHomeMac postfix/smtp[61134]: C873A29816BA: SASL authentication failed; cannot authenticate to server smtp.comcast.net[76.96.40.155]: no mechanism available

Aug 15 12:48:28 RichCookHomeMac postfix/error[61137]: D71C029816E8: to=<***>, relay=none, delay=190645, delays=190645/0.41/0/0, dsn=4.7.0, status=deferred (delivery temporarily suspended: SASL authentication failed; cannot authenticate to server smtp.comcast.net[76.96.40.155]: no mechanism available)

Aug 15 12:48:28 RichCookHomeMac postfix/smtp[61131]: connect to smtp.comcast.net[2001:558:fe2d:70::30]:587: No route to host

Aug 15 12:48:28 RichCookHomeMac postfix/smtp[61131]: AF585298168F: to=<***>, relay=none, delay=190350, delays=190349/0/0.42/0, dsn=4.4.1, status=deferred (connect to smtp.comcast.net[2001:558:fe2d:70::30]:587: No route to host)

Aug 15 12:48:28 RichCookHomeMac postfix/smtp[61134]: connect to smtp.comcast.net[2001:558:fe2d:70::30]:587: No route to host

Aug 15 12:48:28 RichCookHomeMac postfix/smtp[61134]: C873A29816BA: to=<***>, relay=none, delay=190865, delays=190864/0/0.43/0, dsn=4.4.1, status=deferred (connect to smtp.comcast.net[2001:558:fe2d:70::30]:587: No route to host)



================================================================================ =============

# main.cf:

mydomain_fallback = localhost

# message_size_limit = 10485760 # commented out by Rich Cook

biff = no

#mynetworks = 127.0.0.0/8, [::1]/128

#smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit

recipient_delimiter = +

smtpd_tls_ciphers = medium

inet_protocols = all

inet_interfaces = loopback-only

#======================================================================

# Rich Cook mods:

message_size_limit = 0


relayhost=[smtp.comcast.net]:587

smtp_sasl_auth_enable=yes

smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd

smtp_use_tls = yes

mydestination=localhost,localhost.$myhostname,$myhostname,localhost.richcook.net ,richcook.net



# Based off of MailServe Pro stuff

# See TRUST AND RELAY CONTROL section above

# Also see man 5 postconf

smtpd_sasl_auth_enable=yes

smtpd_use_pw_server=yes

enable_server_options=yes

smtpd_pw_server_security_options=plain, login

smtp_tls_loglevel=1

smtpd_sasl_security_options=noanonymous

smtp_tls_security_level=encrypt

broken_sasl_auth_clients=yes

# commented out as I do not fully understand yet, but does not fix to put it back in.

# smtpd_recipient_restrictions=check_sender_access hash:/etc/postfix/access, check_client_access hash:/etc/postfix/access, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access hash:/etc/postfix/access

smtpd_sasl_local_domain=$mydomain

smtp_sasl_mechanism_filter =


# =========================================================================

root@RichCookHomeMac (postfix ): ls -l /etc/postfix/

total 392

-rw-r--r-- 1 root wheel 11942 Feb 8 2014 LICENSE

-rw-r--r-- 1 root wheel 1629 Feb 8 2014 TLS_LICENSE

-rw-r--r-- 1 root wheel 20876 Feb 8 2014 access

-rw-r--r-- 1 root wheel 16384 Aug 15 12:17 access.db

-rw-r--r-- 1 root wheel 8830 Aug 15 12:28 aliases

-rw-r--r-- 1 root wheel 8829 Jun 1 14:57 aliases.desktop

-rw-r--r-- 1 root wheel 3548 Feb 8 2014 bounce.cf.default

-rw-r--r-- 1 root wheel 11681 Feb 8 2014 canonical

-rw-r--r-- 1 root wheel 44 Feb 8 2014 custom_header_checks

-rw------- 1 root wheel 157 Aug 15 11:37 fetchmailrc

-rw-r--r-- 1 root wheel 9904 Feb 8 2014 generic

-rw-r--r-- 1 root wheel 21535 Feb 8 2014 header_checks

-rw-r--r-- 1 root wheel 28864 Aug 15 12:43 main.cf

-rw-r--r-- 1 root wheel 26970 Feb 8 2014 main.cf.default

-rw-r--r-- 1 root wheel 26155 Jun 1 15:04 main.cf.upgradedMtnLion

-rw-r--r-- 1 root wheel 27430 Feb 8 2014 main.cf~orig

-rw-r--r-- 1 root wheel 1441 Feb 8 2014 makedefs.out

-rw-r--r-- 1 root wheel 7443 Feb 8 2014 master.cf

-rw-r--r-- 1 root wheel 7443 Feb 8 2014 master.cf.default

-rw-r--r-- 1 root wheel 18473 Feb 8 2014 postfix-files

-rw-r--r-- 1 root wheel 6816 Feb 8 2014 relocated

-rw-r----- 1 root wheel 44 Aug 15 10:56 sasl_passwd

-rw-r----- 1 root wheel 16384 Aug 15 12:18 sasl_passwd.db

-rw-r--r-- 1 root wheel 12549 Feb 8 2014 transport

-rw-r--r-- 1 root wheel 12494 Feb 8 2014 virtual


<Email Edited By Host>

PowerMac, OS X Mavericks (10.9), 14 GB RAM, 2.8 GHz Quad Core

Posted on Aug 15, 2014 1:00 PM

Reply
17 replies

Feb 8, 2015 7:42 PM in response to SpocksBeard

SpocksBeard - This solved the problem for me. It is as simple as adding the one line "smtp_sasl_security_options =".

Also "smtp_sasl_security_options = noanonymous" works as well. I use the mail server only to send alerts to external email addresses - as Comcast blocks port 25 - inbound mail is not possible (at least not without a mail hop hack).


~Scott

SASL authentication failed; cannot authenticate to server smtp.comcast.net[76.96.40.155]: no mechanism available

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.