bijayant kumar wrote: > Thanks For the reply. > I did as suggested but postfix accepted this mail also and then rejects > complaining > Recipient address rejected: User unknown in virtual mailbox table; > from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP helo=<localhost> > > It should not accepts the mail right?
You appear to be checking the wrong thing. You showed us this: >>> smtpd_recipient_restrictions = >>> check_sender_access >> pcre:/etc/postfix/ascii.pcre >>> permit_mynetworks But your test there is using check_sender_access. Add a check for check_recipient_access using the same PCRE table as well and test again.
signature.asc
Description: OpenPGP digital signature