[newbie] Sendmail SMTP Auth in Mandrake
Hello! I've just switched over to Mandrake from Redhat 9. My Redhat box was running Sendmail with Authentication turned on (so I don't have to re-configure my laptops every time they leave the office and not to be an open relay). I have configured my sendmail.mc / sendmail.cf files exactly the same way with the following lines--which is what I understand you must do to have AUTH. However, I'm not getting any AUTH and I'm not sure why. Is there something else that needs to be added in somewhere with Mandrake? Or perhaps there's a setting I'm unaware of that is specific to the Mandrake build? Below is my sendmail.mc file (sans most of the commentary). Any help will be GREATLY appreciated. Thanks! Corey divert(-1) include(`/usr/share/sendmail-cf/m4/cf.m4')dnl define(`confDEF_USER_ID',``mail:mail'')dnl OSTYPE(`linux')dnl undefine(`UUCP_RELAY')dnl undefine(`BITNET_RELAY')dnl define(`confALIAS_WAIT', `30')dnl define(`confTO_CONNECT', `1m')dnl define(`confTRY_NULL_MX_LIST',true)dnl define(`confDONT_PROBE_INTERFACES',true)dnl define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl dnl define delivery mode: interactive, background, or queued dnl define(`confDELIVERY_MODE', `i') MASQUERADE_AS(`localhost.localdomain')dnl FEATURE(`limited_masquerade')dnl FEATURE(`masquerade_envelope')dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl FEATURE(mailertable)dnl dnl virtusertable: redirect incoming mail to virtual domain to particular user or domain FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl dnl genericstable: rewrite sender address for outgoing mail FEATURE(genericstable)dnl FEATURE(always_add_domain)dnl FEATURE(redirect)dnl FEATURE(use_cw_file)dnl FEATURE(local_procmail)dnl FEATURE(`access_db')dnl FEATURE(`blacklist_recipients')dnl FEATURE(`relay_based_on_MX')dnl dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `Rejected - see http://www.mail dnl FEATURE(dnsbl, `dialups.mail-abuse.org', `Dialup - see http://www.mail-abuse.org/dul/')dnl dnl FEATURE(dnsbl, `relays.mail-abuse.org', `Open spam relay - see http://www.mail-abuse.org/rss/')dnl FEATURE(`delay_checks')dnl FEATURE(`stickyhost')dnl dnl SASL Configuration dnl extract from http://www.sendmail.org/~ca/email/auth.html dnl dnl Next line stops sendmail from allowing auth without encryption define(`confAUTH_OPTIONS', `A')dnl dnl Next two lines are for SMTP Authentication TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl dnl dnl STARTTLS configuration dnl extract from http://www.sendmail.org/~ca/email/starttls.html dnl define(`CERT_DIR', `/etc/ssl/sendmail')dnl define(`confCACERT_PATH', `CERT_DIR')dnl define(`confCACERT', `CERT_DIR/CAcert.pem')dnl define(`confSERVER_CERT', `CERT_DIR/MYcert.pem')dnl define(`confSERVER_KEY', `CERT_DIR/MYkey.pem')dnl define(`confCLIENT_CERT', `CERT_DIR/MYcert.pem')dnl define(`confCLIENT_KEY', `CERT_DIR/MYkey.pem')dnl dnl dnl Uncomment next lines to hide identity of mail serve define(`confPRIVACY_FLAGS',`goaway,restrictqrun,restrictmailq')dnl dnl define(`confSMTP_LOGIN_MSG', `$j server ready at $b')dnl MAILER(smtp)dnl MAILER(procmail)dnl Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Sendmail SMTP Auth in Mandrake
On Mon, 2003-12-08 at 10:49, Corey wrote: Hello! I've just switched over to Mandrake from Redhat 9. My Redhat box was running Sendmail with Authentication turned on (so I don't have to re-configure my laptops every time they leave the office and not to be an open relay). I have configured my sendmail.mc / sendmail.cf files exactly the same way with the following lines--which is what I understand you must do to have AUTH. However, I'm not getting any AUTH and I'm not sure why. Is there something else that needs to be added in somewhere with Mandrake? Or perhaps there's a setting I'm unaware of that is specific to the Mandrake build? Below is my sendmail.mc file (sans most of the commentary). Any help will be GREATLY appreciated. Thanks! Corey Sometimes on a new installation, if something borks, shorewall or the iptables scripts will block stuff that should not be blocked. What I suggest is that you run service iptables stop and thus set your iptables chains to vanilla. Then reevaluate and retest your Sendmail situation. It may not amount to anything but it will tell you were the problem is *not* at the very least. Rots of ruck, LX -- °°° Linux Mandrake 9.1 Kernel 2.4.21-0.13mdk Lets face it if winblowz wasn't full of holes then it would probably look like Linux -- Aron Smith, Mandrake OT mailing list *Catch Star Trek Enterprise, Wednesdays on UPN* Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Sendmail SMTP Auth in Mandrake
I tried disabling the firewall and iptables, but still no luck on AUTH. I CAN send mail from my local network currently. It's just outside the network I can't do anything now. I can't get authentication to work inside the network, either. If anyone can tell me what I'm missing, that would be great! THANKS! Corey __ Sometimes on a new installation, if something borks, shorewall or the iptables scripts will block stuff that should not be blocked. What I suggest is that you run service iptables stop and thus set your iptables chains to vanilla. Then reevaluate and retest your Sendmail situation. It may not amount to anything but it will tell you were the problem is *not* at the very least. Rots of ruck, LX __ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lyvim Xaphir Sent: Monday, December 08, 2003 8:29 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] Sendmail SMTP Auth in Mandrake On Mon, 2003-12-08 at 10:49, Corey wrote: Hello! I've just switched over to Mandrake from Redhat 9. My Redhat box was running Sendmail with Authentication turned on (so I don't have to re-configure my laptops every time they leave the office and not to be an open relay). I have configured my sendmail.mc / sendmail.cf files exactly the same way with the following lines--which is what I understand you must do to have AUTH. However, I'm not getting any AUTH and I'm not sure why. Is there something else that needs to be added in somewhere with Mandrake? Or perhaps there's a setting I'm unaware of that is specific to the Mandrake build? Below is my sendmail.mc file (sans most of the commentary). Any help will be GREATLY appreciated. Thanks! Corey -- °°° Linux Mandrake 9.1 Kernel 2.4.21-0.13mdk Lets face it if winblowz wasn't full of holes then it would probably look like Linux -- Aron Smith, Mandrake OT mailing list *Catch Star Trek Enterprise, Wednesdays on UPN* Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Sendmail SMTP Auth in Mandrake
On Tue, 2003-12-09 at 00:32, Corey wrote: I tried disabling the firewall and iptables, but still no luck on AUTH. I CAN send mail from my local network currently. It's just outside the network I can't do anything now. I can't get authentication to work inside the network, either. If anyone can tell me what I'm missing, that would be great! THANKS! Corey I hate to ask questions like this, but there's no other way. Have you checked your hosts.allow and hosts.deny for the proper permissions on both ends, firewall and clients? Understand that I am working my way to targeting your configuration as the culprit. We have to eliminate the obvious items first however. One more question. Well two. Are you familiar with how the hosts.deny and hosts.allow complement each other? Also...are you running the same distro across all machines, server and clients? LX -- ° Linux Mandrake 9.1 Kernel 2.4.21-0.13mdk He was an Angel?? Too bad. He was such a nice fellow. --Professor Wutheridge, The Bishops Wife *Catch Star Trek Enterprise, Wednesdays on UPN* ° Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com