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

sendmail-ssmtp.mc

Created by dave. Last edited by dave, 20 years and 6 days ago. Viewed 2,799 times. #1
[edit] [rdf]
labels
attachments
This sendmail.mc file controls the sendmail listening on port 465. It does SMTP-AUTH, and SSMTP (also known as Sendmail-over-ssl). The preferred way of doing this is the SMTP-AUTH with TLS option, but Microsoft prefers this way. All sessions done through this port will be transport-encrypted.
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=465, Name=SSA, M=Eas') TRUST_AUTH_MECH(`PLAIN LOGIN') define(`confAUTH_MECHANISMS', `PLAIN LOGIN') define(`confAUTH_OPTIONS', `A,p,y')

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(`confLOCAL_MAILER', `cyrusv2')dnl

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

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