Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37567332
en ru br
Репозитории ALT
S:8.18.0-alt0.Alpha2
5.1: 8.14.4-alt0.M51.1
4.1: 8.14.4-alt0.M41.1
4.0: 8.14.4-alt0.M40.1
3.0: 8.13.4-alt3
+updates:8.13.8-alt1.M30.1
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: sendmail

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

divert(-1)
dnl This is the macro config file used to generate the /etc/sendmail.cf
dnl file. If you modify the file you will have to regenerate the
dnl /etc/sendmail.cf by running this macro config through the m4
dnl preprocessor:
dnl
dnl m4 real-time.mc > /etc/mail/sendmail.cf
dnl
dnl You will need to have the sendmail-cf package installed for this to
dnl work.
include(`@@PATH@@/m4/cf.m4')dnl
dnl define(`confDEF_USER_ID',``8:12'')dnl
OSTYPE(`linux')dnl
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
dnl define(`confCOPY_ERRORS_TO', `mailerror')dnl
dnl define(`confDOUBLE_BOUNCE_ADDRESS', `bounceerror')dnl
dnl define(`confAUTO_REBUILD')dnl
define(`confMAX_DAEMON_CHILDREN',`500')dnl
define(`confALIAS_WAIT', `30')dnl
define(`confTO_CONNECT', `2m')dnl
define(`confTO_ACONNECT', `6m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`confPID_FILE', `/var/run/sendmail/sendmail.pid')
define(`QUEUE_DIR',`/var/spool/mqueue/queue*')dnl
FEATURE(`limited_masquerade')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(mailertable)dnl
VIRTUSER_DOMAIN_FILE(`/etc/mail/virtuserdomains')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(`access_db')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`ratecontrol')dnl
FEATURE(`conncontrol')dnl
FEATURE(`delay_checks', FRIEND)dnl
dnl -------- hack & feature collection of Victor Ustugov
dnl see README.corvax.* for more information
dnl HACK(`cfhead')dnl
dnl HACK(`check_helo')dnl
dnl HACK(`check_relay_dialup')dnl
dnl define(`confCHECK_RELAY_DIALUP', `CLIENT_PTR')dnl
dnl
dnl *** be carefully ***
dnl You SHOULD specify contact instructions in error's explanatory message.
dnl It can be a URL if instructions too big.
dnl
dnl HACK(`check_relay_dialup_regex',``^(.+[\.\-])?(adsl|isdn|xdsl|cable|client|dhcp|dial|dial-in|dial-up|dialup|dsl|dyn|dynamic|dyndsl|pool|pooles|ppp|user)[\.\-_0-9].+'',
dnl ``550 Access from dsl/dial-up/cable relays denied, use SMTP of your provider. regexp 00, "''$&{client_ptr}``" ["''$&{client_addr}``"]'')dnl
dnl HACK(`check_relay_dialup_regex',``[0-9]{1,3}[-\.][0-9]{1,3}[-\.][0-9]{1,3}[-\.][0-9]{1,3}[-\.]'',
dnl ``550 Access from dsl/dial-up/cable relays denied, use SMTP of your provider. regexp 01, "''$&{client_ptr}``" ["''$&{client_addr}``"]'')dnl
dnl HACK(`check_relay_dialup_regex',``(dial-user|^adsl-|adsl-pool|[A-F0-9]{14})'',
dnl ``550 Access from dsl/dial-up/cable relays denied, use SMTP of your provider. regexp 02, "''$&{client_ptr}``" ["''$&{client_addr}``"]'')dnl
dnl -------- blacklists configuration ----------
dnl -- mail-abuse.org
dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `Rejected - see http://www.mail-abuse.org/rbl/')dnl
dnl FEATURE(dnsbl, `dialups.mail-abuse.org', `Dialup - see http://www.mail-abuse.org/dul/')dnl
dnl FEATURE(dnsbl, `relays.mail-abuse.org', `Open spam relay - see http://www.mail-abuse.org/rss/')dnl
dnl -- rfc-ignorant.org
dnl FEATURE(rhsbl,`bogusmx.rfc-ignorant.org',`"550 Mail from domain " $`'&{RHS} " refused. MX of your domain have a bogus address - see http://www.rfc-ignorant.org/"')
dnl FEATURE(rhsbl,`dsn.rfc-ignorant.org',`"550 Mail from domain " $`'&{RHS} " refused. MX of domain do not accept bounces. This violates RFC 821/2505/2821 - see http://www.rfc-ignorant.org/"')
dnl FEATURE(rhsbl,`postmaster.rfc-ignorant.org',`"550 Mail from domain " $`'&{RHS} " refused. MX of domain does not have a workingpostmaster address - see http://www.rfc-ignorant.org/"')
dnl FEATURE(rhsbl,`abuse.rfc-ignorant.org',`"550 Mail from domain " $`'&{RHS} " refused. MX of domain does not have a working abuse address - see http://www.rfc-ignorant.org/"')
dnl ** Attention ! Some whois services data (for example RU Center)
dnl ** is not correspond with whois.rfc-ignorant.org policy !
dnl FEATURE(rhsbl,`whois.rfc-ignorant.org',`"550 Mail from domain " $`'&{RHS} " refused. Rejected for bad WHOIS info on your domain - see http://www.rfc-ignorant.org/"')
dnl FEATURE(dnsbl,`ipwhois.rfc-ignorant.org',`"550 Mail from " $&{client_addr} " refused. Rejected for bad WHOIS info on IP of your SMTP server - see http://www.rfc-ignorant.org/"')
dnl -------- blacklists configuration end ------
dnl
dnl If you have AMaViS and want to do virus scanning, comment out the
dnl FEATURE(local_procmail) line, and uncomment these:
dnl define(`LOCAL_MAILER_PATH',`/usr/sbin/scanmails')dnl
dnl define(`LOCAL_MAILER_ARGS',`scanmails -Y -a $h -d $u')dnl
dnl
dnl If you want to deliver locally using procmail, use the below:
FEATURE(local_procmail)dnl
dnl
dnl Uncomment below to set up authentication information file
dnl define(`confDEF_AUTH_INFO', `/etc/mail/default-auth-info')dnl
dnl
dnl Next two lines are for SMTP Authentication
dnl TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
dnl define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
dnl
dnl Next four lines are for StartTLS Support
dnl define(`confCACERT_PATH', `/etc/ssl/certs')dnl
dnl define(`confCACERT', `/etc/ssl/certs/sendmail.ca')dnl
dnl define(`confSERVER_CERT', `/etc/ssl/certs/sendmail.crt')dnl
dnl define(`confSERVER_KEY', `/etc/ssl/certs/sendmail.key')dnl
dnl
dnl Next line stops sendmail from allowing auth without encryption
dnl define(`confAUTH_OPTIONS', `Ap')dnl
dnl
dnl Uncomment next lines to hide identity of mail server
dnl define(`confPRIVACY_FLAGS',`goaway')dnl
dnl define(`confSMTP_LOGIN_MSG', `$j server ready at $b')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
dnl
dnl ------- Milter filters ------
dnl define(`_FFR_MILTER',1)dnl
dnl define(`confDONT_BLAME_SENDMAIL',`GroupWritableDirPathSafe')dnl
dnl define(`confMILTER_LOG_LEVEL',`9')dnl
dnl
dnl define(`confMILTER_MACROS_CONNECT',confMILTER_MACROS_CONNECT`, i')dnl Need for: milter-clamav
dnl define(`confMILTER_MACROS_EOM', confMILTER_MACROS_EOM`, s')dnl Need for: milter-clamav
dnl INPUT_MAIL_FILTER(`milter-regex',`S=local:/var/run/milter-regex/milter-regex.sock, T=C:15s;S:30s;R:180s;E:1m')dnl
dnl INPUT_MAIL_FILTER(`milter-verify_sender',`S=local:/var/run/verify_sender/verify_sender.sock, T=C:15s;S:30s;R:1m;E:1m')dnl
dnl INPUT_MAIL_FILTER(`milter-clamav', `S=local:/var/run/clamav/clmilter.sock, T=C:15s')dnl
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin