postfix - warning: SASL authentication failure: No worthy mechs found
Hey guys!
I wanted to test sending emails using external isp gmx. however after installing postfix 2.8.3 +cyrus + mysql and adding in main.cf Code:
#### ADDED BY HAND TO USE MY ISP SMTP ACCOUNT WHEN SENDING EMAILS #### Code:
[mail.gmx.com] myusername@gmx.com:mypassword Code:
Jun 18 11:17:53 parade postfix/smtp[24010]: 4273736803C: to=<myusername@gmail.com>, relay=mail.gmx.com[213.165.64.44]:25, delay=33982, delays=33981/0.03/0.51/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server mail.gmx.com[213.165.64.44]: no mechanism available) Code:
/usr/lib/sasl2# ls thanks |
After writing your sasl-passwords file, did you
Code:
postmap sasl_passwords Code:
smtp_sasl_password_maps=hash:/etc/postfix/sasl-passwords :hattip: |
yes i have created sasl-passwords.db
im reading and it shows that this error msg usually shows up because theres no required sasl2 modules installed, if thats the case im wondering how i can find specific sasl2 plugin for cyrus when it comes to slackware? because i installed postfix + cyrus + mysql from slackbuilds version 2.8.3. thanks guys |
OK so I can't help here, but I remember that I had problems with cyrus too, so I simply used the dovecot sasl auth since I had to install dovecot anyways (postfix and the slackbuild script are already prepared for that and postfix tries to shy away from cyrus, according the READMEs)
:hattip: |
By default the Postfix SMTP client does not support plain text auth mechanisms. The remote server mentioned in your post only supports plain text auth (LOGIN and PLAIN). Have you set the smtp_sasl_security_options configuration directive, or did you leave it as the default? Try setting that in main.cf as follows:
Code:
smtp_sasl_security_options = noanonymous For future reference it is generally a good idea to include the output of "postconf -n" when asking for help with Postfix. This allows people helping you see what changes you have made to your configuration. ("postconf -n" prints out the non-default configuration parameters in main.cf.) |
Quote:
|
Quote:
|
Thank you! This one had been driving me nuts. After hating the @55h01e5 at ComCast for years we decided to try hating the @55h01e5 at Verizon/FiOS for a while, and it was *waaaayyy* harder than it ought to have been to get the Postfix SMTP client to relay through their server (which for a while appears to actually have been a Yahoo! box?!) and it involved rigging SMTPS and using stunnel - what a PITA!
But after I finally got it working it seemed OK for a few months... until suddenly it wasn't. For whatever reason, Thunderbird continued working right along even when Postfix was failing, but I couldn't abandon Postfix as I'm hopelessly addicted to MH (and exmh) and I don't know of any way to relay through Thunderbird. The clues provided in this thread about smtp_sasl_security_options=noanonymous were what finally got things working again - yay! Now the FiOS server IDs itself as something from Oracle, so I'm assuming my config got b0rken when they switched over... FWIW, here's the (mostly canonical, prettified) Postfix main.cf I'm using on my Linux box: Quote:
|
Quote:
(sorry couldn't resist) |
All times are GMT -5. The time now is 02:59 PM. |