Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to set up sendmail with SMTP-Auth.
Sendmail itself is working fine. But I have to use SMTP-Auth for my ISP to send mails to @t-online.de and @web.de.
So I added both domains with smtp.1und1.de to the mailertable.
Also I added the following config to sendmail.cf
Definiert define(`confAUTH_MECHANISMS',`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
Definiert define(`confDEF_AUTH_INFO', `/etc/mail/default-auth-info')dnl
Mailer MAILER(`local')dnl
But all I got is a the following error:
... mailer=smtp, pri=121014, relay=smtp.1und1.de. [212.227.15.183], ds
n=5.1.1, stat=User unknown
Sep 26 20:17:44 xxxhost sendmail[18665]: j8QIHQi4018653: j8QIHii3018665: DSN : User unknown
Does anybody has an idea why the default-auth-info file will not be used?
(The data in the file are absolutly correct. I already checked it.)
I really don`t know what else I can do. I`ve read a lot of hints to smtp-auth but I couldn`t find the mistake. :-(
I changed the settings for using access_db instead of default_auth_info, because I am using sendmail 8.13.x. Now I can see that my server wants to authentificate itself at the server of my isp. But now I recieve a temporary AUTH failure. I increased the loglevel, but I really don`t understand what`s wrong now.
I am using Mandrake 10.1 and here is my sendmail.m4. (I am sorry, but I am not sure, what`s meant by "in code tags"). But I deleted the lines which seems to be only comments. :-)
divert(-1)
dnl You will need to have the sendmail-cf package installed for this to
dnl work.
include(`../m4/cf.m4')dnl
define(`confDEF_USER_ID',``mail:mail'')dnl
OSTYPE(`unknown')
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
MASQUERADE_AS(`localdomain')dnl
MASQUERADE_DOMAIN(`localdomain')dnl
dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(mailertable)dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
FEATURE(`genericstable',`hash -o /etc/mail/genericstable')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
FEATURE(`delay_checks')dnl
FEATURE(`stickyhost')dnl
dnl
define(`confAUTH_MECHANISMS',`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
dnl
define(`confAUTH_OPTIONS', `A y')dnl
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
define(`confPRIVACY_FLAGS',`goaway,restrictqrun,restrictmailq')dnl
define(`confSMTP_LOGIN_MSG', `This EMSTP server welcomes you.')dnl
MAILER(smtp)dnl
MAILER(local)dnl
MAILER(procmail)dnl
undefine(`SMART_HOST')
INPUT_MAIL_FILTER(`avmilter',`S=inet:3333@localhost,F=T,T=S:10m;R:10m;E:5m')
As I don't use Mandrake and your sendmail.mc looks OK did some research and apparently on your distro cyrus-sasl needs plugins added for your specific requirements
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.