divert(0)
VERSIONID(`MC file for sendmail. Customized by CityCat')
OSTYPE(linux)
DOMAIN(generic)
FEATURE(access_db)
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(use_ct_file)
FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(nouucp,`reject')
FEATURE(smrsh)
define(`ALIAS_FILE', `/etc/mail/aliases')
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confMAILBOX_DATABASE', `pw')
define(`confREJECT_MSG',`550 Message rejected')
define(`confRELAY_MSG',`550 Third-party relay declined')
define(`confSMTP_LOGIN_MSG',`$j Sendmail (spam and viruseZ check ON!); $b')
define(`confNO_RCPT_ACTION', `add-to')
define(`confMAX_MESSAGE_SIZE',`31457280')
define(`confMAX_MIME_HEADER_LENGTH', `800/400')
define(`confQUEUE_FILE_MODE',`0640')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy,needmailhelo,restrictmailq,restrictqrun,restrictexpand')
define(`confCACERT',`/etc/pki/tls/rootca/subCA-one-merged.pem')
define(`confCLIENT_KEY',`/etc/pki/tls/private/mailsrv.key')
define(`confCLIENT_CERT',`/etc/pki/tls/certs/mailsrv.crt')
define(`confSERVER_KEY',`/etc/pki/tls/private/server.key')
define(`confSERVER_CERT',`/etc/pki/tls/certs/server.crt')
define(`confCRL',`/etc/pki/tls/rootca/subCA-one-pem.crl')
define(`confDH_PARAMETERS',`/etc/pki/tls/private/dhparams.pem')
DAEMON_OPTIONS(`Family=inet,Port=25,Name=MTA')
define(`LOCAL_MAILER_PATH',`[IPC]')
define(`LOCAL_MAILER_ARGS',`FILE /var/run/dovecot/lmtp')
define(`confDONT_BLAME_SENDMAIL',`GroupWritableDirPathSafe,GroupWritableAliasFile')
dnl SMTP AUTH
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
define(`confAUTH_MECHANISMS',`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
MAILER(local)
MAILER(smtp)
LOCAL_CONFIG
O CipherList=kEECDH+AES:kEDH+AES:kRSA+AES:!aNULL:!DSS:!SSLv2
O ServerSSLOptions=+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3 +SSL_OP_CIPHER_SERVER_PREFERENCE
O ClientSSLOptions=+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3
divert(0)
VERSIONID(`MC file for sendmail. Customized by CityCat')
OSTYPE(linux)
DOMAIN(generic)
FEATURE(access_db)
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(use_ct_file)
FEATURE(use_cw_file)
FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
FEATURE(nouucp,`reject')
FEATURE(smrsh)
FEATURE(allmasquerade)
FEATURE(masquerade_envelope)
FEATURE(local_no_masquerade)
MASQUERADE_AS(`blabla.ru')
define(`ALIAS_FILE', `/etc/mail/aliases')
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl
define(`confMAILBOX_DATABASE', `pw')dnl
define(`confREJECT_MSG',`550 Message rejected')dnl
define(`confRELAY_MSG',`550 Third-party relay declined')dnl
define(`confSMTP_LOGIN_MSG',`$j Sendmail (spam and viruseZ check ON!); $b')
define(`confNO_RCPT_ACTION', `add-to')
define(`confMAX_MESSAGE_SIZE',`31457280')
define(`confMAX_MIME_HEADER_LENGTH', `800/400')
define(`confQUEUE_FILE_MODE',`0640')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy,needmailhelo,restrictmailq,restrictqrun,restrictexpand')
define(`confMAX_RCPTS_PER_MESSAGE',`40')
define(`confTO_IDENT',`0')
define(`confHELO_NAME',`proxy.blabla.ru')
dnl These defines switch on OpenDKIM mail filter
INPUT_MAIL_FILTER(`opendkim', `S=local:/var/run/opendkim/opendkim.sock')
define(`confINPUT_MAIL_FILTERS', `opendkim')
dnl SSL options
define(`confCACERT',`/etc/pki/tls/rootca/subCA-one-merged.pem')
define(`confCACERT_PATH',`/etc/pki/tls/certs')
define(`confCLIENT_KEY',`/etc/pki/tls/private/client.key')
define(`confCLIENT_CERT',`/etc/pki/tls/certs/client.crt')
define(`confSERVER_KEY',`/etc/pki/tls/private/server.key')
define(`confSERVER_CERT',`/etc/pki/tls/certs/server.crt')
define(`confCRL',`/etc/pki/tls/rootca/subCA-one-pem.crl')
dnl Encrypting options
define(`confDH_PARAMETERS',`/etc/pki/tls/private/dhparams.pem')
define(`confCIPHER_LIST',`kEECDH+AES:kEDH+AES:kRSA+AES:!aNULL:!DSS:!SSLv2')
define(`confSERVER_SSL_OPTIONS',`+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3 +SSL_OP_CIPHER_SERVER_PREFERENCE')
define(`confCLIENT_SSL_OPTIONS',`+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3')
dnl Per-session SSL options
FEATURE(`tls_session_features')
DAEMON_OPTIONS(`Family=inet,Port=25,Name=MTA')
define(`LOCAL_MAILER_PATH',`[IPC]')
define(`LOCAL_MAILER_ARGS',`FILE /var/run/dovecot/lmtp')
define(`confDONT_BLAME_SENDMAIL',`GroupWritableDirPathSafe')
dnl SMTP AUTH
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
define(`confAUTH_MECHANISMS',`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')
MAILER(local)
MAILER(smtp)
dnl LOCAL_CONFIG
dnl O CipherList=kEECDH+AES:kEDH+AES:kRSA+AES:!aNULL:!DSS:!SSLv2
dnl O ServerSSLOptions=+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3 +SSL_OP_CIPHER_SERVER_PREFERENCE
dnl O ClientSSLOptions=+SSL_OP_NO_SSLv2 +SSL_OP_NO_SSLv3
5) Вот как раз в этом вопрос, не нашел где сендмейл почту хранит(если вообще хранит, smtp вроде для отправки служит)
define(`LOCAL_MAILER_PATH',`[IPC]')
define(`LOCAL_MAILER_ARGS',`FILE /var/run/dovecot/lmtp')
MAILER(local)
MAILER(smtp)