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: Bryan Irvine (sparctacusgmail.com)
Date: Tue Feb 05 2008 - 17:16:51 CST


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>

-Bryan

On Feb 5, 2008 11:57 AM, mouss <moussnetoyen.net> wrote:
> Bryan Irvine wrote:
> > This server has lots of virtual domains, and I want all inbound mail
> > on a single domain only to go to a script for processing.
> >
> > I've set up a pipe, and was following the after-queue content filter
> > readme for examples on the proper way to handle the mails.
> >
> > Is this the wrong track I'm on?
> >
>
>
> don't use a filter. use a transport. This way, only mail for the
> selected domain will go to your script. and since you don't refeed mail
> to postfix, you won't have a loop.
>