amavis-user October 2010 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: [AMaViS-user] Dspam

Re: [AMaViS-user] Dspam

From: Mark Martinec <Mark.Martinec+amavis_at_nospam>
Date: Mon Oct 11 2010 - 14:38:08 GMT
To: amavis-user@lists.sourceforge.net

Silvio,

> i have a FreeBSD Server running amavisd-new with clamav and
> spamassassin. I want use Dspam with amavisd-new and so i has
> search in internet for a intregation HowTo. I find but amavisd-new want
> not use dspam. I find not why amavisd-new want not accept Dspam.
> [...]
> In the amavisd-new config i write the follow lines after i see it on a
> older thread on list:
>
> @spam_scanners = (
> ['DSPAM', 'Amavis::SpamControl::ExtProg', $dspam,
> [ qw(--stdout --classify --deliver=innocent,spam
> --user), $daemon_user ], score_factor => 1,
> ]);

Did you also define the variable $dspam ?
Its default value is undefined. It should contain a path name
to the dspam program, either absolute, or relative to $path.

Or specify the program path directly in the @spam_scanners
entry (there is nothing besides @spam_scanners that uses the
variable $dspam) :

@spam_scanners = (
  ['DSPAM', 'Amavis::SpamControl::ExtProg',
   '/usr/local/bin/dspam',
   [ qw(--stdout --classify --deliver=innocent,spam
         --mode=toe --user), $daemon_user ],
    mail_body_size_limit => 65000, score_factor => 1,
  ],
);

Mark

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot org