Re: SMTP Authentication



Instruction of the "SMTP AUTO in sendmail 8.10-8.13" to test the Sendmail

banyan# sendmail -d0.1 -bv root
Version 8.14.2
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2
SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = banyan
(canonical domain name) $j = banyan...com
(subdomain name) $m = ..com
(node name) $k = banyan...com
========================================================

root... deliverable: mailer local, user root

banyan# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 banyan...com ESMTP Sendmail 8.14.2/8.14.2; Wed, 29 Jul 2009 21:19:40 +0800 (CST)
ehlo localhost
250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP

The Sendmail test seems OK
But the SMTP authentication does not work from my mail client.

Reed


From: Reed Lai
Sent: Wednesday, July 29, 2009 5:37 PM
To: freebsd-questions@xxxxxxxxxxx
Subject: SMTP Authentication


Hi,

I have two freebsd mail servers both configured SMTP authentication:

FreeBSD Handbook 28.10 SMTP Authenticatin
http://www.freebsd.org/doc/en/books/handbook/smtp-auth.html

SMTP AUTO in sendmail 8.10-8.13
http://www.sendmail.org/~ca/email/auth.html

One is functional, and the other one doesn't seem to work. Compare the
maillogs of the two servers, there is an AUTH=server message appear in the
functional server, but the other one has not.

The maillog of functional server
======================
Jul 29 16:15:10 maple sm-mta[57825]: AUTH=server, relay=59-....net
[59...147], authid=a660407, mech=LOGIN, bits=0
Jul 29 16:15:10 maple sm-mta[57825]: n6T8F9ej057825: from=<reedlai@...>,
size=1430, class=0, nrcpts=1,
msgid=<40F9CC65E8874D128639A39C1EEBD410@ReedXP>, proto=ESMTP, daemon=IPv4,
relay=59-...net [59...147]

The other one
=========
Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: ruleset=check_rcpt,
arg1=<reedlai@...>, relay=59-...-147.HINET-IP.hinet.net [59...147],
reject=550 5.7.1 <reedlai@...>... Relaying denied
Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: from=<reedlai@...>,
size=0, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4,
relay=59-...-147.HINET-IP.hinet.net [59...147]

It seems the other one's smtp authentication is not trigged.

Please help or tip me for something I forget.

Thank you!

Reed

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: SETUP whole new system (Part 1, the firewall SMTP relay)
    ... I'm new on sendmail in a new position as sysadmin in a branch of the ... Message delivery on the final host ... itself or to the firewall SMTP relay. ... department's network and by the firewall SMTP relay to forward the ...
    (comp.mail.sendmail)
  • Re: sendmail question
    ... >> Isn't SMTP, POP3, IMAP what ISPs use for internet mail? ... > preferences but i'd say it's safe to assume it means POP3). ... be your sendmail program. ... note, you should check the mail sent to the root user, you'll receive ...
    (alt.os.linux.redhat)
  • Re: How do i send mail to certain domain users over external smtp using sendmail?
    ... You really didn't have to recompile sendmail. ... an external SMTP to send mail to bar.com and anotherdomain.com? ... Your file names may vary depending ... consider all DSL lines as spam sources. ...
    (freebsd-net)
  • Re: [PHP] Re: SMTP vs mail()
    ... It depends on the platform you are running PHP. ... using SMTP connections. ... mailuses sendmail or equivalent programs. ... That is why configuring it to defer the delivery is a much better idea, ...
    (php.general)
  • Re: send email from command line
    ... would think SMTP should be avoided? ... a message via SMTP syntax is no different from outputting it to a file - ... to have to know _sendmail_ syntax. ... aren't using SPF I don't understand, and my own ISP doesn't understand the ...
    (Ubuntu)