sendmail does not send auth command
Hi I am a newbie here, don't know if this is the right place to post. Do excuse me for any wrong post.
I am setting up Sendmail 8.13.4 on Mandriva 2006 to act as an internal server, and to act as a client to an external mail server - smtp.eth.net. I have gone through the sendmail.mc changes needed and done that, but when i try to send mail I get a message "530 5.7.0 Auth command has not been given". I have created authinfo file and also created authinfo.db, set up genericstable as well. My sendmail.mc details are here: divert(-1) dnl This is the macro config file used to generate the /etc/sendmail.cf dnl file. If you modify the file you will have to regenerate the dnl /etc/sendmail.cf by running this macro config through the m4 dnl preprocessor: dnl dnl m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf dnl dnl You will need to have the sendmail-cf package installed for this to dnl work. 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') define(`SMART_HOST',`smtp.eth.net')dnl dnl MASQUERADE_AS(`eth.net')dnl dnl FEATURE(`allmasquerade')dnl FEATURE(`masquerade_envelope')dnl dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl dnl FEATURE(mailertable)dnl dnl virtusertable: redirect incoming mail to virtual domain to particular user or domain dnl FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl dnl genericstable: rewrite sender address for outgoing mail FEATURE(genericstable,`hash -o /etc/mail/genericstable')dnl FEATURE(always_add_domain)dnl FEATURE(redirect)dnl FEATURE(use_cw_file)dnl FEATURE(local_procmail)dnl FEATURE(`access_db') FEATURE(`blacklist_recipients')dnl FEATURE(`relay_based_on_MX')dnl FEATURE(`delay_checks')dnl FEATURE(`stickyhost')dnl dnl SASL Configuration dnl dnl dnl Next two lines are for SMTP Authentication dnl TRUST_AUTH_MECH(`LOGIN PLAIN')dnl define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl dnl dnl Next line stops sendmail from allowing auth without encryption define(`confAUTH_OPTIONS', `A')dnl dnl dnl STARTTLS configuration dnl dnl define(`CERT_DIR', `/etc/ssl/sendmail')dnl dnl define(`confCACERT_PATH', `CERT_DIR')dnl dnl define(`confCACERT', `CERT_DIR/CAcert.pem')dnl dnl define(`confSERVER_CERT', `CERT_DIR/MYcert.pem')dnl dnl define(`confSERVER_KEY', `CERT_DIR/MYkey.pem')dnl dnl define(`confCLIENT_CERT', `CERT_DIR/MYcert.pem')dnl 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 I will be glad of any help!! Ram Bhat |
I recommend having a look at http://www.linuxquestions.org/questi....php?p=1144343 - quite a few people here have used it successfully to get this working properly.
I'm assuming that you're trying to get AUTH working, not that you're getting a random error because of it... :) |
All times are GMT -5. The time now is 06:47 AM. |