default.mc

divert(-1)

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 gshapiro Exp $‘)
OSTYPE(freebsd5)
DOMAIN(generic)

dnl  ## define(`confLOG_LEVEL‘, `20′)

dnl ### Features
FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access‘)
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable‘)
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable‘)
FEATURE(limited_masquerade)
FEATURE(always_add_domain)
FEATURE(nocanonify)
FEATURE(use_cw_file)
FEATURE(no_default_msa)


dnl ###general Options
define(`confCW_FILE‘,`/etc/mail/sendmail.cw‘)
define(`confDONT_BLAME_SENDMAIL‘, `groupwritabledirpathsafe‘)
define(`confLOCAL_MAILER‘, `cyrusv2′)
define(`confTRUSTED_USERS‘, `www‘)
define(`ALIAS_FILE‘,`/etc/mail/aliases‘)
define(`confMAX_MESSAGE_SIZE‘, `104857600′)
define(`confQUEUE_LA‘,`6′)dnl
define(`confREFUSE_LA‘,`99′)dnl
define(`confTO_CONNECT‘,`1m‘)dnl
define(`confQUEUE_SORT_ORDER‘,`priority‘)
define(`confBIND_OPTS‘, `WorkAroundBrokenAAAA‘)
define(`confNO_RCPT_ACTION‘, `add-to-undisclosed‘)
define(`confPRIVACY_FLAGS‘, `authwarnings,noexpn,novrfy‘)
dnl ###
dnl ### TUNING
dnl ###
dnl ### http://www.sendmail.org/m4/tweaking_config.html
dnl ### http://docs.sun.com/app/docs/doc/806-4076/6jd6amr5n?a=view

dnl ### damit der server nicht sofort auslastet, wenn die queue abgearbeitet wird
dnl ### This new option limits the number of concurrently active queue-runner processes
dnl ### to the number that is specified in the argument. The option helps to limit the
dnl ### system resources that are used when the queue is processed. When the total number
dnl ### of queue runners for multiple queue groups exceeds the defined argument, the
dnl ###  remaining queue groups are run later.
dnl ### ich reduzier jetzt mal von 10 auf 5 / 04.01.11
dnl ### ich reduzier jetzt mal von 5 auf 3 / 18.01.11
define(`confMAX_QUEUE_CHILDREN‘, `3′)

dnl #### maximum number of queue-runners per queue-grouping with multiple queues
dnl ### This new option specifies the maximum number of queue runners per queue group.
dnl ### The queue runners work in parallel on a queue group’s messages, which is useful
dnl ### when the processing of a message might delay the processing of subsequent messages.
dnl ### mit queue runner 2 und max children 10, haemmer 2×10 prozaess maximal. also 20
dnl ### wichtig, runners > 1, falls eine mail addi drunter ist, die alles blockiert.
dnl ### 2 queues gleichzeitig geht schon. wenn nichts definiert ist, laufen teilweise
dnl ### 3-4 runners gleichzeitig
define(`confMAX_RUNNERS_PER_QUEUE‘, `2′)


dnl ### Auth Stuff
define(`confAUTH_MECHANISMS‘, `LOGIN PLAIN DIGEST-MD5 CRAM-MD5′)
TRUST_AUTH_MECH(`LOGIN PLAIN DIGEST-MD5 CRAM-MD5′)

dnl ### Daemon Options
DAEMON_OPTIONS(`Port=smtp, Name=MTA‘)
DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea‘)
DAEMON_OPTIONS(`Family=inet, Port=smtps, Name=MTA-SSL, M=s‘)

dnl ### SSL Zeug
define(`CERT_DIR‘, `/etc/mail/certs‘)dnl
define(`confCACERT_PATH‘, `CERT_DIR‘)dnl
define(`confCACERT‘, `CERT_DIR/cacert.pem‘)dnl
define(`confSERVER_CERT‘, `CERT_DIR/mycert.pem‘)dnl
define(`confSERVER_KEY‘, `CERT_DIR/mycert.pem‘)dnl
define(`confCLIENT_CERT‘, `CERT_DIR/mycert.pem‘)dnl
define(`confCLIENT_KEY‘, `CERT_DIR/mycert.pem‘)dnl
define(`confCRL‘, `CERT_DIR/revocation.list‘)dnl

dnl ### Blacklists
dnl ####FEATURE(`dnsbl‘,`sbl-xbl.spamhaus.org‘,`“550 SPAM MAIL REJECTED from „$&{client_name}“! Please see http://www.spamhaus.org/sbl for details.'“)dnl
dnl ### vorübergehend deaktiviert. kommt eine fehlermeldung. aber ordb.org ist down…
dnl ####FEATURE(`dnsbl‘,`relays.ordb.org‘, `“550 E-Mail rejected due to sending server misconfiguration – see http://www.ordb.org/faq/\#why_rejected“‚)dnl


FEATURE(`dnsbl‘,`bl.spamcop.net‘, `“Spam blocked see: http://spamcop.net/bl.shtml?“$&{client_addr}‘, `t‘)dnl
FEATURE(`dnsbl‘,`dsn.rfc-ignorant.org‘,`550 You do not accept bounces – http://www.rfc-ignorant.org/‘)dnl
FEATURE(`enhdnsbl‘, `wormrbl.imp.ch‘, `451 tempfail – see http://antispam.imp.ch/03-wormlist.html
        $&{client_addr} is infected with a virus or worm !‘, `t‘, `127.0.0.5.‘)
FEATURE(`enhdnsbl‘, `spamrbl.imp.ch‘, `451 tempfail – see http://antispam.imp.ch/04-spamlist.html
        $&{client_addr} has sent spam and may be a possible spamsource!‘, `t‘, `127.0.0.5.‘)

dnl ## F=T heisst, dass sendmail jede connection „tempfailen“ soll, falls filter not available
dnl ## Wenn Sendmail einfach ignorieren soll, ob der milter erreichbar ist oder nicht, kann man
dnl ## die Zeile „F=T, “ einfach vom MAIL_FILTER entfernen. Dann wird Sendmail die Mails so
dnl ## verarbeiten, als wäre einfach kein Milter installiert während er nicht erreichbar ist.

define(`MILTER‘,1)
INPUT_MAIL_FILTER(`relaydelay‘, `S=local:/var/run/relaydelay.sock, T=S:1m;R:2m;E:3m‘)dnl
INPUT_MAIL_FILTER(`mimedefang‘, `S=local:/var/spool/MIMEDefang/mimedefang.sock, T=C:15m;S:4m;R:4m;E:10m‘)dnl
INPUT_MAIL_FILTER(`dkim-filter‘, `S=unix:/var/run/milterdkim/filter, F=T, T=R:2m‘)dnl
dnl ### INPUT_MAIL_FILTER(`dk-filter‘, `S=unix:/var/run/milterdk/filter, F=T, T=R:2m‘)dnl


divert(-1)

dnl ### Mailers
MAILER(`local‘)
MAILER(`smtp‘)
MAILER(`cyrusv2′)

  • *

    Du kannst diese HTML tags verwenden: <a> <abbr> <acronym> <b> <blockquote> <cite> <code> <del> <em> <i> <q> <s> <strike> <strong>

  • Kommentar-Feed für diesen Beitrag
nach oben