| Anonymous | Login | Signup for a new account | 2010-09-09 15:03 UTC |
| Main | My View | View Issues | Change Log | Roadmap |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0001020 | [SysCP] General | minor | always | 2008-11-30 20:34 | 2009-03-27 10:44 | |||||||
| Reporter | monotek | View Status | public | |||||||||
| Assigned To | JamieWolf | |||||||||||
| Priority | low | Resolution | reopened | |||||||||
| Status | feedback | Product Version | 1.4 | |||||||||
| Summary | 0001020: Missing login auth mech and trimmed unsupported auth mechs from dovecot.conf | |||||||||||
| Description |
If i use the new postfix config templates its not possible to send mail. [code] Nov 30 10:44:15 server5 postfix/master[10456]: daemon started -- version 2.5.1, configuration /etc/postfix Nov 30 10:44:19 server5 postfix/smtpd[10461]: connect from BADc5fc.bad.pppool.de[77.131.197.252] Nov 30 10:44:19 server5 postfix/smtpd[10461]: NOQUEUE: reject: RCPT from BADc5fc.bad.pppool.de[77.131.197.252]: 450 4.7.1 <Mono>: Helo command rejected: Host not found; from=<mail@monotek.ath.cx> to=<monotek@gmx.net> proto=ESMTP helo=<Mono> Nov 30 10:44:19 server5 postfix/smtpd[10461]: disconnect from BADc5fc.bad.pppool.de[77.131.197.252] [/code] If i use the old postfix config it works. No problems until i changed the config to the new one. Tested on 2 machines. My HELO is ok for other Mail Servers (like GMX). |
|||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files |
|
|||||||||||
|
|
||||||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0000043) JamieWolf (developer) 2008-12-01 12:20 |
This is due to smtpd_helo_required = yes. Your Mail Client seems to send a wrong EHLO. (Which Client do U use?). Please check http://www.postfix.org/SMTPD_ACCESS_README.html [^] for further info about it. Remember to let your client authenticate before he wants to send mails :) BTW. SSL / No SSL? Also exchanging the following line might help smtpd_recipient_restrictions = reject_unlisted_recipient permit_mynetworks permit_sasl_authenticated reject_unauth_destination reject_invalid_helo_hostname reject_unknown_helo_hostname reject_non_fqdn_helo_hostname reject_unknown_sender_domain if it doesn't set smtpd_helo_required = no and check if this help. |
|
(0000049) JamieWolf (developer) 2008-12-01 12:54 |
554 5.7.1 <imf12bis.bellsouth.net>: Helo command rejected: Host not found; Here the sending host did give a FQDN, but that name didn't really exist in the Domain Name Service (DNS for short). This error happens when the host knows itself by one name but the Internet knows it by another name. The names presented to the internet must be self-consistent. For me it seems more an Issue, that the user is not authenticated before. Do U use dovecot or Cyrus as SASL Auth? |
|
(0000207) monotek (reporter) 2008-12-31 09:41 |
Added patches for Syscp 1.4.2 which fix the problem in ubuntu. |
|
(0000225) indigo-inc (reporter) 2009-01-11 00:56 |
I had the same problem and I could it fix using the normal SysCP templates for dovecot and postfix and could it fix adding "login" to auth mechanisms. dovecot.conf: auth default { mechanisms = plain login digest-md5 cram-md5 ntlm rpa [...] (see http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL [^] for further details) |
|
(0000301) JamieWolf (developer) 2009-02-23 18:14 |
monotek you definitly made a wrong conclusion. Because Dovecot offers the NTML Auth Mech, Outlook tries to use it, since it is better than plain or login. So now the client can not auth, since cram, NTML etc. are not supported by Syscp. So the rule in sender restrictions permit_sasl_authenticated does not fire. Which means the client is rejected due to one of these rules reject_invalid_helo_hostname reject_unknown_helo_hostname reject_non_fqdn_helo_hostname reject_unknown_sender_domain. By deleting cram ntlm etc. from auth mechs and adding login, the client now can sasl auth and is permitted to send mail. So ur solution may work, but is not the real conclusion to this problem. I've fixed the confs in the SVN. |
|
(0000323) monotek (reporter) 2009-02-28 20:36 |
I checked this now with a complete new Ubuntu 8.04.2 and Syscp 1.4.2 trunk revision 2674. Sending mail does not work: [quote] Feb 28 20:15:25 server5 postfix/smtpd[7253]: connect from BAD99b9.bad.pppool.de[77.131.153.185] Feb 28 20:15:25 server5 postfix/smtpd[7253]: warning: SASL authentication failure: Password verification failed Feb 28 20:15:25 server5 postfix/smtpd[7253]: warning: BAD99b9.bad.pppool.de[77.131.153.185]: SASL PLAIN authentication failed: authentication failure Feb 28 20:15:25 server5 postfix/smtpd[7253]: warning: BAD99b9.bad.pppool.de[77.131.153.185]: SASL LOGIN authentication failed: authentication failure Feb 28 20:15:25 server5 postfix/smtpd[7253]: NOQUEUE: reject: RCPT from BAD99b9.bad.pppool.de[77.131.153.185]: 450 4.7.1 <CORE>: Helo command rejected: Host not found; from=<mail@monotek.ath.cx> to=<monotek@gmx.net> proto=ESMTP helo=<CORE> Feb 28 20:15:25 server5 postfix/smtpd[7253]: disconnect from BAD99b9.bad.pppool.de[77.131.153.185] [/quote] |
|
(0000331) Flo (administrator) 2009-03-04 11:40 |
Please monotek, be more precise with the error log. You can't read anything out of it, except the fact that it doesn't work (obviously). |
|
(0000332) monotek (reporter) 2009-03-04 12:36 |
I used exactly the new postfix / dovecot configtemplates of current trunk. This is the complete log. What else do you need? Cant you reproduce it in Ubuntu? |
|
(0000333) adlerweb (reporter) 2009-03-04 13:31 |
Some feedback from my side: #2653 solved the problem with Thunderbird and Outlook for me (Gentoo). monotek: restarted dovecot & postfix? sure the password is correct? |
|
(0000334) monotek (reporter) 2009-03-04 13:42 |
Yes, of course. All mail services are restarted. POP3 Works. Therefore password should be OK. |
|
(0000335) Flo (administrator) 2009-03-04 15:32 |
Monotek, I recently changed the /etc/postfix/sasl/smtpd.conf. Could you please try again? Dovecot sasl works for me. |
|
(0000337) monotek (reporter) 2009-03-04 16:24 |
Testserver is offline. Will check this again asap. |