* On 01/01/07 13:38 -0600, slahoti wrote:
| I am running this on CENTOS 4.1 with Sendmail 8.13.1 -dspam 3.6.8
| 
| I entered the following configuration in the sendmail MC file -
| define(`LOCAL_MAILER_PATH', `/usr/local/bin/dspam')dnl
| define(`LOCAL_MAILER_ARGS', `dspam -t -Y -a $h "--deliver=innocent" 
| --user $u -d %u')dnl
| 
| whe the file is compiled and sendmail startsup I get -
| 
| NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 41: unknown 
| configuration line "define (LOCAL_MAILER_PATH,/usr/local/bin/dspam)
| define (LOCAL_MAILER_ARGS,dspam -t -Y -a \001h "--deliver=innocent" 
| --user \001u -d %u)"

I don't run sendmail, but could you please try the steps outlined in the 
wiki:

http://dspamwiki.expass.de/Installation/Sendmail

.. or use them as a guide....


The sendmail integration document, distributed with the DSPAM source 
says:

<quote>

$Id: sendmail.txt,v 1.1 2005/03/11 21:16:03 jonz Exp $

SENDMAIL INTEGRATION

Please follow the instructions in the README for building DSPAM. Once DSPAM
has been built, the following instructions may be used to integrate it with
sendmail.
 
DSPAM is best integrated with sendmail by masquerading as the local delivery
agent. This can be done by adding two lines to your config.mc file and
rebuilding your configuration:

define(`LOCAL_MAILER_PATH', `/usr/local/bin/dspam')
define(`LOCAL_MAILER_ARGS', `dspam "--deliver=innocent" --user $u -d %u') 

Make sure these definitions are placed before the MAILER(local) definition.

Alternatively, you may define additional procmail arguments if you are using
procmail. For example:

define(`LOCAL_MAILER_PATH', `/usr/local/bin/dspam')
define(`LOCAL_MAILER_ARGS', `dspam -t -Y -a $h "--deliver=innocent" --user $u 
-d %u')

If you don't feel like rebuilding your .cf files, you can alternatively
just replace your local mailer in the Mlocal block of sendmail.cf and
submit.cf. Be sure to update the path (P=) as well as arguments (A=).

NOTE: If you are using sendmail restricted shell (smrsh), you will
      need to either disable it, or add /usr/local/bin/dspam to the allow list. 
      Some administrators have experienced problems using smrsh with DSPAM.
</quote>



-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <[EMAIL PROTECTED]>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

Actors will happen even in the best-regulated families.

Reply via email to