>I hate to drag this up again but spamlover is not the only one not
>getting passed through. abuse@ and the others are also involved.
>
>my to_recipients_bw.map has:
>
>abuse@ ok
>hostmaster@ ok
>info@ ok
>marketing@ ok
>news@ ok
>noc@ ok
>postmaster@ ok
>sales@ ok
>security@ ok
>support@ ok
>webmaster@ ok
>
>[EMAIL PROTECTED] OK

you don't have a :

tulsa.com 554

???


>main.cf:
>
>smtpd_recipient_restrictions =
>  reject_unauth_pipelining,
>  reject_non_fqdn_sender,
>  reject_non_fqdn_recipient,
>  reject_unknown_recipient_domain,
>  check_recipient_access hash:/etc/postfix/to_recipients_bw.map, <<<

you're already in "recipient", don't need :

check_recipient_access hash:/etc/postfix/to_recipients_bw.map

... just:

hash:/etc/postfix/to_recipients_bw.map,

>I also tried:
>  check_client_access hash:/etc/postfix/to_recipients_bw.map,   <<<

well, that's clearly wrong, remove it.

>It still gets blocked.
>
>Any help would greatly be appreciated. I am obviously missing something.

me, too. I had exactly the same problem yesterday, and I bet it's a RTFM or 
README issue. but I can't find it.

I had my

to_recipients_bw.map with

root@  ok
domain.com 554 ACL to_recipients_bw unknown user

and it kept getting blocked by the 554, until I did full address:

[EMAIL PROTECTED]

and that came through.

man 5 access :

EMAIL ADDRESS PATTERNS
        With lookups from indexed files such as DB or DBM, or from
        networked tables such as NIS, LDAP or SQL,  the  following
        lookup patterns are examined

 >>>>>>>>>>  in the order as listed:

        user@domain
               Matches the specified mail address.

        domain.tld
               Matches  domain.tld  as the domain part of an email
               address.

               The pattern domain.tld also matches subdomains, but
               only when the string smtpd_access_maps is listed in
               the Postfix  parent_domain_matches_subdomains  con-
               figuration setting.  Otherwise, specify .domain.tld
               (note the initial dot) in  order  to  match  subdo-
               mains.

 >>>>>  user@  Matches  all mail addresses with the specified user
               part.

damn, I see my error. it looks for "domain.com" before  "user@"

I was pretty sure the order was

[EMAIL PROTECTED]
user@
domain.com

I wonder if that has changed?

ok, this means you can't use only user@ if you also put a domain.com.

If you leave off the domain.com, then postfix will reject with a generic 
msg, when you probably want to put your own 554 text. oh well.

Len


Reply via email to