Date: Sun, 23 Feb 2003 16:54:44 +0100 (CET) From: "Gernot A. Weber" <gernot.weber@quantumnet.de> To: freebsd-questions@freebsd.org Subject: sendmail auth problems Message-ID: <20030223165421.B33435@homer.quantumnet.de>
next in thread | raw e-mail | index | archive | help
Hi,
I tried to configure sendmail to send my mail over a smtp-relayserver
which needs authentification. As it is described in the handbook, I
installed cyrus-sasl and rebuilt sendmail.
I added:
dnl set SASL options
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl
to my .mc-file and created /etc/mail/auth-info containing:
login
login
password
relay-server
and did a chmod 600...
Starting sendmail gave me:
Feb 23 14:54:03 homer sm-mta[32122]: error: safesasl(/usr/local/etc/sa
sldb) failed: Group readable file
Feb 23 14:54:03 homer sm-mta[32123]: starting daemon (8.12.6): SMTP+qu
eueing@00:30:00
Feb 23 14:54:03 homer sm-msp-queue[32129]: starting daemon (8.12.6): q
ueueing@00:30:00
in /var/log/maillog - so I added
define(`confDONT_BLAME_SENDMAIL', `GroupReadableSASLDBFile')dnl
to sendmail.mc, which ended up in:
Feb 23 14:56:12 homer sm-mta[32226]: error: safesasl(/usr/local/etc/sa
sldb) failed: Permission denied
Feb 23 14:56:12 homer sm-mta[32227]: starting daemon (8.12.6): SMTP+qu
eueing@00:30:00
As far as I know I don't really need sasldb to authenticate to a server,
so I added an extra line in mailertable to test the relaying.
Sending an e-mail to my work address ended up in:
stat=User unknown
Off course this user isn't known on the relay server. But what's wrong
with my config?
Thanks,
Gernot
--
Gernot A. Weber
http://www.tux-web.de
gernot@quantumnet.de
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030223165421.B33435>
