Jeff Weinberger:
> That said, here's the current configuration:
>
> content_filter=dspam:dspam
>
> and in master.cf:
>
> dspam unix - n n - 10 pipe
> flags=Ru user=_dspam argv=/usr/local/bin/dspam --
> deliver=innocent --user ${recipient} -i - f $sender -- $recipient
>
Hmm, so dspam is getting the envelope recipent.
> I assume the LMTP setup should look something like:
>
> main.cf:
>
> content_filter=lmtp:unix:/path/to/dspam --deliver=innocent --
> user ${recipient} -i - f $sender -- $recipient
>
> and the transport in master.cf becomes unnecessary.
>
> I don't know how to handle the command line arguments (or even if I
> have to), so suggestions, help and especially examples would be most
> helpful.
With lmtp, the information is NOT passed on the command line
but instead is passed via the LMTP protocol.
Wietse