From: "Vladimir V. Kamarzin" <vvk@vvk.pp.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] q: postfix, UCE, RCPT TO
Date: Thu, 14 Sep 2006 09:11:47 +0600
Message-ID: <m3k647gn0s.fsf@vvk.distance.ru> (raw)
In-Reply-To: <20060913191636.GA29153@osdn.org.ua> (Michael Shigorin's message of "Wed, 13 Sep 2006 22:16:36 +0300")
>>>>> On 14 Sep 2006 at 01:16 "MS" == Michael Shigorin writes:
MS> Здравствуйте.
MS> Граждане, а поясните тупому -- почему такое не работает?
MS> /^To:.*user1@domain/ OK
MS> /^To:.*user2@domain/ OK
MS> /^To:.*@domain/ DISCARD
MS> /^To:.*info@/ REJECT Sorry, use other means (probably website)
MS> /^To:.*support@/ REJECT Sorry, use other means (probably website)
MS> /^To:.*sales@/ DISCARD
MS> /^To:.*office@/ DISCARD
MS> /^To:.*marketing@/ DISCARD
MS> /^To:.*-.*\..*@/ DISCARD
MS> Бишь я догадываюсь, что
MS> header_checks = regexp:/etc/postfix/header_checks
MS> применяется уже к тушке, а вот как бы на этапе установления
MS> сессии такое учудить?
smtpd_recipient_restrictions = ...
check_recipient_access = regexp:/etc/postfix/bad_rcpt
...
Это если до DATA. После DATA сработает header_checks.
P.S. почему DISCARD в большинстве? Чем тихо дропать, лучше реджектить...
--
vvk
next prev parent reply other threads:[~2006-09-14 3:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-13 19:16 Michael Shigorin
2006-09-14 3:11 ` Vladimir V. Kamarzin [this message]
2006-09-14 14:40 ` Michael Shigorin
2006-09-15 4:16 ` Vladimir V. Kamarzin
2006-09-15 7:08 ` Michael Shigorin
2006-09-15 7:47 ` Vladimir V. Kamarzin
2006-09-15 13:10 ` Michael Shigorin
2006-09-14 8:11 ` Sergei Boudnik
2006-09-14 15:03 ` Michael Shigorin
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=m3k647gn0s.fsf@vvk.distance.ru \
--to=vvk@vvk.pp.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