Re: sendmail sasl configuration

From: Sean Ellis (sellis_at_telus.net)
Date: 08/23/03

  • Next message: Marco Gonçalves: "Re: php security"
    Date: Sat, 23 Aug 2003 11:48:32 -0700
    To: "Scot W. Hetzel" <hetzelsw@westbend.net>
    
    

    >> and the following log error appears when restarting sendmail:
    >>
    >> error: safesasl(/usr/local/etc/sasldb.db) failed: Permission denied
    >>
    > Do you have "define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl"
    > in your *.mc file?
    >> file is:
    >>
    >> -rw-r----- 1 cyrus wheel 16384 Aug 22 17:23 /usr/local/etc/sasldb.db
    >>
    >> sendmail.mc options were taken from the freebsd handbook page on the
    >> topic.
    >>
    >> Can anyone steer me in the right direction here?
    >>
    > The group listed on your sasldb.db file is wrong, it should be group mail
    > instead of group wheel.

    I changed that. Now it's

    -rw-r----- 1 root mail 16384 Aug 22 17:23 /usr/local/etc/sasldb.db

    with the following sendmail.mc entries:

    dnl set SASL options
    define(`confRUN_AS_USER',`root:mail')dnl
    define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl
    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

    > Have you read /usr/local/share/doc/cyrus-sasl/Sendmail.README?

    I've just ran through that now, but I'm still getting the same error.

    >What do you have in /etc/mail/auth-info? Is that set up correctly?

    not set up

    -- 
     Sean                            mailto:sellis@telus.net
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Marco Gonçalves: "Re: php security"