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
[EMAIL PROTECTED]:30:00
Feb 23 14:54:03 homer sm-msp-queue[32129]: starting daemon (8.12.6): q
[EMAIL PROTECTED]: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
[EMAIL PROTECTED]: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
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message