Richard Freeman <[EMAIL PROTECTED]> wrote on 12/10/2007 10:35:22 
AM:

> I'm using a postfix delivery agent to do it:
> 
> dspam-add     unix      -       n       n       -       10      pipe
>    flags=Rhu user=dspam argv=/usr/bin/dspam --source=error --class=spam
> --user root
> 

Ok...I'm going to try this route. Looking through pipe(8) and master(5) it
seems relatively straightforward what it is doing. 

I'm assuming I'll need something like the following in my transport map:

[EMAIL PROTECTED]        dspam-add:
[EMAIL PROTECTED]         dspam-del:

With the appropriate master.cf entries:

dspam-add     unix      -       n       n       -       10      pipe
   flags=Rhu user=dspam argv=/usr/bin/dspam --source=error --class=spam
--user root
dspam-del     unix      -       n       n       -       10      pipe
   flags=Rhu user=dspam argv=/usr/bin/dspam --source=error --class=ham
--user root

I'm going to give that a try and see what happens.

Michael D. Lemon
Director of Information Technology
Americal Corporation
Phone: 252-762-2000 x2142
Fax:      252-762-0176

Reply via email to