For When You Can't Have The Real Thing
[ start | index | login ]
start > cyrus > imap > sendmail > sendmail-sasl-tls.mc

sendmail-sasl-tls.mc

Created by dave. Last edited by dave, 14 years and 236 days ago. Viewed 1,641 times. #3
[diff] [history] [edit] [rdf]
labels
attachments
This sendmail.mc controls the sendmail listening on port 587. It does mandatory SMTP-AUTH (and optionally TLS) connections.

VERSIONID(`$Revision: 1.1 $')
OSTYPE(linux)
DOMAIN(generic)

dnl MASQUERADE_AS(`gridway.net')

FEATURE(use_ct_file) FEATURE(use_cw_file) dnl FEATURE(always_add_domain) dnl FEATURE(allmasquerade) dnl FEATURE(masquerade_envelope) FEATURE(accept_unresolvable_domains) FEATURE(access_db) FEATURE(mailertable) FEATURE(virtusertable) VIRTUSER_DOMAIN_FILE(`/etc/mail/virtual-domain-names') FEATURE(blacklist_recipients)

FEATURE(no_default_msa) DAEMON_OPTIONS(`Addr=142.46.200.221, Port=587, Name=MSA, M=Ea') TRUST_AUTH_MECH(`PLAIN LOGIN') define(`confAUTH_MECHANISMS', `PLAIN LOGIN')

define(`confME_TOO', `True') define(`confBIND_OPTS', `+AAONLY') define(`confTO_IDENT',0s) define(`LOCAL_MAILER_PATH', `/usr/bin/mail') define(`LOCAL_MAILER_FLAGS', `lsDFMAw5:/|@q') define(`LOCAL_MAILER_ARGS', `/usr/bin/mail -d $u')

define(`confCACERT_PATH', `/usr/share/ssl/certs')dnl define(`confCACERT', `/usr/share/ssl/certs/ca-bundle.crt')dnl define(`confSERVER_CERT', `/usr/share/ssl/certs/sendmail.pem')dnl define(`confSERVER_KEY', `/usr/share/ssl/certs/sendmail.pem')dnl define(`confCLIENT_CERT', `/usr/share/ssl/certs/sendmail.pem')dnl define(`confCLIENT_KEY', `/usr/share/ssl/certs/sendmail.pem')dnl define(`confLOCAL_MAILER', `cyrusv2')dnl

INPUT_MAIL_FILTER(`mimedefang', `S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:60s;R:60s;E:5m')

MAILER(local) MAILER(smtp) MAILER(`cyrusv2')

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt