On Friday, August 29, 2008 at 17:52 CEST,
     [EMAIL PROTECTED] wrote:

> I am getting hit hard with email that has "From" that appears like this:
> 
> [EMAIL PROTECTED] - where XXX is a random number such as:
> 
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 
> I currently have in my main.cf:
> 
> smtpd_sender_restrictions =
>         reject_unauth_pipelining,
>         reject_unknown_sender_domain,
>         reject_non_fqdn_sender,
>         check_recipient_access dbm:/etc/postfix/access
> 
> Would the best place be an entry in access such as:
> 
> [EMAIL PROTECTED]    REJECT
> 
> Would this work?

No, because wildcards are not supported in dbm lookup tables
(see access(5)). Use regexp or (preferably) pcre instead.
See regexp_table(5) and pcre_table(5). Example for the latter:

/[EMAIL PROTECTED]/  REJECT

Do not start new topics by replying to old messages in old and
unrelated threads. Do use the "compose new message" feature of
your MUA.

-- 
Magnus Bäck
[EMAIL PROTECTED]

Reply via email to