Bug 470334
Summary: | Postfix does not recognize Dovecot SASL | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Griffiths <fedora.jrg01> | ||||||||
Component: | postfix | Assignee: | Miroslav Lichvar <mlichvar> | ||||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 8 | CC: | mlichvar, twoerner | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | i686 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2008-11-21 09:52:04 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
John Griffiths
2008-11-06 19:18:00 UTC
Seems to work fine here. Are there more messages in the log before "fatal: no SASL authentication mechanism"? Is dovecot-auth daemon running? Not pertaining to the SASL. dovecot-auth is running: # ps -ef | grep dovecot-auth root 321 31744 0 17:12 pts/1 00:00:00 grep dovecot-auth root 2702 2698 0 Nov09 ? 00:00:09 dovecot-auth I just did a fresh installation of postfix-2.5.5-1.fc8. Here is the log from the time it started through the sending of a test email. Now I am going to downgrade to postfix-2.4.5-2.fc8 so that email works again. Nov 13 17:06:32 gei postfix/master[32718]: daemon started -- version 2.5.5, configuration /etc/postfix Nov 13 17:07:28 gei postfix/pickup[32720]: 58E2320697C: uid=0 from=<root> Nov 13 17:07:28 gei postfix/cleanup[32733]: 58E2320697C: message-id=<20081113220728.58E2320697C.grifent.com> Nov 13 17:07:28 gei postfix/qmgr[32721]: 58E2320697C: from=<root>, size=308, nrcpt=1 (queue active) Nov 13 17:07:28 gei postfix/smtpd[32737]: fatal: no SASL authentication mechanisms Nov 13 17:07:29 gei amavis[2894]: (02894-03) (!)FWD via SMTP: <root> -> <jrg3>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 52) line 442, <GEN15> line 1708.): id=02894-03 Nov 13 17:07:29 gei postfix/master[32718]: warning: process /usr/libexec/postfix/smtpd pid 32737 exit status 1 Nov 13 17:07:29 gei postfix/master[32718]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling Nov 13 17:07:29 gei amavis[2894]: (02894-03) Blocked MTA-BLOCKED, <root> -> <jrg3>, Message-ID: <20081113220728.58E2320697C.grifent.com>, mail_id: l8cL+q9aEpSt, Hits: -8.533, size: 308, 1456 ms Nov 13 17:07:29 gei postfix/smtp[32735]: 58E2320697C: to=<jrg3>, orig_to=<jrg3>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.5, delays=0.05/0.02/0.01/1.5, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 52) line 442, <GEN15> line 1708.): id=02894-03 (in reply to end of DATA command)) Can you please attach dovecot and postfix config files? Created attachment 323570 [details]
main.cf used with postfix-2.5.5-1.fc8
Created attachment 323572 [details] master.cf used with postfix-2.5.5.-1.fc8 The file for postfix-2.5.5.-1.fc8 differs slightly from the one used for postfix-2.4.5-2.fc8. Here is the diff output. diff master.cf.postfix-2.4.5-2.fc8 master.cf.postfix-2.5.5-1.fc8 4a5,6 > # Do not forget to execute "postfix reload" after editing this file. > # 11c13 < # -o smtpd_enforce_tls=yes --- > # -o smtpd_tls_security_level=encrypt 13a16 > # -o milter_macro_daemon_name=ORIGINATING 17a21 > # -o milter_macro_daemon_name=ORIGINATING 30a35 > proxywrite unix - - n - 1 proxymap 34c39 < -o fallback_relay= --- > -o smtp_fallback_relay= Apparently some parameters changed name and there are some comment differences. Created attachment 323573 [details]
dovecot.conf file in use
The same dovecot.conf file was used for both versions of postfix.
Looks like dovecot has only plain and login mechanisms enabled, but postfix has noplaintext in smtpd_sasl_security_options. So I'd say it's a bug in the older postfix that is uses a plaintext auth even when configured to not to. Can you please verify there are messages in maillog with sasl_method=PLAIN ? Yes there are. Ok, you will need to configure dovecot to use another mechanism or drop the noplaintext option in postfix. Closing as NOTABUG. *** Bug 470339 has been marked as a duplicate of this bug. *** My DUH. I had used the mail.cf like that for so long, I didn't even see that. I made the mistake of thinking the bug was in the new Postfix and not the old. Sorry. And Thanks. |