On 2008-01-05 11:18, Andrew Falanga <[EMAIL PROTECTED]> wrote: > Wanted to post the contents of my <hostname>.mc file: > > whitbap# cat whitbap.mc > [...] > FEATURE(`no_default_msa') > MAILER(local) > MAILER(smtp)
This part seems ok. > dnl set SASL options > dnl TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl > dnl define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl > define(`confAUTH_MECHANISMS',`PLAIN LOGIN')dnl > TRUST_AUTH_MECH(`PLAIN LOGIN')dnl > define(`CERT_DIR', `/etc/mail/certs')dnl > define(`confCACERT_PATH', `CERT_DIR')dnl > define(`confCACERT', `CERT_DIR/whitbap_cert.pem')dnl > define(`confSERVER_CERT', `CERT_DIR/whitbap_cert.pem')dnl > define(`confSERVER_KEY', `CERT_DIR/whitbap_key.pem')dnl > define(`confCLIENT_CERT', `CERT_DIR/whitbap_cert.pem')dnl > define(`confCLIENT_KEY', `CERT_DIR/whitbap_key.pem')dnl > DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl > DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA')dnl But I'm not sure it is a good idea to keep options like these *AFTER* the MAILER() macros. The `README' file of Sendmail's macros says: % Beware: MAILER declarations should only be followed by LOCAL_* % sections. The general rules are that the order should be: % % VERSIONID % OSTYPE % DOMAIN % FEATURE % local macro definitions % MAILER % LOCAL_CONFIG % LOCAL_RULE_* % LOCAL_RULESETS % % There are a few exceptions to this rule. Local macro definitions which % influence a FEATURE() should be done before that feature. For example, % a define(`PROCMAIL_MAILER_PATH', ...) should be done before % FEATURE(`local_procmail'). You can read the entire `README' file at: /usr/share/sendmail/cf/README But first give it a try, and move the last part of your *.mc file before the MAILER() macro calls. - Giorgos _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"