divert(-1) # # Copyright (c) 1998 Sendmail, Inc. All rights reserved. # Copyright (c) 1983 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # By using this file, you agree to the terms and conditions set # forth in the LICENSE file which can be found at the top level of # the sendmail distribution. # # # # this is the configuration file for dorkzilla.org # created by david l goodrich # based on openbsd-proto.mc. supports cyrus-imapd, # smtp auth, ssmtp, milter-regex, and starttls. # see http://www.dorkzilla.org/~dlg/sendmail/ for details # divert(0)dnl VERSIONID(`@(#)dorkzilla.mc $Revision: 1.3 $') OSTYPE(openbsd) FEATURE(nouucp, `reject') FEATURE(`no_default_msa') LOCAL_DOMAIN(`mail.dorkzilla.org') LOCAL_DOMAIN(`dorkzilla.org') LOCAL_DOMAIN(`evar.us') LOCAL_DOMAIN(`maladjusted.org') dnl dnl sbl-xbl from spamhaus FEATURE(`dnsbl', `sbl-xbl.spamhaus.org', `"571 ACCESS DENIED to <"$&f"> thru "$&{client_name}" by /spamhaus/ ;Please see http://www.spamhaus.org/sbl/'")dnl dnl dnl dnl for cyrus-imapd support. define(`confLOCAL_MAILER', `cyrusv2') MAILER(`cyrusv2') dnl dnl these detail what auth mechs are valid define(`confAUTH_MECHANISMS',`PLAIN LOGIN DIGEST-MD5 CRAM-MD5')dnl TRUST_AUTH_MECH(`PLAIN LOGIN DIGEST-MD5 CRAM-MD5')dnl dnl dnl block PLAIN and LOGIN over unencrypted channels define(`confAUTH_OPTIONS',`p,y')dnl dnl dnl stop VERB EXPN and VRFY commands. define(`confPRIVACY_FLAGS',`authwarnings,goaway') dnl dnl dnl MAILER(local) MAILER(smtp) DAEMON_OPTIONS(`Family=inet, address=0.0.0.0, Name=MTA')dnl DAEMON_OPTIONS(`Family=inet6, address=::, Name=MTA6, M=O')dnl DAEMON_OPTIONS(`Family=inet, address=0.0.0.0, Port=587, Name=MSA, M=E') DAEMON_OPTIONS(`Family=inet6, address=::, Port=587, Name=MSA6, M=O, M=E') CLIENT_OPTIONS(`Family=inet6, Address=::')dnl CLIENT_OPTIONS(`Family=inet, Address=0.0.0.0')dnl dnl DAEMON_OPTIONS(`Family=inet, Port=465, Name=MTA-SSL, M=s')dnl dnl dnl dnl Some broken nameservers will return SERVFAIL (a temporary failure) dnl on T_AAAA (IPv6) lookups. define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl dnl dnl Enforce valid Message-Id to help stop spammers dnl LOCAL_RULESETS HMessage-Id: $>CheckMessageId dnl dnl dnl certificates define(`confCACERT_PATH',`/etc/mail/certs') define(`confCACERT',`/etc/mail/certs/ca-bundle.crt') define(`confSERVER_CERT',`/etc/mail/certs/sendmail.pem') define(`confSERVER_KEY',`/etc/mail/certs/sendmail.pem') dnl dnl dnl dnl regex milter dnl INPUT_MAIL_FILTER(`milter-regex', dnl `S=unix:/var/spool/milter-regex, T=S:30s;R:2m') INPUT_MAIL_FILTER(`mimedefang', `S=unix:/var/spool/MIMEDefang/mimedefang.sock, T=S:1m;R:1m') dnl dnl dnl SCheckMessageId R< $+ @ $+ > $@ OK R$* $#error $: 553 Header Error