LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-06-2006, 01:22 PM   #1
hd2000
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
Question Enable SMTP Authentication


I follow some of the guide on the Internet to enable SMTP Authentication, after messing with it, it does not shown 250-AUTH LOGIN PLAIN when i telnet to mail.winstonjourney.com on port 25

here is my sendmail.mc, hope someone can pinpoint the problem, thanks

Code:
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
dnl define(`SMART_HOST',`mail.winstonjourney.com')
define(`confDEF_USER_ID',``8:12'')dnl
dnl define(`confAUTO_REBUILD')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
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confTO_IDENT', `0')dnl
define(`confAUTH_OPTIONS', `A p y')dnl
define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confCACERT_PATH', `/etc/mail/certs')dnl
define(`confCACERT', `/etc/mail/certs/cacert.pem')dnl
define(`confSERVER_CERT', `/etc/mail/certs/sendmail.pem')dnl
define(`confSERVER_KEY', `/etc/mail/certs/sendmail.pem')dnl
define(`confCLIENT_CERT', `/etc/mail/certs/sendmail.pem')dnl
define(`confCLIENT_KEY', `/etc/mail/certs/sendmail.pem')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(always_add_domain)dnl
FEATURE(redirect)dnl
EXPOSED_USER(`root')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')dnl
FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(local)dnl
MAILER(smtp)dnl
 
Old 12-06-2006, 01:30 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You don't say which documentation you were following. There's a good on this site at http://www.linuxquestions.org/questi...d.php?t=224543 which is well worth checking. There are other things which need to be configured apart from your sendmail.mc file for SMTP AUTH to work properly.
 
Old 12-06-2006, 01:50 PM   #3
hd2000
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I follow the guide from the link you mentioned, however no luck
 
Old 12-06-2006, 08:34 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Did you get any errors during the process? For example, did the step to check whether sendmail had SASL support correctly compiled in work?
Code:
/usr/sbin/sendmail -d0.1 -bv root
Did you modify all of the required files and not just sendmail.cf? For example, SASL needs support for login and plain compiled in - it also needs to have /usr/lib/sasl2/Sendmail.conf configured to use it.

Somebody who knows more about this than I do may be able to spot the problem, but I'd need more info if possible please.
 
Old 12-07-2006, 06:04 AM   #5
hd2000
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I've solved it. I remove and reinstall the sendmail RPM, start from fresh installation which have SASL support. before I enable the 'plain login', the auth command is supported.

Then follow the guide mentioned, able to get myself running with smtp auth and email sent to my gmail. only thing is i need sendmail to enforce the smtp auth for the email client, not sure how to do it.

Thanks Steve for your help. Appreciate it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Little help about SMTP authentication bukich Linux - Software 1 11-04-2006 11:11 AM
smtp authentication bindhuchowdhary Linux - Server 1 08-21-2006 06:26 AM
SMTP Authentication Cottsay Linux - Software 5 03-01-2006 09:07 PM
SMTP Authentication jademan83 *BSD 0 10-04-2005 12:20 PM
SMTP Authentication msmith7735 Linux - Software 1 11-26-2002 05:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration