includes question plus dcc

Andrew andrew at
Wed Feb 11 12:20:25 GMT 2009

Thanks - I might clarify this further (into a specific dcc question).

When I run (as the same user  mailscanner runs as)
spamassassin -D -t < /tmp/test
DCC hits

2.2 DCC_CHECK              Listed in DCC 

When I put the same email through mailscanner (via telnet), it doesn't 
hit (and other emails don't hit, I checked the logs).

Is there a specific command i can test spamassassin with that emulates 
the way mailscanner calls it?

I have used DCC in the past, and miss it now it isn't included  (it is 
more effective than razor and pyzor, and is great when combined with 
them to make 3 checks).


Alex Broens wrote:
> On 2/11/2009 12:29 PM, Andrew wrote:
>> Thanks for the quick reply.
>> I did a check, there is no (anywhere!)  Maybe this is 
>> my problem?    (I installed the debian package).
> gotta pass on this one, no idea what Debian does.
>> What should my file look like?
>  /etc/mail/spamassassin/ is a symlink to 
> /etc/MailScanner/spam.assassin.prefs.conf
> nothing more
>> Dcc is enabled in v310.pre
>> # DCC is disabled here because it is not open source.  See the DCC
>> # license for more details.
>> #
>> loadplugin Mail::SpamAssassin::Plugin::DCC
>> Alex Broens wrote:
>>> On 2/11/2009 12:05 PM, Andrew wrote:
>>>> Hi All,
>>>> I'm using mailscanner on debian etch.
>>>> I have been trying to debug DCC (I downloaded and compiled)... 
>>>> checking the output of
>>>> spamassassin -t -D -C /etc/MailScanner/spam.assassin.prefs.conf < 
>>>> /tmp/test
>>>> (/tmp/test is a known spam email in full form)
>>>> and then again without -C /etc/Mails.....
>>>> I notice that when I don't have -C, there are a lot more includes 
>>>> (including the sa-updates)  (see further below)
>>> You don't need the -C /etc/MailScanner/spam.assassin.prefs.conf
>>> this file is symlinked to /etc/mail/spamassassin/ and 
>>> automatically detected by SA.
>>>> My questions are:
>>>> 1) Is spam assassin with the mailscanner config missing the update 
>>>> files? (if so, how do I fix?)
>>> nope.. nothing broken.. just don't use the -C switch.
>>>> 2) Any hints on getting DCC working? seems to work great without 
>>>> the -C file (and I have the path correct + use_dcc set to 1)
>>> make sure the plugin is enabled in v310.pre
>>>> Any help appreciated!
>>> h2h
>>> Alex

More information about the MailScanner mailing list