From: "Вадим Илларионов" <master@nstel.ru> To: sysadmins@lists.altlinux.org Subject: Re: [Sysadmins] spam troubles Date: Thu, 19 Jun 2008 23:12:08 +0400 Message-ID: <g3eb2c$q2o$1@ger.gmane.org> (raw) In-Reply-To: <485A4951.8070905@iop.kiev.ua> Andrii Dobrovol`s`kii wrote: > Вадим Илларионов пишет: >>> Есть адрес, при поступлении на который почты она пересылается всем >>> пользователям. Это только для внутреннего употребления. >>> Как закрыть на него приём почты извне, чтобы внутренняя ходила >>> по-прежнему? >> Спасибо, нашёл. :) >> Извините за внимание... > Ну так Вы бы уже заодно и зафиксировали для истории... Да ведь прям с оттудовного фака: http://www.postfix.org/RESTRICTION_CLASS_README.html Protecting internal email distribution lists We want to implement an internal email distribution list. Something like all@our.domain.com, which aliases to all employees. My first thought was to use the aliases map, but that would lead to "all" being accessible from the "outside", and this is not desired... :-) Postfix can implement per-address access controls. What follows is based on the SMTP client IP address, and therefore is subject to IP spoofing. /etc/postfix/main.cf: smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/access ...the usual stuff... /etc/postfix/access: all@my.domain permit_mynetworks,reject all@my.hostname permit_mynetworks,reject Вот. Ифсио... _________________________________ С уважением, Вадим Илларионов системный администратор ООО "Новые Системы Телеком" UIN: 7899517 JID: master at usib dot irkps dot ru Телефоны: - рабочий +7 495 6414045+5885 - мобильный +7 916 3889337
prev parent reply other threads:[~2008-06-19 19:12 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-06-19 9:23 Вадим Илларионов 2008-06-19 9:46 ` Вадим Илларионов 2008-06-19 11:56 ` Andrii Dobrovol`s`kii 2008-06-19 19:12 ` Вадим Илларионов [this message]
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='g3eb2c$q2o$1@ger.gmane.org' \ --to=master@nstel.ru \ --cc=sysadmins@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 sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git