On Tuesday, October 20, 2009 at 16:39 CEST,
rihad <[email protected]> wrote:
[...]
> I might as well write my own thin wrapper for virtual and be done:
>
> #!/bin/sh
> # do not read the body, but do my own actions based on RCPT TO
> ...
> # and finally...
> exec /path/to/postfix/virtual $@
>
> and change in master.cf:
> virtual unix - n n - -
> /path/to/my/virtual-wrapper
Again, this will not work.
Another option that I believe hasn't been mentioned in this thread is
the possibility to use a virtual alias to rewrite the recipient address
(or add an additional recipient address) in a local domain. Then,
process messages to that address via aliases(5) or a .forward file.
--
Magnus Bäck
[email protected]