[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Postfix SMTP AUTH



Hi all,

I've been trying to get my home linux box to send e-mail to a
smarthost that is using SMTP AUTH.  I've followed the various howto's
that I found through google, but I'm still getting authentication
rejections from the remote mail server.  I know that the username and
password are correct because Outlook 2003 on my work laptop will send
mail through this host with no problem.  Any clues are greatly appreciated.

When I telnet to the server here's the capabilities that it reports:

220 mail.hansoninfosys.com ESMTP
EHLO dummy
250-mail.hansoninfosys.com
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-PIPELINING
250 8BITMIME

Here is the corresponding log information.

Feb 21 19:30:48 localhost postfix/smtp[18838]: dns_query: bullets.net (MX): OK
Feb 21 19:30:48 localhost postfix/smtp[18838]: dns_get_answer: type MX for bullets.net
Feb 21 19:30:48 localhost postfix/smtp[18838]: dns_get_answer: type MX for bullets.net
Feb 21 19:30:48 localhost postfix/smtp[18838]: smtp_addr_one: host mx1.hansoninfosys.com
Feb 21 19:30:48 localhost postfix/smtp[18838]: dns_query: mx1.hansoninfosys.com (A): OK
Feb 21 19:30:48 localhost postfix/smtp[18838]: dns_get_answer: type A for mx1.hansoninfosys.com
Feb 21 19:30:48 localhost postfix/smtp[18838]: smtp_addr_one: host mx2.hansoninfosys.com
Feb 21 19:30:49 localhost postfix/smtp[18838]: dns_query: mx2.hansoninfosys.com (A): OK
Feb 21 19:30:49 localhost postfix/smtp[18838]: dns_get_answer: type A for mx2.hansoninfosys.com
Feb 21 19:30:49 localhost postfix/smtp[18838]: begin bullets.net address list
Feb 21 19:30:49 localhost postfix/smtp[18838]: pref   10 host mx1.hansoninfosys.com/216.8.68.226
Feb 21 19:30:49 localhost postfix/smtp[18838]: pref   10 host mx2.hansoninfosys.com/216.8.68.227
Feb 21 19:30:49 localhost postfix/smtp[18838]: end bullets.net address list
Feb 21 19:30:49 localhost postfix/smtp[18838]: smtp_find_self: not found
Feb 21 19:30:49 localhost postfix/smtp[18838]: smtp_connect_addr: trying: mx2.hansoninfosys.com[216.8.68.227] port 25...
Feb 21 19:30:49 localhost postfix/smtp[18838]: maps_find: smtp_tls_per_site: mx2.hansoninfosys.com: not found
Feb 21 19:30:49 localhost postfix/smtp[18838]: maps_find: smtp_tls_per_site: bullets.net: not found
Feb 21 19:30:49 localhost postfix/smtp[18838]: match_hostname: mx2.hansoninfosys.com ~? hansoninfosys.com
Feb 21 19:30:49 localhost postfix/smtp[18838]: < mx2.hansoninfosys.com[216.8.68.227]: 220 mx2.hansoninfosys.com ESMTP
Feb 21 19:30:49 localhost postfix/smtp[18838]: > mx2.hansoninfosys.com[216.8.68.227]: EHLO illinek.dnsalias.org
Feb 21 19:30:49 localhost postfix/smtp[18838]: vstream_fflush_some: fd 14 flush 27
Feb 21 19:30:49 localhost postfix/smtp[18838]: vstream_buf_get_ready: fd 14 got 119
Feb 21 19:30:49 localhost postfix/smtp[18838]: < mx2.hansoninfosys.com[216.8.68.227]: 250-mx2.hansoninfosys.com
Feb 21 19:30:49 localhost postfix/smtp[18838]: < mx2.hansoninfosys.com[216.8.68.227]: 250-AUTH LOGIN CRAM-MD5 PLAIN
Feb 21 19:30:49 localhost postfix/smtp[18838]: < mx2.hansoninfosys.com[216.8.68.227]: 250-AUTH=LOGIN CRAM-MD5 PLAIN
Feb 21 19:30:49 localhost postfix/smtp[18838]: < mx2.hansoninfosys.com[216.8.68.227]: 250-PIPELINING
Feb 21 19:30:49 localhost postfix/smtp[18838]: < mx2.hansoninfosys.com[216.8.68.227]: 250 8BITMIME
Feb 21 19:30:49 localhost postfix/smtp[18838]: server features: 0x27 size 0
Feb 21 19:30:49 localhost postfix/smtp[18838]: maps_find: smtp_sasl_passwd: hash:/etc/postfix/sasl_passwd: mx2.hansoninfosys.com = bstory:password
Feb 21 19:30:49 localhost postfix/smtp[18838]: smtp_sasl_passwd_lookup: host `mx2.hansoninfosys.com' user `bstory' pass `password'
Feb 21 19:30:49 localhost postfix/smtp[18838]: starting new SASL client
Feb 21 19:30:49 localhost postfix/smtp[18838]: name_mask: noanonymous
Feb 21 19:30:49 localhost postfix/smtp[18838]: smtp_sasl_authenticate: mx2.hansoninfosys.com[216.8.68.227]: SASL mechanisms LOGIN CRAM-MD5 PLAIN
Feb 21 19:30:49 localhost postfix/smtp[18838]: > mx2.hansoninfosys.com[216.8.68.227]: AUTH CRAM-MD5
Feb 21 19:30:49 localhost postfix/smtp[18838]: vstream_fflush_some: fd 14 flush 15
Feb 21 19:30:49 localhost postfix/smtp[18838]: vstream_buf_get_ready: fd 14 got 62
Feb 21 19:30:49 localhost postfix/smtp[18838]: < mx2.hansoninfosys.com[216.8.68.227]: 334 PDIwNDM0LjEwNzc0MTM0NDlAbXgyLmhhbnNvbmluZm9zeXMuY29tPg==
Feb 21 19:30:49 localhost postfix/smtp[18838]: smtp_sasl_authenticate: mx2.hansoninfosys.com[216.8.68.227]: decoded challenge: <20434.1077413449@mx2.hansoninfosys.com>
Feb 21 19:30:49 localhost postfix/smtp[18838]: smtp_sasl_get_user: bstory
Feb 21 19:30:49 localhost postfix/smtp[18838]: smtp_sasl_get_passwd: password
Feb 21 19:30:49 localhost postfix/smtp[18838]: smtp_sasl_authenticate: mx2.hansoninfosys.com[216.8.68.227]: uncoded client response bstory d8e8424dbd76c3daf44ac380083e5259
Feb 21 19:30:49 localhost postfix/smtp[18838]: > mx2.hansoninfosys.com[216.8.68.227]: YnN0b3J5IGQ4ZTg0MjRkYmQ3NmMzZGFmNDRhYzM4MDA4M2U1MjU5
Feb 21 19:30:49 localhost postfix/smtp[18838]: vstream_fflush_some: fd 14 flush 54
Feb 21 19:30:54 localhost postfix/smtp[18838]: vstream_buf_get_ready: fd 14 got 35
Feb 21 19:30:54 localhost postfix/smtp[18838]: < mx2.hansoninfosys.com[216.8.68.227]: 535 authorization failed (#5.7.0)
Feb 21 19:30:54 localhost postfix/smtp[18838]: connect to subsystem private/defer
Feb 21 19:30:54 localhost postfix/smtp[18838]: send attr nrequest = 0
Feb 21 19:30:54 localhost postfix/smtp[18838]: send attr flags = 0
Feb 21 19:30:54 localhost postfix/smtp[18838]: send attr queue_id = 4CAFD4D0
Feb 21 19:30:54 localhost postfix/smtp[18838]: send attr original_recipient = bstory@dotfoods.com
Feb 21 19:30:54 localhost postfix/smtp[18838]: send attr recipient = bstory@dotfoods.com
Feb 21 19:30:54 localhost postfix/smtp[18838]: send attr reason = Authentication failed: SASL authentication failed; server mx2.hansoninfosys.com[216.8.68.227] said: 535 authorization failed (#5.7.0)
Feb 21 19:30:54 localhost postfix/smtp[18838]: private/defer socket: wanted attribute: status
Feb 21 19:30:54 localhost postfix/smtp[18838]: vstream_fflush_some: fd 15 flush 248
Feb 21 19:30:54 localhost postfix/smtp[18838]: vstream_buf_get_ready: fd 15 got 10
Feb 21 19:30:54 localhost postfix/smtp[18838]: input attribute name: status
Feb 21 19:30:54 localhost postfix/smtp[18838]: input attribute value: 0
Feb 21 19:30:54 localhost postfix/smtp[18838]: private/defer socket: wanted attribute: (list terminator)
Feb 21 19:30:54 localhost postfix/smtp[18838]: input attribute name: (end)
Feb 21 19:30:54 localhost postfix/smtp[18838]: 4CAFD4D0: to=<bstory@dotfoods.com>, relay=mx2.hansoninfosys.com[216.8.68.227], delay=6, status=deferred (Authentication failed: SASL authentication failed; server mx2.hansoninfosys.com[216.8.68.227] said: 535 authorization failed (#5.7.0))
Feb 21 19:30:54 localhost postfix/smtp[18838]: flush_add: site dotfoods.com id 4CAFD4D0
Feb 21 19:30:54 localhost postfix/smtp[18838]: connect to subsystem public/flush
Feb 21 19:30:54 localhost postfix/smtp[18838]: send attr request = add
Feb 21 19:30:54 localhost postfix/smtp[18838]: send attr site = dotfoods.com
Feb 21 19:30:54 localhost postfix/smtp[18838]: send attr queue_id = 4CAFD4D0
Feb 21 19:30:54 localhost postfix/smtp[18838]: public/flush socket: wanted attribute: status
Feb 21 19:30:54 localhost postfix/smtp[18838]: vstream_fflush_some: fd 15 flush 49
Feb 21 19:30:54 localhost postfix/smtp[18838]: vstream_buf_get_ready: fd 15 got 10
Feb 21 19:30:54 localhost postfix/smtp[18838]: input attribute name: status
Feb 21 19:30:54 localhost postfix/smtp[18838]: input attribute value: 4
Feb 21 19:30:54 localhost postfix/smtp[18838]: public/flush socket: wanted attribute: (list terminator)
Feb 21 19:30:54 localhost postfix/smtp[18838]: input attribute name: (end)
Feb 21 19:30:54 localhost postfix/smtp[18838]: flush_add: site dotfoods.com id 4CAFD4D0 status 4
Feb 21 19:30:54 localhost postfix/smtp[18838]: name_mask: resource
Feb 21 19:30:54 localhost postfix/smtp[18838]: name_mask: software
Feb 21 19:30:54 localhost postfix/smtp[18838]: disposing SASL state information
Feb 21 19:30:54 localhost postfix/smtp[18838]: deliver_request_final: send: "Authentication failed: SASL authentication failed; server mx2.hansoninfosys.com[216.8.68.227] said: 535 authorization failed (#5.7.0)" -1
Feb 21 19:30:54 localhost postfix/smtp[18838]: send attr reason = Authentication failed: SASL authentication failed; server mx2.hansoninfosys.com[216.8.68.227] said: 535 authorization failed (#5.7.0)
Feb 21 19:30:54 localhost postfix/smtp[18838]: send attr status = 4294967295
Feb 21 19:30:54 localhost postfix/smtp[18838]: master_notify: status 1
Feb 21 19:30:54 localhost postfix/smtp[18838]: connection closed
Feb 21 19:30:54 localhost postfix/smtp[18838]: watchdog_stop: 0x8099090
Feb 21 19:30:54 localhost postfix/smtp[18838]: watchdog_start: 0x8099090

-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.