#2951: mutt-1.5.16: smtp error 550 causes blocking ---------------------------------------+------------------------------------ Reporter: errordevelo...@gmail.com | Owner: brendan Type: defect | Status: assigned Priority: major | Milestone: 1.6 Component: SMTP | Version: Resolution: | Keywords: ---------------------------------------+------------------------------------ Changes (by morty):
* status: infoneeded => assigned Comment: {{{ I have a similar problem with mutt talking SMTP to an Exchange server. mutt 1.5.18. Mine involves SMTP auth+TLS. Error 454 happens late in the email. If I send email normally, with the "From" address set the way the Exchange server likes, all is well. But when I "bounce" messages, the envelope "mail from" (which has my Exchange mail address) doesn't match the header From: (which has the address of the person whose mail I seek to bounce.) *After* the data section and the ".", the exchange server sends an error 454. At this point, mutt reports the error and hangs. Here is the end section of -d2 debug output, highly-sanitized: Connected to smtp02.SOMEDOMAIN:25 on fd=5 5< 220 smtp02.SOMEDOMAIN Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at Tue, 3 Mar 2009 20:11:07 -0600 5> EHLO HOSTNAME.SOMEDOMAIN 5< 250-smtp02.SOMEDOMAIN 5< 250-TURN 5< 250-SIZE 20480000 5< 250-ETRN 5< 250-PIPELINING 5< 250-DSN 5< 250-ENHANCEDSTATUSCODES 5< 250-8bitmime 5< 250-BINARYMIME 5< 250-CHUNKING 5< 250-VRFY 5< 250-TLS 5< 250-STARTTLS 5< 250-X-LINK2STATE 5< 250-XEXCH50 5< 250 OK 5> STARTTLS 5< 220 2.0.0 SMTP server ready 5> EHLO HOSTNAME.SOMEDOMAIN 5< 250-smtp02.SOMEDOMAIN Hello [SOMEIP0] 5< 250-TURN 5< 250-SIZE 20480000 5< 250-ETRN 5< 250-PIPELINING 5< 250-DSN 5< 250-ENHANCEDSTATUSCODES 5< 250-8bitmime 5< 250-BINARYMIME 5< 250-CHUNKING 5< 250-VRFY 5< 250-X-EXPS LOGIN 5< 250-X-EXPS=LOGIN 5< 250-AUTH LOGIN 5< 250-AUTH=LOGIN 5< 250-X-LINK2STATE 5< 250-XEXCH50 5< 250 OK SASL local ip: SOMEIP1;57516, remote ip:SOMEIP2;25 External SSF: 128 External authentication name: NTDOMAIN\USER 5> AUTH LOGIN 5< 334 SOMEHASH0 mutt_sasl_cb_authname: getting authname for smtp02.SOMEDOMAIN:25 mutt_sasl_cb_pass: getting password for ntdomain\u...@smtp02.somedomain:25 5> SOMEHASH1 5< 334 SOMEHASH2 5> SOMEHASH3 5< 235 2.7.0 Authentication successful. 5> MAIL FROM:<mailusern...@somedomain> 5< 250 2.1.0 mailusern...@somedomain....sender OK 5> RCPT TO:<mailusern...@somedomain> 5< 250 2.1.5 mailusern...@somedomain Updating progress: 0 5> DATA 5< 354 Start mail input; end with <CRLF>.<CRLF> Updating progress: 54 Updating progress: 98 Updating progress: 163 Updating progress: 215 Updating progress: 263 Updating progress: 334 Updating progress: 414 Updating progress: 447 Updating progress: 484 Updating progress: 542 Updating progress: 581 Updating progress: 625 Updating progress: 690 Updating progress: 751 Updating progress: 785 Updating progress: 803 Updating progress: 864 Updating progress: 921 Updating progress: 976 Updating progress: 1033 Updating progress: 1034 Updating progress: 1070 Updating progress: 1071 Updating progress: 1118 Updating progress: 1119 Updating progress: 1194 Updating progress: 1242 Updating progress: 1265 Updating progress: 1266 Updating progress: 1332 Updating progress: 1358 Updating progress: 1392 Updating progress: 1393 Updating progress: 1438 Updating progress: 1497 Updating progress: 1498 Updating progress: 1545 Updating progress: 1583 Updating progress: 1584 Updating progress: 1623 Updating progress: 1675 Updating progress: 1676 Updating progress: 1725 Updating progress: 1740 Updating progress: 1754 Updating progress: 1782 Updating progress: 1839 Updating progress: 1840 Updating progress: 1887 Updating progress: 1916 Updating progress: 1917 Updating progress: 1933 Updating progress: 2018 Updating progress: 2086 Updating progress: 2156 Updating progress: 2220 Updating progress: 2304 Updating progress: 2368 Updating progress: 2400 Updating progress: 2490 Updating progress: 2552 Updating progress: 2633 Updating progress: 2717 Updating progress: 2788 Updating progress: 2865 Updating progress: 2913 Updating progress: 3072 Updating progress: 3118 Updating progress: 3146 Updating progress: 3185 Updating progress: 3245 Updating progress: 3284 Updating progress: 3304 Updating progress: 3342 Updating progress: 3406 Updating progress: 3424 Updating progress: 3449 Updating progress: 3481 Updating progress: 3557 Updating progress: 3566 Updating progress: 3588 Updating progress: 3589 Updating progress: 3691 Updating progress: 3692 Updating progress: 3741 5> . 5< 454 5.7.3 Client does not have permission to Send As this sender. SMTP session failed: 454 5.7.3 Client does not have permission to Send As this sender. At this point, mutt hangs. I think this should be enough to demo the problem. If you need more, please let me know. }}} -- Ticket URL: <http://dev.mutt.org/trac/ticket/2951#comment:3> Mutt <http://www.mutt.org/> The Mutt mail user agent