Thank you for taking your time to reply Wietse,

I might have been a bit ambiguous about my problem.
I know how to whitelist inbound u...@domain.com while rejecting the all
other inbound from @domain.com

My problem is:

domainA.com is an external domain
domainB.com is a domain hosted on my server.

I REJECT all users of domainA.com from sending email to one of my domains,
domainB.com
domainA.com REJECT


But, one user on domainB.com wants to receive email from any user on
domainA.com
This is the part where I am lost in reading the manual: allowing all email
from domainA.com to domainB.com, but only for a certain user account on
domainB.com.

Thank you.



Razvan Constantin

-----Original Message-----
From: owner-postfix-us...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema
Sent: Thursday, February 05, 2015 3:38 PM
To: Postfix users
Subject: Re: Reject domain but allow inbound for a local user

Inteq Solution - Dep. Tehnic:
> somedomain.com           REJECT
> Is there any way to REJECT a domain but allow inbound messages to a 
> specific local user from the rejected domain?

    u...@example.com    DUNNO
    example.com         REJECT

If in doubt, RFTM:

ACCESS(5)
ACCESS(5)

NAME
   access - Postfix SMTP server access table
    ...
EMAIL ADDRESS PATTERNS
   With lookups from indexed files such as DB or DBM,  or  from  networked
   tables  such  as  NIS,  LDAP or SQL, patterns are tried in the order as
   listed below:

   user@domain
          Matches the specified mail address.

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

    ...

        Wietse

Reply via email to