Date: Mon, 5 Jun 2006 17:02:47 +0300 (EEST) From: "Елисей Бабенко" <a@zeos.net> To: freebsd-questions@freebsd.org Cc: a@zeos.net Subject: sendmail client side smtp authentication problem Message-ID: <20060605140247.17445921818@uma.zeos.net>
next in thread | raw e-mail | index | archive | help
sendmail client side smtp authentication problem My ISP wants my MTA authenticate itself from now on. So, I read cf/README, added FEATURE(authinfo) in my localhost.mc, created the file authinfo with one line AuthInfo:mail.ukrpost.ua "U:babenko@kv.ukrtel.net" "P:password" where mail.ukrpost.ua is my ISP smtp server, babenko@kv.ukrtel.net -- my id appoited by ISP; made and installed cf, restarted sendmail (at 9:17), and tried to send a mail with the command sendmail -f babenko@kv.ukrtel.net babenko@kv.ukrtel.net where babenko@kv.ukrtel.net -- my mailbox on ISP directly. The mail was rejected by server. The next is in maillog: Jun 5 09:18:07 localhost sendmail[1321]: k556I72R001321: Authentication-Warning: localhost.my.domain: elisej set sender to babenko@kv.ukrtel.net using -f Jun 5 09:18:17 localhost sendmail[1321]: k556I72R001321: from=babenko@kv.ukrtel.net, size=5, class=0, nrcpts=1, msgid=<200606050618.k556I72R001321@localhost.my.domain>, relay=elisej@localhost Jun 5 09:18:17 localhost sm-mta[1322]: k556IHub001322: from=<babenko@kv.ukrtel.net>, size=443, class=0, nrcpts=1, msgid=<200606050618.k556I72R001321@localhost.my.domain>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jun 5 09:18:17 localhost sendmail[1321]: k556I72R001321: to=babenko@kv.ukrtel.net, ctladdr=babenko@kv.ukrtel.net (1001/1001), delay=00:00:10, xdelay=00:00:00, mailer=relay, pri=30005, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k556IHub001322 Message accepted for delivery) Jun 5 09:18:17 localhost sm-mta[1324]: k556IHub001322: to=<babenko@kv.ukrtel.net>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30443, relay=mail.ukrpost.ua. [195.5.6.41], dsn=5.1.1, stat=User unknown Jun 5 09:18:17 localhost sm-mta[1324]: k556IHub001322: k556IHub001324: DSN: User unknown Jun 5 09:18:22 localhost sm-mta[1324]: k556IHub001324: to=<babenko@kv.ukrtel.net>, delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=31467, relay=mail.ukrpost.ua. [195.5.6.41], dsn=2.0.0, stat=Sent (OK id=1Fn8Q0-0006J4-G5) Then, I looked at the file authinfo with ls -lu and found that sendmail does not read it at all (see access time): -rw------- 1 root wheel 63 Jun 5 09:14 authinfo What is a problem? I have sendmail 8.13.6 on FreeBSD 6.1-RELEASE. Thank you in advance. Elisej Babenko -- Zeos: интернет + callback с лучшим отношением цена/качество http://zeos.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060605140247.17445921818>