|
|||||
| | |||||
requires sasl and STARTTLS. make they are compiled in with sendmail -d0.1 -bv.
the following is pretty much redhat specific.
It looks as if all that's needed is TLS not settings such as
|
i have a problem with my sendmail 8.12.9 configuration under redhat 7.2, which means i was not able to stop the server from relaying third party mail. i use STARTTLS and SMTP AUTH for relaying mails from my roaming users, other users are only able to send to local users. but it does not seem to work, or let's say: i must have made a mistake somewhere.
define(`ALIAS_FILE', `/etc/aliases')dnl define(`UUCP_MAILER_MAX', `2000000')dnl define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl define(`CERT_DIR',`/usr/share/ssl/certs')dnl define(`confCACERT_PATH',`CERT_DIR')dnl define(`confCACERT',`CERT_DIR/ca-bundle.crt')dnl define(`confSERVER_CERT',`CERT_DIR/[edited].pem')dnl define(`confSERVER_KEY',`CERT_DIR/[edited]l.pem')dnl define(`confCLIENT_CERT',`CERT_DIR/[edited].pem')dnl define(`confCLIENT_KEY',`CERT_DIR/[edited].pem')dnl define(`confTLS_SRV_OPTIONS',`V')dnl define(`confAUTH_OPTIONS', `p,y')dnl define(`confAUTH_MECHANISMS', `PLAIN LOGIN')dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `Rejected - see [url]http://www.mail-abuse.org/rbl/[/url]')dnl FEATURE(dnsbl, `dialups.mail-abuse.org', `Dialup - see [url]http://www.mail-abuse.org/dul/[/url]')dnl FEATURE(dnsbl, `relays.mail-abuse.org', `Open spam relay - see [url]http://work-rss.mail-abuse .org/rss/[/url]')dnl FEATURE(`no_default_msa',`dnl')dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl FEATURE(redirect)dnl FEATURE(always_add_domain)dnl FEATURE(use_cw_file)dnl FEATURE(use_ct_file)dnl FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl FEATURE(`access_db')dnl FEATURE(`blacklist_recipients')dnl FEATURE(`delay_checks')dnl EXPOSED_USER(`root')dnl TRUST_AUTH_MECH(`PLAIN LOGIN')dnl MASQUERADE_AS(`[edited]')dnl FEATURE(`masquerade_entire_domain')dnl FEATURE(`masquerade_envelope')dnl MAILER(smtp)dnl MAILER(procmail)dnl Cwlocalhost.localdomainsource (email)
second example leaves out:
| Leave a Reply |