I have followed the guide for smtp authentication on slackware 10.. I installed the sasl2 libraries and I recompiled sendmail with sasl support and tls support. Everything is running.
I configured sendmail with options for smart_host, and authinfo file.
I made the authinfo file correctly I believe, and I made the .db file from that with the makemap command.
When trying to send email with mail, mailto, pine, sendmail..etc.
I get the following errors:
Oct 19 15:44:53 slacker sm-mta[6028]: i9ILQEJY004760: AUTH=client, available mechanisms do not fulfill requirements
Oct 19 15:44:53 slacker sm-mta[6028]: AUTH=client, relay="myserver"., temporary failure, connection abort
Oct 19 15:44:53 slacker sm-mta[6028]: i9ILQEJY004760: to=<"toaddress">, ctladdr=<"user@localhost"> (1006/100), delay=22:18:39, xdelay=00:00:00, mailer=relay, pri=4980304, relay=myserver. [IP], dsn=4.0.0, stat=Deferred: Temporary AUTH failure
Oct 19 15:44:53 slacker sm-mta[6028]: i9ILHuSK004748: to=<"toaddress">, ctladdr=<"localhostuser"> (0/0), delay=22:26:57, xdelay=00:00:00, mailer=relay, pri=4980463, relay=myserver., dsn=4.0.0, stat=Deferred
i took out the actual server names, and user names for privacy. But the information above should be sufficient. I will also put my configuration below.
I have looked everywhere online, google, linuxquestions, all the FAQ's, sendmail's site and cf guide..but cannot find the solution anywhere..has anyone else had this problem and if so did it get correctly, and how? If not does anyone know how to correct this problem or know what the problem is?
I haven't found AUTH=client anywhere, i'm not sure how the auth keeps getting send as that.
anyways here's my configuration:
include(`../m4/cf.m4')
VERSIONID(`default setup for Slackware Linux')dnl
OSTYPE(`linux')dnl
dnl# These settings help protect against people verifying email addresses
dnl# at your site in order to send you email that you probably don't want:
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
dnl# Uncomment the line below to send outgoing mail through an external server:
define(`SMART_HOST',`[myserver]')
dnl# No timeout for ident:
define(`confTO_IDENT', `0')dnl
dnl# Enable the line below to use smrsh to restrict what sendmail can run:
dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
dnl# See the README in /usr/share/sendmail/cf for a ton of information on
dnl# how these options work:
FEATURE(`authinfo',`hash -o /etc/mail/authinfo.db')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> /etc/mail/access')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`redirect')dnl
dnl# Turn this feature on if you don't always have DNS, or enjoy junk mail:
dnl FEATURE(`accept_unresolvable_domains')dnl
EXPOSED_USER(`root')dnl
dnl# Also accept mail for localhost.localdomain:
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
Cwlocalhost.localdomain