Hello redhat-list, I read lots of list messages and a lot of documentation, and I thought that I finally had figured out how to get Sendmail authentication set up compatibly with Windows "The Bat!" mail client. If I'm sitting in the office, I can send mail via Sendmail on the system in the office. If I'm sitting at home, I can send mail via Sendmail on the system in the office. However, sitting at a client site this afternoon, I am getting messages saying that I'm not authenticating and that relaying is denied. I thought I was using "plain" authentication. This seems to be borne out by a maillog message from a successful send last night.
On my office Sendmail system, the sendmail.mc contains the following lines that I believe to be related to authentication. define(`confAUTH_OPTIONS', `A')dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl There may be other things involved, so I am attaching the full mc file. (DOMAIN is replaced by the domain at the office.) On The Bat!, I have turned on authentication and entered my login/password from my office system. When I tried just now to send a message, sitting at a client site, the The Bat! log shows (long lines split): 7/23/2003, 14:28:37: SEND - connected to SMTP server 7/23/2003, 14:28:37: SEND - WARNING: there were no compatible authentication mechanisms detected 7/23/2003, 14:28:37: SEND - sending message to [EMAIL PROTECTED] 7/23/2003, 14:28:37: SEND - The last address submitted was <[EMAIL PROTECTED]> !7/23/2003, 14:28:37: SEND - Message has not been sent. Server reply - 5.7.1 <[EMAIL PROTECTED]> ... Relaying denied. Proper authentication required. 7/23/2003, 14:28:38: SEND - connection finished - 0 messages sent 7/23/2003, 14:28:38: SEND - Some messages were not sent - check the log for details >From my office maillog file (long lines split): Jul 23 14:16:48 datapotata sendmail[15485]: h6NJGlwi015485: ruleset=check_rcpt, arg1=<[EMAIL PROTECTED]>, relay=209-242-9-107.dls.net [209.242.9.107], reject=550 5.7.1 <[EMAIL PROTECTED]> ... Relaying denied. Proper authentication required. Jul 23 14:16:48 datapotata sendmail[15485]: h6NJGlwi015485: from=<[EMAIL PROTECTED]>, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, relay=209-242-9-107.dls.net [209.242.9.107] >From the same maillog file, a successful send from last night, with my notebook PC sitting on my home network: Jul 22 18:11:00 datapotata sendmail[32534]: AUTH=server, relay=12-248-231-128.client.attbi.com [12.248.231.128], authid=heiby, mech=PLAIN, bits=0 Jul 22 18:11:04 datapotata sendmail[32534]: h6MNB0wi032534: from=<[EMAIL PROTECTED]>, size=113866, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, relay=12-248-231-128.client.attbi.com [12.248.231.128] Jul 22 18:11:16 datapotata sendmail[32536]: h6MNB0wi032534: to=<[EMAIL PROTECTED]>, delay=00:00:16, xdelay=00:00:12, mailer=esmtp, pri=30543, relay=mail.DOMAIN.com. [1.2.3.4], dsn=2.0.0, stat=Sent (h6MN0BC23207 Message accepted for delivery) That would seem to imply that PLAIN authentication is working just fine. So, why isn't it working today? Argh! Thanks! Ron.
sendmail.mc
Description: Binary data