-------- Original-Nachricht --------
> Datum: Tue, 11 Dec 2007 12:18:07 -0500
> Von: [EMAIL PROTECTED]
> An: Richard Freeman <[EMAIL PROTECTED]>
> CC: [email protected]
> Betreff: Re: [dspam-users] MySQLUIDInSignature

> 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
> 
Or with just one simple PCRE transport and one entry in master.cf:
dspam-train     unix      -       n       n       -       10      pipe
   flags=Rhq user=dspam:mail argv=/usr/bin/dspam
   --user ${sender}
   --class=${nexthop}
   --source=error
   --deliver=spam,innocent,summary
   --stdout

/^train\-(spam|ham)[EMAIL PROTECTED]/   dspam-train:${1}



> 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

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

Reply via email to