nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] nmh 1.2 failed in doing smtp authentication

2008-04-29 19:12:36
Peter Maydell wrote:

...only of course I forgot to include the patch...
  

Hi Peter

After I used the patch, I hit another different problem.

zhangweiwu(_at_)esmeralda:~$ send -sasl -watch -verbose
Use "/home/zhangweiwu//Mail/drafts/2"? y
 -- Posting for All Recipients --
post: problem initializing server; [BHST] authentication failed (#5.7.1)
send: message not delivered to anyone
==============================================================
hangweiwu(_at_)esmeralda:~$ sudo ngrep port smtp
interface: eth0 (10.1.77.0/255.255.255.0)
filter: (ip or ip6) and ( port smtp )
###
T 216.170.248.235:25 -> 10.1.77.22:51859 [AS]
  6.T.                                                                       
##
T 216.170.248.235:25 -> 10.1.77.22:51859 [AP]
  220 vfemail.net ESMTP...9Y.                                                
##
T 10.1.77.22:51859 -> 216.170.248.235:25 [AP]
  EHLO localhost..                                                           
#
T 216.170.248.235:25 -> 10.1.77.22:51859 [AP]
  250-vfemail.net..250-STARTTLS..250-PIPELINING..250-8BITMIME..250-SIZE 0..25
  0 AUTH LOGIN PLAIN CRAM-MD5..\q..                                          
#
T 10.1.77.22:51859 -> 216.170.248.235:25 [AP]
  AUTH LOGIN..                                                               
#
T 216.170.248.235:25 -> 10.1.77.22:51859 [AP]
  334 VXNlcm5hbWU6....*9                                                     
#
T 10.1.77.22:51859 -> 216.170.248.235:25 [AP]
  emhhbmd3ZWl3dQ==..                                                         
#
T 216.170.248.235:25 -> 10.1.77.22:51859 [AP]
  334 UGFzc3dvcmQ6....".                                                     
#
T 10.1.77.22:51859 -> 216.170.248.235:25 [AP]
  Lko0VFVwOHY=..                                                             
#
T 216.170.248.235:25 -> 10.1.77.22:51859 [A]
  Xv.O                                                                       
#
T 216.170.248.235:25 -> 10.1.77.22:51859 [AP]
  535 authentication failed (#5.7.1)...Ad.                                   
#
T 10.1.77.22:51859 -> 216.170.248.235:25 [AP]
  RSET..                                                                     
#
T 216.170.248.235:25 -> 10.1.77.22:51859 [AP]
  250 flushed..fl..                                                          
#
T 10.1.77.22:51859 -> 216.170.248.235:25 [AP]
  QUIT..                                                                     
#
T 216.170.248.235:25 -> 10.1.77.22:51859 [AP]
  221 vfemail(_dot_)net(_dot_)(_dot_)(_at_)(_dot_)L(_dot_)                      
                                
##
T 216.170.248.235:25 -> 10.1.77.22:51859 [AF]
  d?.                                                                        
##
T 216.170.248.235:25 -> 10.1.77.22:51859 [AF]
  ....                                                                       
exit
23 received, 0 dropped


I kinda reproduce it with
send -sasl -saslmech PLAIN

First one may wonder if I have used wrong password. No, my password is
100% correct! Tested by various means. I can even just give you my
password so you can test (later I will change it back to my normal
password. My .netrc is:

machine mail.vfemail.net login gildororonar(_at_)mail-on(_dot_)us password 
.J4TUp8v

And my SMTP server is mail.vfemail.net.

Interesting information: I can no longer receive my emails!

zhangweiwu(_at_)esmeralda:~$ /usr/local/nmh/bin/inc
inc: -ERR authorization failed
zhangweiwu(_at_)esmeralda:~$ /usr/bin/inc
Incorporating new mail into inbox...

 232+ 04/29 Zhang Weiwu        test account<<is for you. -- Real
Softservice Hu


Note that /usr/bin/inc is nmh 1.1 installed by the OS package manager,
/usr/local/nmh/bin/inc is nmh 1.2 compiled by myself (with cyrus-sasl
and has pop enabled), both use exactly the same configuration file
(/usr/local/nmh/etc/mts.conf is symbolic link of /etc/nmh/mts.conf). So
it turns out the version I compiled cannot authenticate. Either because
of the patch or not.

-- 
Real Softservice

Huateng Tower, Unit 1788
Jia 302 3rd area of Jinsong, Chao Yang

Tel: +86 (10) 8773 0650 ext 603
Mobile: 135 9950 2413
http://www.realss.com



_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>