OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: after-queue content filter question

From: mouss (moussnetoyen.net)
Date: Tue Feb 05 2008 - 17:37:36 CST


Bryan Irvine wrote:
> How do I get it to also skip the user lookup for this domain? The
> transport works from command line:
>
> Feb 5 15:15:29 mx2 postfix/pipe[4750]: AB4B04A799:
> to=<testing80mydomain.com>, relay=mydomain-parser, delay=0.11,
> delays=0.05/0.01/0/0.05, dsn=2.0.0, status=sent (delivered via
> mydomain-parser service)
>
>
> but when sent from another MTA I get the following error:
>
> Feb 5 15:15:03 mx2 postfix/smtpd[4705]: NOQUEUE: reject: RCPT from
> externaldomain.net[<dotted.quad.goes.here>]: 550 5.1.1
> <testing80mydomain.com>: Recipient address rejected: User unknown in
> virtual mailbox table; from=<birvineexternaldomain.net>
> to=<testing80mydomain.com> proto=ESMTP helo=<externaldomain.net>
>

Please do not top post (google if you don't know what this means).

add the user to virtual_mailbox_maps. put any value in the right hand
side (the mailbox field).

in your case, you can also just add an entry to virtual_alias_maps:
testing80example.com testing80example.com

but then make sure to never disable the corresponding transport.