Carlos E. R. wrote: > > Hi, > > I can't make postfix to authenticate to my ISP. See the debug log: > > Apr 10 12:06:31 nimrodel postfix/qmgr[21346]: 7337CB6FC5: > from=<[EMAIL PROTECTED]>, size=5210, nrcpt=1 (queue active) > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: < > smtp.telefonica.net[213.4.149.66]: 220 ctsmtpout1.frontal.correo ESMTP > Service (7.2.056.6) ready > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: > > smtp.telefonica.net[213.4.149.66]: EHLO nimrodel.valinor > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: < > smtp.telefonica.net[213.4.149.66]: 250-ctsmtpout1.frontal.correo > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: < > smtp.telefonica.net[213.4.149.66]: 250-DSN > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: < > smtp.telefonica.net[213.4.149.66]: 250-8BITMIME > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: < > smtp.telefonica.net[213.4.149.66]: 250-PIPELINING > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: < > smtp.telefonica.net[213.4.149.66]: 250-AUTH=LOGIN > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: < > smtp.telefonica.net[213.4.149.66]: 250-AUTH LOGIN CRAM-MD5 DIGEST-MD5 > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: < > smtp.telefonica.net[213.4.149.66]: 250-X-CP-DELIVER-AFTER > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: < > smtp.telefonica.net[213.4.149.66]: 250-DELIVERBY 300 > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: < > smtp.telefonica.net[213.4.149.66]: 250 SIZE 52428800 > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: server features: 0x902f > size 52428800 > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: Using ESMTP PIPELINING, > TCP send buffer size is 4096 > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: maps_find: > smtp_sasl_passwd: hash:/etc/postfix/sasl_passwd(0,lock|fold_fix): > smtp.my.isp = mylogin:mypassword > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: smtp_sasl_passwd_lookup: > host `smtp.my.isp' user `mylogin' pass `mypassword' > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: starting new SASL client > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: starting new SASL client > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: smtp_sasl_authenticate: > smtp.my.isp[213.4.149.66]: SASL mechanisms LOGIN LOGIN CRAM-MD5 DIGEST-MD5 > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: > > smtp.my.isp[213.4.149.66]: AUTH DIGEST-MD5 > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: < > smtp.my.isp[213.4.149.66]: 334 cmVhbG09ImN0c210cG91... > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: xsasl_cyrus_client_next: > decoded challenge: > realm="ctsmtpout1.frontal.correo",nonce="3947F000ECF7BB....",algorithm=md5-sess,qop="auth" > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: SASL authentication > debug: DIGEST-MD5 client step 2 > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: xsasl_cyrus_get_user: > mylogin > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: xsasl_cyrus_get_user: > mylogin > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: xsasl_cyrus_get_passwd: > mypassword > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: xsasl_cyrus_client_next: > uncoded client response > username="mylogin",realm="ctsmtpout1.frontal.correo",nonce="3947F000ECF7BBDB5FA...",cnonce="ooSxxt9m...=",nc=00000001,qop=auth,digest-uri="smtp/smtp.my.isp",response=5dd... > Apr 10 12:06:32 nimrodel postfix/smtp[21659]: > > smtp.my.isp[213.4.149.66]: dXNlcm5hbWU9ImNlcm9iaW4uam9icyIscmVhbG09ImN0... > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: < > smtp.my.isp[213.4.149.66]: 535 invalid user ID or password > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: connect to subsystem > private/bounce > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr nrequest = 0 > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr flags = 0 > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr queue_id = > 7337CB6FC5 > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr > original_recipient = [EMAIL PROTECTED] > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr recipient = > [EMAIL PROTECTED] > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr offset = 527 > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr dsn_orig_rcpt > = rfc822;[EMAIL PROTECTED] > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr notify_flags = 0 > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr status = 5.0.0 > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr diag_type = smtp > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr diag_text = > 535 invalid user ID or password > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr mta_type = dns > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr mta_mname = > smtp.my.isp > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr action = failed > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: send attr reason = SASL > authentication failed; server smtp.my.isp[213.4.149.66] said: 535 > invalid user ID or password > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: private/bounce socket: > wanted attribute: status > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: input attribute name: status > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: input attribute value: 0 > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: private/bounce socket: > wanted attribute: (list terminator) > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: input attribute name: (end) > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: 7337CB6FC5: > to=<[EMAIL PROTECTED]>, relay=smtp.my.isp[213.4.149.66]:25, > delay=6.4, delays=0.26/0.23/5.9/0, dsn=5.0.0, status=bounced (SASL > authentication failed; server smtp.my.isp[213.4.149.66] said: 535 > invalid user ID or password) > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: > > smtp.my.isp[213.4.149.66]: QUIT > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: name_mask: resource > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: name_mask: software > Apr 10 12:06:37 nimrodel postfix/smtp[21659]: disposing SASL state > information > Apr 10 12:06:37 nimrodel postfix/cleanup[21620]: E34EEB6FCD: > message-id=<[EMAIL PROTECTED]> > Apr 10 12:06:38 nimrodel postfix/bounce[21660]: 7337CB6FC5: sender > non-delivery notification: E34EEB6FCD > Apr 10 12:06:38 nimrodel postfix/qmgr[21346]: 7337CB6FC5: removed > Apr 10 12:06:38 nimrodel postfix/qmgr[21346]: E34EEB6FCD: from=<>, > size=3001, nrcpt=1 (queue active) > > > The reason it says for failing is " postfix/smtp[21659]: send attr > reason = > SASL authentication failed; server smtp.my.isp[213.4.149.66] said: 535 > invalid user ID or password". But with that same Id and pass thunderbird > sends correctly (the same email, in fact), so it has to be something in > postfix. > > But what? > > The other nuisance is that every time I try the email is bounced, > instead of > retrying later. > > > This means you have setup Postfix for SMTP authentication....
The following two line enable smtp authentication... you need enter password details in the sasl_password file...The sasl_passwd file syntax is described in the /usr/share/doc/packages/postfix readmes smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
begin:vcard fn:Graham T. Smith n:Smith;Graham T. adr:Barton upon Humber;;90 Bowmandale;;North Lincs.;DN18 5EA;UK email;internet:[EMAIL PROTECTED] tel;cell:07876793607 version:2.1 end:vcard