From: Boris Gulay <boris@boressoft.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: [Comm] DKIM для локальных сообщение (подробнее) Date: Mon, 30 Jan 2012 15:55:22 +0400 Message-ID: <4F26852A.2030105@boressoft.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 2534 bytes --] Итак, повторю вопрос. Есть postfix + amavisd-new. Последний подписывает исходящие сообщения и проверяет входящие. Проблема: сообщения, отправленные через sendmail не подписваются. При этом, почта, отправленная через SMTPS и SUBMISSION подписывается отлично. Конфиги. Вот интересный кусок из main.cf smtpd_delay_reject = yes smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks, reject_invalid_helo_hostname, reject_unknown_helo_hostname, permit smtpd_client_restrictions = permit_sasl_authenticated, sleep 1, reject smtpd_sender_restrictions = reject_unknown_sender_domain, reject_sender_login_mismatch, check_sender_access regexp:/etc/postfix/FILTER-tag_as_originating.re, permit smtpd_recipient_restrictions = permit_auth_destination, permit_sasl_authenticated, sleep 1, reject smtpd_data_restrictions = reject_unauth_pipelining, permit Содержимое файла /etc/postfix/FILTER-tag_as_originating.re: /^/ FILTER amavisfeed:[127.0.0.1]:10026 А вот интересный кусок конфига из master.cf: # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - - - - smtpd # -o content_filter=filter:spamcheck -o smtpd_tls_security_level=may -o smtpd_sasl_auth_enable=no -o smtpd_client_restrictions=reject_unknown_client_hostname,permit -o smtpd_sender_restrictions=reject_unknown_sender_domain,permit -o content_filter=amavisfeed:[127.0.0.1]:10024 submission inet n - - - - smtpd -o smtpd_tls_security_level=may # -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING -o content_filter=amavisfeed:[127.0.0.1]:10026 smtps inet n - - - - smtpd -o smtpd_tls_wrappermode=yes # -o smtpd_sasl_auth_enable=yes # -o milter_macro_daemon_name=ORIGINATING -o content_filter=amavisfeed:[127.0.0.1]:10026 [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 260 bytes --]
next reply other threads:[~2012-01-30 11:55 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-01-30 11:55 Boris Gulay [this message] 2012-01-31 14:36 ` Boris Gulay
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4F26852A.2030105@boressoft.ru \ --to=boris@boressoft.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git