[Dspam-user] LMTP & DSPAM

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Dspam-user] LMTP & DSPAM

Nathanael D. Noblet
Hello,

   So recently I converted my mail system to use LMTP to deliver mail
from postfix to dspam. This solved a problem I was having with respect
to some headers.

   Unfortunately this has cause DSPAM to cease to classify my mail. I'm
using an opt-in system. Here is the dspam.conf (I've removed a few
things like all the AllowOverride, passwords etc)

DeliveryHost /var/lib/imap/socket/lmtp
DeliveryIdent postman
DeliveryProto LMTP

ServerHost 127.0.0.1
#I feel like the above line is redundant by DomainSockePath am I correct?

ServerPid /var/run/dspam/dspam.pid
ServerMode standard
ServerParameters "--deliver=innocent,spam"
ServerDomainSocketPath "/var/run/dspam/dspam.sock"

Algorithm graham burton
Preference "spamAction=deliver"

Feature whitelist
Home /var/lib/dspam
IgnoreHeader X-Virus-Scanned
MySQLCompress           true
MySQLDb                XXXX
MySQLPass               XXXX
MySQLReconnect          true
MySQLServer             /var/lib/mysql/mysql.sock
MySQLUser dspam
Notifications off
OnFail error
Opt in
ProcessorBias on
ProcessorURLContext on
PValue bcr
StorageDriver /usr/lib/dspam/libmysql_drv.so
StripRcptDomain off
SystemLog on
TestConditionalTraining on
Tokenizer osb
TrainingMode toe
Trust dspam
Trust mail
Trust mailnull
Trust nobody
Trust root
Trust smmsp
Trust postfix
UserLog on
WebStats off


I have user.dspam in the opt-in directory, I've also added a
[hidden email] to the directory without any change in behaviour.

I'm wondering what would have changed from dspam being called with
dspam --user $user -i -f $sender -- $recipient vs having it be delivered
via LMTP that would cause it to cease classifying...

Ideas?
--
Nathanael d. Noblet
t 403.875.4613

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|

Re: [Dspam-user] LMTP & DSPAM

Paul Cockings
On 23/05/2011 20:00, Nathanael D. Noblet wrote:
>     Unfortunately this has cause DSPAM to cease to classify my mail. I'm
> using an opt-in system. Here is the dspam.conf (I've removed a few
> things like all the AllowOverride, passwords etc)
>
>    
Hello,

I have not spent any time looking into your specific issue, but I would
probably enable the dspam debug log and see if it guides you where to
adjust the configuration.

kind regards
Paul

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|

Re: [Dspam-user] LMTP & DSPAM

peters
In reply to this post by Nathanael D. Noblet
On 5/24/2011 3:00 AM, Nathanael D. Noblet wrote:

> Hello,
>
>     So recently I converted my mail system to use LMTP to deliver mail
> from postfix to dspam. This solved a problem I was having with respect
> to some headers.
>
>     Unfortunately this has cause DSPAM to cease to classify my mail. I'm
> using an opt-in system. Here is the dspam.conf (I've removed a few
> things like all the AllowOverride, passwords etc)
>
> DeliveryHost /var/lib/imap/socket/lmtp
> DeliveryIdent postman
> DeliveryProto LMTP
>
> ServerHost 127.0.0.1
> #I feel like the above line is redundant by DomainSockePath am I correct?
>
> ServerPid /var/run/dspam/dspam.pid
> ServerMode standard
> ServerParameters "--deliver=innocent,spam"
> ServerDomainSocketPath "/var/run/dspam/dspam.sock"
>
> Algorithm graham burton
> Preference "spamAction=deliver"
>
> Feature whitelist
> Home /var/lib/dspam
> IgnoreHeader X-Virus-Scanned
> MySQLCompress           true
> MySQLDb                XXXX
> MySQLPass               XXXX
> MySQLReconnect          true
> MySQLServer             /var/lib/mysql/mysql.sock
> MySQLUser dspam
> Notifications off
> OnFail error
> Opt in
> ProcessorBias on
> ProcessorURLContext on
> PValue bcr
> StorageDriver /usr/lib/dspam/libmysql_drv.so
> StripRcptDomain off
> SystemLog on
> TestConditionalTraining on
> Tokenizer osb
> TrainingMode toe
> Trust dspam
> Trust mail
> Trust mailnull
> Trust nobody
> Trust root
> Trust smmsp
> Trust postfix
> UserLog on
> WebStats off
>
Hi Nathanael,

Try enabling the two lines below

ParseToHeaders on
ChangeModeOnParse on



>
> I have user.dspam in the opt-in directory, I've also added a
> [hidden email] to the directory without any change in behaviour.
>
> I'm wondering what would have changed from dspam being called with
> dspam --user $user -i -f $sender -- $recipient vs having it be delivered
> via LMTP that would cause it to cease classifying...
>
> Ideas?


--
Peter Santiago         [hidden email]
My website:            www.psinergybbs.com
My spamtrap address:   [hidden email]


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user

smime.p7s (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Dspam-user] LMTP & DSPAM

Nathanael D. Noblet
On 05/23/2011 07:26 PM, Peter Santiago wrote:
> Try enabling the two lines below
>
> ParseToHeaders on
> ChangeModeOnParse on

No change in behaviour...

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|

Re: [Dspam-user] LMTP & DSPAM

Hugo Monteiro
In reply to this post by peters
On 05/24/2011 02:26 AM, Peter Santiago wrote:

> On 5/24/2011 3:00 AM, Nathanael D. Noblet wrote:
>> Hello,
>>
>>     So recently I converted my mail system to use LMTP to deliver mail
>> from postfix to dspam. This solved a problem I was having with respect
>> to some headers.
>>
>>     Unfortunately this has cause DSPAM to cease to classify my mail. I'm
>> using an opt-in system. Here is the dspam.conf (I've removed a few
>> things like all the AllowOverride, passwords etc)
>>
>> DeliveryHost /var/lib/imap/socket/lmtp
>> DeliveryIdent postman
>> DeliveryProto LMTP
>>
>> ServerHost 127.0.0.1
>> #I feel like the above line is redundant by DomainSockePath am I
>> correct?
>>
>> ServerPid /var/run/dspam/dspam.pid
>> ServerMode standard
>> ServerParameters "--deliver=innocent,spam"
>> ServerDomainSocketPath "/var/run/dspam/dspam.sock"
>>
>> Algorithm graham burton
>> Preference "spamAction=deliver"
>>
>> Feature whitelist
>> Home /var/lib/dspam
>> IgnoreHeader X-Virus-Scanned
>> MySQLCompress           true
>> MySQLDb                    XXXX
>> MySQLPass               XXXX
>> MySQLReconnect          true
>> MySQLServer             /var/lib/mysql/mysql.sock
>> MySQLUser        dspam
>> Notifications    off
>> OnFail error
>> Opt in
>> ProcessorBias on
>> ProcessorURLContext on
>> PValue bcr
>> StorageDriver /usr/lib/dspam/libmysql_drv.so
>> StripRcptDomain off
>> SystemLog    on
>> TestConditionalTraining on
>> Tokenizer osb
>> TrainingMode toe
>> Trust dspam
>> Trust mail
>> Trust mailnull
>> Trust nobody
>> Trust root
>> Trust smmsp
>> Trust postfix
>> UserLog        on
>> WebStats off
>>
>
> Hi Nathanael,
>
> Try enabling the two lines below
>
> ParseToHeaders on
> ChangeModeOnParse on
>


Hello Nathanael,

please send the output of dspam --version command.


Regards,

Hugo Monteiro.

--
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email : [hidden email]
Telefone : +351 212948300 Ext.15307
Web      : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
                   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.fct.unl.pt                [hidden email]

fct.unl.pt:~# _


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|

Re: [Dspam-user] LMTP & DSPAM

Nathanael D. Noblet
On 05/24/2011 03:16 AM, Hugo Monteiro wrote:
> Hello Nathanael,
>
> please send the output of dspam --version command.
>

DSPAM Anti-Spam Suite 3.9.0 (agent/library)

Copyright (c) 2002-2009 DSPAM Project
http://dspam.sourceforge.net.

DSPAM may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the DSPAM distribution kit.

Configuration parameters: '--build=i386-redhat-linux-gnu'
'--host=i386-redhat-linux-gnu' '--target=i386-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/usr/share'
'--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--enable-long-usernames' '--enable-syslog'
'--enable-large-scale' '--disable-domain-scale' '--disable-homedir'
'--enable-virtual-users' '--enable-preferences-extension'
'--with-mysql-includes=/usr/include/mysql'
'--with-mysql-libraries=/usr/lib/mysql'
'--with-pgsql-includes=/usr/include/pgsql'
'--with-pgsql-libraries=/usr/lib' '--enable-daemon'
'--enable-external-lookup'
'--with-storage-driver=hash_drv,mysql_drv,pgsql_drv,sqlite3_drv'
'--with-dspam-home=/var/lib/dspam' '--with-dspam-owner=dspam'
'--with-dspam-group=mail' '--with-dspam-home-group=mail'
'--with-dspam-mode=2511' '--with-logdir=/var/log/dspam'
'--sysconfdir=/etc' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386 -mtune=generic -fasynchronous-unwind-tables' 'CXXFLAGS=-O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables' 'FFLAGS=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables' 'build_alias=i386-redhat-linux-gnu'
'host_alias=i386-redhat-linux-gnu' 'target_alias=i386-redhat-linux-gnu'


--
Nathanael d. Noblet
t 403.875.4613

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user