On Wed, 28 Jul 2010 22:08:26 +0200
"Edward P. Ross" <epr...@acrocat.com> wrote:

>  I am not tied to procmail.  It was there from the beginning and the
> guide I used at the time
> (http://dspamwiki.expass.de/Installation/Sendmail) had it that way.
> 
> If there's no reason for me to use procmail, so I might as well just
> have dspam handle it, right?
> 
Wrong. DSPAM is not handling it. It is a LDA handling it.


> So then I would use:
>  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>     define('LOCAL_MAILER_PATH', `/usr/bin/dspam')dnl
>     define('LOCAL_MAILER_ARGS', `dspam "--deliver=innocent,spam" --user $u -d 
> %u')dnl
>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
Right.


> 
> now...
> 
> Re:  UntrustedDeliveryAgent
> dspam binary is in /usr/bin.
> 
> I have two copies of procmail, because I had to setuid it for it to work
> w/ dspam, so icreated a new copy just for dspam.
> So what do I want fo rthis:
> 
> TrustedDeliveryAgent "/usr/local/bin/procmail.dspam"
>     UntrustedDeliveryAgent "/usr/local/bin/procmail.dspam -d %u"
> 
Set this to (or wherever your sendmail binary is):
TrustedDeliveryAgent "/usr/sbin/sendmail"
UntrustedDeliveryAgent "/usr/sbin/sendmail"


> 
> 
> 
> On 7/28/2010 9:57 PM, Stevan Bajić wrote:
> > On Wed, 28 Jul 2010 21:42:04 +0200
> > news...@acrocat.com wrote:
> >
> >>  Clarification on the response below:
> >>
> >> Should I change sendmail.mc to:
> >>
> >>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >>     define('LOCAL_MAILER_PATH', `/usr/local/bin/dspam')dnl
> >>     define('LOCAL_MAILER_ARGS', `dspam "--deliver=innocent,spam" --user
> >>     $u -d %u')dnl
> >>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >>
> >>     OR
> >>
> >>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >>     define(`LOCAL_MAILER_PATH', `/usr/local/bin/dspam')dnl
> >>     define(`LOCAL_MAILER_ARGS', `dspam -t -Y -a $h
> >>     "--deliver=innocent,spam" --user $u -d %u')dnl
> >>     =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >>
> > I don't understand the question. The first one is if you DON'T use procmail 
> > as a delivery agent in DSPAM. The second is if you DO USE procmail as a 
> > delivery agent in DSPAM.
> >
> >
> >> You had both...
> >> and then dspam.conf gets changed from :
> >>
> >>     TrustedDeliveryAgent "/usr/local/bin/procmail.dspam"
> >>     UntrustedDeliveryAgent "/usr/local/bin/procmail.dspam -d %u"
> >>
> >> to:
> >>
> >>     TrustedDeliveryAgent "/usr/bin/dspam"
> >>     UntrustedDeliveryAgent "/usr/bin/dspam -d %u"
> >>
> >> But for UntrustedDeliveryAgent, what are the arguments for dspam?
> >>
> > What path do you use for DSPAM? Where is the binary located? In "/usr/bin/" 
> > or in "/usr/local/bin/"? In which one is the binary?
> >
> >
> >
> >>
> >>
> >>
> >> On 7/28/2010 7:41 PM, Stevan Bajic' wrote:
> >>>> Sendmail.mc:
> >>>> ==============================
> >>>> define(`LOCAL_MAILER_PATH', `/usr/bin/dspam')dnl
> >>>> define(`LOCAL_MAILER_ARGS', `dspam -t -Y -a $h "--deliver=innocent"
> >>>> --user $u -d %u')dnl
> >>> If I am not wrong then those "-t", "-Y" and "-a" arguments are for 
> >>> procmail and you wrote to me that you are not using procmail. Right? If 
> >>> so then could you change the above to be:
> >>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >>> define('LOCAL_MAILER_PATH', `/usr/local/bin/dspam')dnl
> >>> define('LOCAL_MAILER_ARGS', `dspam "--deliver=innocent,spam" --user $u -d 
> >>> %u')dnl
> >>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >>>> dspam.conf:
> >>>> ==============================
> >>>> TrustedDeliveryAgent "/usr/local/bin/procmail.dspam"
> >>>> UntrustedDeliveryAgent "/usr/local/bin/procmail.dspam -d %u"
> >>> What? So you are using procmail for delivery? Then the line above should 
> >>> be:
> >>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >>> define(`LOCAL_MAILER_PATH', `/usr/local/bin/dspam')dnl
> >>> define(`LOCAL_MAILER_ARGS', `dspam -t -Y -a $h "--deliver=innocent,spam" 
> >>> --user $u -d %u')dnl
> >>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > !DSPAM:1,4c508bb8134868220693317!
> >
> 

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to