On Wed, Feb 26, 2014 at 11:30, Aaron Poffenberger wrote:
> When amavisd re-injected the email it was rejected by smtpd because "To:
> <user>" is an invalid recipient. The solution, then, was to defer the
> "virtual <vmap" lookup until re-injection. The way to do do that was to
> use "relay via":

> # public emails before content filtering
> accept tagged default from any for domain <domains>               \
>   relay via lmtp://127.0.0.1:10024
> 
> # re-injection from amavis
> accept tagged amavis from any for domain <domains> virtual <vmap> \
>   deliver to mda "/usr/local/bin/procmail -f -"

Do you need the virtual vmap on this deliver line? What if you deliver
to amavis with the vmap, and then deliver mail tagged amavis without
the vmap?

Reply via email to