Re: [Dovecot] Install Configuring and run.

2008-11-14 Thread Thorsten Vollmer
On Fri, 2008-11-14 at 14:09 +0100, Marko Weber wrote:
> now it looks different to old log before,
> 
> I disabled  "MySQLUIDInSignature" like you said ,
> now when i move a  mail to SPAM folder  "dspam.debug" tells this =
> 
> 2376: [11/14/2008 14:02:51] DSPAM Instance Startup
> 2376: [11/14/2008 14:02:51] input args: /usr/bin/dspam --source=error 
> --class=spam --signature==?iso-8859-1?Q?491d76cb23581804284693=0D?= 
> --user clamav
> 2376: [11/14/2008 14:02:51] pass-thru args:
> 2376: [11/14/2008 14:02:51] processing user clamav
> 2376: [11/14/2008 14:02:51] uid = 207, euid = 207, gid = 207, egid = 1000
> 2376: [11/14/2008 14:02:51] loading preferences for user clamav
> 2376: [11/14/2008 14:02:51] Loading preferences for uid 1
> 2376: [11/14/2008 14:02:51] Loading preferences for uid 0
> 2376: [11/14/2008 14:02:51] Loading preferences for uid 0
> 2376: [11/14/2008 14:02:51] default preferences empty. reverting to 
> dspam.conf preferences.
> 2376: [11/14/2008 14:02:51] Loading preferences from dspam.conf
> 2376: [11/14/2008 14:02:51] using 
> /var/spool/dspam/opt-in/local/clamav.dspam as path
> 2376: [11/14/2008 14:02:51] using 
> /var/spool/dspam/opt-out/local/clamav.nodspam as path
> 2376: [11/14/2008 14:02:51] sedation level set to: 0
> 2376: [11/14/2008 14:02:51] mysql_fetch_row() failed in _ds_get_signature
> 2376: [11/14/2008 14:02:51] DSPAM Instance Shutdown.  Exit Code: 0
>  
> failed on fetch_row
> 
> the /var/log/messages tells this =
> 
> Nov 14 14:02:51 kraftwerk1 imap: antispam: /usr/bin/dspam --source=error 
> --class=spam --signature==?iso-8859-1?Q?491d76cb23581804284693=0D?= ...
> Nov 14 14:02:51 kraftwerk1 dspam[2376]: Signature retrieval for 
> '=?iso-8859-1?Q?491d76cb23581804284693=0D?=' failed
> Nov 14 14:02:51 kraftwerk1 dspam[2376]: Unable to find a valid 
> signature. Aborting.
> Nov 14 14:02:51 kraftwerk1 dspam[2376]: process_message returned error 
> -5.  dropping message.
> 
> when i search with phpmyadmin in the database the signatur 
> 491d76cb23581804284693 is there.
> 
> i really dont get it what can be wrong.

This is obviously no problem with dovecot-antispam. I am sure that you
will get more help on DSPAM's mailing list.

Regards,
Thorsten



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Install Configuring and run.

2008-11-14 Thread Marko Weber

Hi Thorsten,

now it looks different to old log before,

I disabled  "MySQLUIDInSignature" like you said ,
now when i move a  mail to SPAM folder  "dspam.debug" tells this =

2376: [11/14/2008 14:02:51] DSPAM Instance Startup
2376: [11/14/2008 14:02:51] input args: /usr/bin/dspam --source=error 
--class=spam --signature==?iso-8859-1?Q?491d76cb23581804284693=0D?= 
--user clamav

2376: [11/14/2008 14:02:51] pass-thru args:
2376: [11/14/2008 14:02:51] processing user clamav
2376: [11/14/2008 14:02:51] uid = 207, euid = 207, gid = 207, egid = 1000
2376: [11/14/2008 14:02:51] loading preferences for user clamav
2376: [11/14/2008 14:02:51] Loading preferences for uid 1
2376: [11/14/2008 14:02:51] Loading preferences for uid 0
2376: [11/14/2008 14:02:51] Loading preferences for uid 0
2376: [11/14/2008 14:02:51] default preferences empty. reverting to 
dspam.conf preferences.

2376: [11/14/2008 14:02:51] Loading preferences from dspam.conf
2376: [11/14/2008 14:02:51] using 
/var/spool/dspam/opt-in/local/clamav.dspam as path
2376: [11/14/2008 14:02:51] using 
/var/spool/dspam/opt-out/local/clamav.nodspam as path

2376: [11/14/2008 14:02:51] sedation level set to: 0
2376: [11/14/2008 14:02:51] mysql_fetch_row() failed in _ds_get_signature
2376: [11/14/2008 14:02:51] DSPAM Instance Shutdown.  Exit Code: 0

failed on fetch_row

the /var/log/messages tells this =

Nov 14 14:02:51 kraftwerk1 imap: antispam: /usr/bin/dspam --source=error 
--class=spam --signature==?iso-8859-1?Q?491d76cb23581804284693=0D?= ...
Nov 14 14:02:51 kraftwerk1 dspam[2376]: Signature retrieval for 
'=?iso-8859-1?Q?491d76cb23581804284693=0D?=' failed
Nov 14 14:02:51 kraftwerk1 dspam[2376]: Unable to find a valid 
signature. Aborting.
Nov 14 14:02:51 kraftwerk1 dspam[2376]: process_message returned error 
-5.  dropping message.


when i search with phpmyadmin in the database the signatur 
491d76cb23581804284693 is there.


i really dont get it what can be wrong.

thanks

marko






Thorsten Vollmer schrieb:

On Fri, 2008-11-14 at 11:40 +0100, Marko Weber wrote:
  

Hello Thorsten , Hello All in List,

i got to write again,
ok : dspam workinng , dovecot-antispam working

moving mails to or out of spam seems to work and is listed in the logs;
BUT the logs shows this on moving a mail to or from spam =


Nov 14 11:31:57 kraftwerk1 imap: antispam: /usr/bin/dspam --source=error 
--class=innocent 
--signature==?iso-8859-1?Q?1,491d521770551288576733=0D?= ...
Nov 14 11:31:57 kraftwerk1 dspam[7203]: _ds_get_signature(): 
_mysql_drv_getpwuid(0) failed: aborting
Nov 14 11:31:57 kraftwerk1 dspam[7203]: Signature retrieval for 
'=?iso-8859-1?Q?1,491d521770551288576733=0D?=' failed
Nov 14 11:31:57 kraftwerk1 dspam[7203]: Unable to find a valid 
signature. Aborting.
Nov 14 11:31:57 kraftwerk1 dspam[7203]: process_message returned error 
-5.  dropping message.


incoming mails are scanned by user clamav and mails are moved now by 
user clamav after the the Tip of  Thorsten adding this to dovecot.conf =


antispam_dspam_args = --user;clamav



I just realized that you enabled MySQLUIDInSignature. Thus specifying
the user is not strictly necessary.

You may also try to disable MySQLUIDInSignature.

  
the following point in the logs  "mysql_drv_getpwuid(0)"  , looks for me 
like dspam tries with User-ID 0 to work,

but User clamav is in the mysql-db with User ID 1

do i have to set any special entires in dovecot.conf or dspam.conf ?

marko



  


--

--
*Marko Weber* | Administration

*SALON DIGITAL* Media GmbH
Rothenbaumchaussee 19a
20148 Hamburg

T. (040) 429 48 68 - 23
F. (040) 429 48 68 - 20

[EMAIL PROTECTED] 
www.salondigital.de 

--
Geschäftsführung: Stephan Michalik, Ekkehart Opitz
Registergericht: Amtsgericht Hamburg, NR: HRB 78111

NOTE: This communication is confidential and is intended for the use of 
the individual or entity to which it is directed. It may contain 
information that is privileged and exempt from disclosure under 
applicable law. If you are not the intended recipient please notify us 
immediately. You should not copy it or disclose its contents to any 
other person.




Re: [Dovecot] Install Configuring and run.

2008-11-14 Thread Thorsten Vollmer
On Fri, 2008-11-14 at 11:40 +0100, Marko Weber wrote:
> Hello Thorsten , Hello All in List,
> 
> i got to write again,
> ok : dspam workinng , dovecot-antispam working
> 
> moving mails to or out of spam seems to work and is listed in the logs;
> BUT the logs shows this on moving a mail to or from spam =
> 
> 
> Nov 14 11:31:57 kraftwerk1 imap: antispam: /usr/bin/dspam --source=error 
> --class=innocent 
> --signature==?iso-8859-1?Q?1,491d521770551288576733=0D?= ...
> Nov 14 11:31:57 kraftwerk1 dspam[7203]: _ds_get_signature(): 
> _mysql_drv_getpwuid(0) failed: aborting
> Nov 14 11:31:57 kraftwerk1 dspam[7203]: Signature retrieval for 
> '=?iso-8859-1?Q?1,491d521770551288576733=0D?=' failed
> Nov 14 11:31:57 kraftwerk1 dspam[7203]: Unable to find a valid 
> signature. Aborting.
> Nov 14 11:31:57 kraftwerk1 dspam[7203]: process_message returned error 
> -5.  dropping message.
> 
> incoming mails are scanned by user clamav and mails are moved now by 
> user clamav after the the Tip of  Thorsten adding this to dovecot.conf =
> 
> antispam_dspam_args = --user;clamav

I just realized that you enabled MySQLUIDInSignature. Thus specifying
the user is not strictly necessary.

You may also try to disable MySQLUIDInSignature.

> the following point in the logs  "mysql_drv_getpwuid(0)"  , looks for me 
> like dspam tries with User-ID 0 to work,
> but User clamav is in the mysql-db with User ID 1
> 
> do i have to set any special entires in dovecot.conf or dspam.conf ?
> 
> marko



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Install Configuring and run.

2008-11-14 Thread Marko Weber

Hello Thorsten , Hello All in List,

i got to write again,
ok : dspam workinng , dovecot-antispam working

moving mails to or out of spam seems to work and is listed in the logs;
BUT the logs shows this on moving a mail to or from spam =


Nov 14 11:31:57 kraftwerk1 imap: antispam: /usr/bin/dspam --source=error 
--class=innocent 
--signature==?iso-8859-1?Q?1,491d521770551288576733=0D?= ...
Nov 14 11:31:57 kraftwerk1 dspam[7203]: _ds_get_signature(): 
_mysql_drv_getpwuid(0) failed: aborting
Nov 14 11:31:57 kraftwerk1 dspam[7203]: Signature retrieval for 
'=?iso-8859-1?Q?1,491d521770551288576733=0D?=' failed
Nov 14 11:31:57 kraftwerk1 dspam[7203]: Unable to find a valid 
signature. Aborting.
Nov 14 11:31:57 kraftwerk1 dspam[7203]: process_message returned error 
-5.  dropping message.


incoming mails are scanned by user clamav and mails are moved now by 
user clamav after the the Tip of  Thorsten adding this to dovecot.conf =


antispam_dspam_args = --user;clamav

the following point in the logs  "mysql_drv_getpwuid(0)"  , looks for me 
like dspam tries with User-ID 0 to work,

but User clamav is in the mysql-db with User ID 1

do i have to set any special entires in dovecot.conf or dspam.conf ?

marko









Marko Weber schrieb:

Hello Thorsten,
now on moving mail into SPAM folder seems okay in "dspam.debug" log =

16277: [11/14/2008 10:18:33] DSPAM Instance Startup
16277: [11/14/2008 10:18:33] input args: /usr/bin/dspam --source=error 
--class=spam --signature==?iso-8859-1?Q?1,491d3cb5151261000521152=0D?= 
--user clamav

16277: [11/14/2008 10:18:33] pass-thru args:
16277: [11/14/2008 10:18:33] processing user clamav
16277: [11/14/2008 10:18:33] uid = 207, euid = 207, gid = 207, egid = 
1000

16277: [11/14/2008 10:18:33] loading preferences for user clamav
16277: [11/14/2008 10:18:33] Loading preferences for uid 1
16277: [11/14/2008 10:18:33] Loading preferences for uid 0
16277: [11/14/2008 10:18:33] Loading preferences for uid 0
16277: [11/14/2008 10:18:33] default preferences empty. reverting to 
dspam.conf preferences.

16277: [11/14/2008 10:18:33] Loading preferences from dspam.conf
16277: [11/14/2008 10:18:33] using 
/var/spool/dspam/opt-in/local/clamav.dspam as path
16277: [11/14/2008 10:18:33] using 
/var/spool/dspam/opt-out/local/clamav.nodspam as path

16277: [11/14/2008 10:18:33] sedation level set to: 0
16277: [11/14/2008 10:18:33] DSPAM Instance Shutdown.  Exit Code: 0

BUT, in systemlog  /var/log/messages i get this =

Nov 14 10:20:25 kraftwerk1 imap: antispam: /usr/bin/dspam 
--source=error --class=spam 
--signature==?iso-8859-1?Q?1,491d40b9162159695846858=0D?= ...
Nov 14 10:20:25 kraftwerk1 dspam[16295]: _ds_get_signature(): 
_mysql_drv_getpwuid(0) failed: aborting
Nov 14 10:20:25 kraftwerk1 dspam[16295]: Signature retrieval for 
'=?iso-8859-1?Q?1,491d40b9162159695846858=0D?=' failed
Nov 14 10:20:25 kraftwerk1 dspam[16295]: Unable to find a valid 
signature. Aborting.
Nov 14 10:20:25 kraftwerk1 dspam[16295]: process_message returned 
error -5.  dropping message.


maybe its cause now all is done with user clamav, and before incoming 
mails was checked as user clamav and moving mails was done by user 
postfix... dunno
but when incoming mails was scanned as user clamav and signatur was 
saved for clamav in db and now moving mails is also done by user 
clamav , why

he cant finde the signatur ?

i also added user clamav & postfix as Trust  in dspam.conf

marko





Thorsten Vollmer schrieb:

On Thu, 2008-11-13 at 23:44 +0100, Marko Weber wrote:
 

Hello Thorsten,
i got "dovecot-antispam" working now.
also moving mails now fully work.
but retraining dont seems to work fully.

emails that are delivered to mailbox are scanned with user  "clamav"

28799: [11/13/2008 23:26:25] DSPAM Instance Startup
28799: [11/13/2008 23:26:25] input args: /usr/bin/dspam --stdout 
--deliver=spam,innocent --mode=tum --tokenizer=chained,noise 
--enable-signature-headers --user clamav
28799: [11/13/2008 23:26:25] pass-thru args: 
--tokenizer=chained,noise --enable-signature-headers

28799: [11/13/2008 23:26:25] processing user clamav
28799: [11/13/2008 23:26:25] uid = 105, euid = 105, gid = 449, egid 
= 1000

28799: [11/13/2008 23:26:25] loading preferences for user clamav
28799: [11/13/2008 23:26:25] Loading preferences for uid 1


i dont have a maildrop filter ready yet that move spam tagged mails 
into SPAM folder.

all is delivered to "incoming".
when i now move the mail to SPAM; this is done by user "postfix"



28917: [11/13/2008 23:40:17] DSPAM Instance Startup
28917: [11/13/2008 23:40:17] input args: /usr/bin/dspam 
--source=error --class=spam 
--signature==?iso-8859-1?Q?1,491930ac25229173225906=0D?=

28917: [11/13/2008 23:40:17] pass-thru args:
28917: [11/13/2008 23:40:17] processing user postfix
28917: [11/13/2008 23:40:17] uid = 207, euid = 207, gid = 207, egid 
= 1000

28917: [11/13/2008 23:40:17] loading preferences for user postfix
28917: [11/13/2008 23:40:17] Loading preferences for uid 6
28917: [11/1

Re: [Dovecot] Install Configuring and run.

2008-11-14 Thread Marko Weber

Hello Thorsten,
now on moving mail into SPAM folder seems okay in "dspam.debug" log =

16277: [11/14/2008 10:18:33] DSPAM Instance Startup
16277: [11/14/2008 10:18:33] input args: /usr/bin/dspam --source=error 
--class=spam --signature==?iso-8859-1?Q?1,491d3cb5151261000521152=0D?= 
--user clamav

16277: [11/14/2008 10:18:33] pass-thru args:
16277: [11/14/2008 10:18:33] processing user clamav
16277: [11/14/2008 10:18:33] uid = 207, euid = 207, gid = 207, egid = 1000
16277: [11/14/2008 10:18:33] loading preferences for user clamav
16277: [11/14/2008 10:18:33] Loading preferences for uid 1
16277: [11/14/2008 10:18:33] Loading preferences for uid 0
16277: [11/14/2008 10:18:33] Loading preferences for uid 0
16277: [11/14/2008 10:18:33] default preferences empty. reverting to 
dspam.conf preferences.

16277: [11/14/2008 10:18:33] Loading preferences from dspam.conf
16277: [11/14/2008 10:18:33] using 
/var/spool/dspam/opt-in/local/clamav.dspam as path
16277: [11/14/2008 10:18:33] using 
/var/spool/dspam/opt-out/local/clamav.nodspam as path

16277: [11/14/2008 10:18:33] sedation level set to: 0
16277: [11/14/2008 10:18:33] DSPAM Instance Shutdown.  Exit Code: 0

BUT, in systemlog  /var/log/messages i get this =

Nov 14 10:20:25 kraftwerk1 imap: antispam: /usr/bin/dspam --source=error 
--class=spam --signature==?iso-8859-1?Q?1,491d40b9162159695846858=0D?= ...
Nov 14 10:20:25 kraftwerk1 dspam[16295]: _ds_get_signature(): 
_mysql_drv_getpwuid(0) failed: aborting
Nov 14 10:20:25 kraftwerk1 dspam[16295]: Signature retrieval for 
'=?iso-8859-1?Q?1,491d40b9162159695846858=0D?=' failed
Nov 14 10:20:25 kraftwerk1 dspam[16295]: Unable to find a valid 
signature. Aborting.
Nov 14 10:20:25 kraftwerk1 dspam[16295]: process_message returned error 
-5.  dropping message.


maybe its cause now all is done with user clamav, and before incoming 
mails was checked as user clamav and moving mails was done by user 
postfix... dunno
but when incoming mails was scanned as user clamav and signatur was 
saved for clamav in db and now moving mails is also done by user clamav 
, why

he cant finde the signatur ?

i also added user clamav & postfix as Trust  in dspam.conf

marko





Thorsten Vollmer schrieb:

On Thu, 2008-11-13 at 23:44 +0100, Marko Weber wrote:
  

Hello Thorsten,
i got "dovecot-antispam" working now.
also moving mails now fully work.
but retraining dont seems to work fully.

emails that are delivered to mailbox are scanned with user  "clamav"

28799: [11/13/2008 23:26:25] DSPAM Instance Startup
28799: [11/13/2008 23:26:25] input args: /usr/bin/dspam --stdout 
--deliver=spam,innocent --mode=tum --tokenizer=chained,noise 
--enable-signature-headers --user clamav
28799: [11/13/2008 23:26:25] pass-thru args: --tokenizer=chained,noise 
--enable-signature-headers

28799: [11/13/2008 23:26:25] processing user clamav
28799: [11/13/2008 23:26:25] uid = 105, euid = 105, gid = 449, egid = 1000
28799: [11/13/2008 23:26:25] loading preferences for user clamav
28799: [11/13/2008 23:26:25] Loading preferences for uid 1


i dont have a maildrop filter ready yet that move spam tagged mails into 
SPAM folder.

all is delivered to "incoming".
when i now move the mail to SPAM; this is done by user "postfix"



28917: [11/13/2008 23:40:17] DSPAM Instance Startup
28917: [11/13/2008 23:40:17] input args: /usr/bin/dspam --source=error 
--class=spam --signature==?iso-8859-1?Q?1,491930ac25229173225906=0D?=

28917: [11/13/2008 23:40:17] pass-thru args:
28917: [11/13/2008 23:40:17] processing user postfix
28917: [11/13/2008 23:40:17] uid = 207, euid = 207, gid = 207, egid = 1000
28917: [11/13/2008 23:40:17] loading preferences for user postfix
28917: [11/13/2008 23:40:17] Loading preferences for uid 6
28917: [11/13/2008 23:40:17] Loading preferences for uid 0
28917: [11/13/2008 23:40:17] Loading preferences for uid 0
28917: [11/13/2008 23:40:17] default preferences empty. reverting to 
dspam.conf preferences.

28917: [11/13/2008 23:40:17] Loading preferences from dspam.conf
28917: [11/13/2008 23:40:17] using 
/var/spool/dspam/opt-in/local/postfix.dspam as path
28917: [11/13/2008 23:40:17] using 
/var/spool/dspam/opt-out/local/postfix.nodspam as path

28917: [11/13/2008 23:40:17] sedation level set to: 0
28917: [11/13/2008 23:40:17] DSPAM Instance Shutdown.  Exit Code: 0


Now when i move the mail again into incoming (also done by user 
postfix), the mail dont get tagged with "innocent" , it is still tagged 
"spam".


How do i get it work all under "clamav"



If you really have a single user for DSPAM, add "antispam_dspam_args =
--user;clamav" to dovecot.conf.

Also, the user running dovecot's mail process needs to be trusted by
DSPAM.

  

and why are the removed mails from spam to incoming not tagged with
"inncoent" ?



dovecot-antispam does not change any headers of the messages you move.

  

(do you need any logs?)

thank you

marko



  


--

--
*Marko Weber* | Administration

*SALON DIGITAL* Media GmbH
Rothenbaumchaussee 19a
20

Re: [Dovecot] Install Configuring and run.

2008-11-13 Thread Thorsten Vollmer
On Thu, 2008-11-13 at 23:44 +0100, Marko Weber wrote:
> Hello Thorsten,
> i got "dovecot-antispam" working now.
> also moving mails now fully work.
> but retraining dont seems to work fully.
> 
> emails that are delivered to mailbox are scanned with user  "clamav"
> 
> 28799: [11/13/2008 23:26:25] DSPAM Instance Startup
> 28799: [11/13/2008 23:26:25] input args: /usr/bin/dspam --stdout 
> --deliver=spam,innocent --mode=tum --tokenizer=chained,noise 
> --enable-signature-headers --user clamav
> 28799: [11/13/2008 23:26:25] pass-thru args: --tokenizer=chained,noise 
> --enable-signature-headers
> 28799: [11/13/2008 23:26:25] processing user clamav
> 28799: [11/13/2008 23:26:25] uid = 105, euid = 105, gid = 449, egid = 1000
> 28799: [11/13/2008 23:26:25] loading preferences for user clamav
> 28799: [11/13/2008 23:26:25] Loading preferences for uid 1
> 
> 
> i dont have a maildrop filter ready yet that move spam tagged mails into 
> SPAM folder.
> all is delivered to "incoming".
> when i now move the mail to SPAM; this is done by user "postfix"
> 
> 
> 
> 28917: [11/13/2008 23:40:17] DSPAM Instance Startup
> 28917: [11/13/2008 23:40:17] input args: /usr/bin/dspam --source=error 
> --class=spam --signature==?iso-8859-1?Q?1,491930ac25229173225906=0D?=
> 28917: [11/13/2008 23:40:17] pass-thru args:
> 28917: [11/13/2008 23:40:17] processing user postfix
> 28917: [11/13/2008 23:40:17] uid = 207, euid = 207, gid = 207, egid = 1000
> 28917: [11/13/2008 23:40:17] loading preferences for user postfix
> 28917: [11/13/2008 23:40:17] Loading preferences for uid 6
> 28917: [11/13/2008 23:40:17] Loading preferences for uid 0
> 28917: [11/13/2008 23:40:17] Loading preferences for uid 0
> 28917: [11/13/2008 23:40:17] default preferences empty. reverting to 
> dspam.conf preferences.
> 28917: [11/13/2008 23:40:17] Loading preferences from dspam.conf
> 28917: [11/13/2008 23:40:17] using 
> /var/spool/dspam/opt-in/local/postfix.dspam as path
> 28917: [11/13/2008 23:40:17] using 
> /var/spool/dspam/opt-out/local/postfix.nodspam as path
> 28917: [11/13/2008 23:40:17] sedation level set to: 0
> 28917: [11/13/2008 23:40:17] DSPAM Instance Shutdown.  Exit Code: 0
> 
> 
> Now when i move the mail again into incoming (also done by user 
> postfix), the mail dont get tagged with "innocent" , it is still tagged 
> "spam".
> 
> How do i get it work all under "clamav"

If you really have a single user for DSPAM, add "antispam_dspam_args =
--user;clamav" to dovecot.conf.

Also, the user running dovecot's mail process needs to be trusted by
DSPAM.

> and why are the removed mails from spam to incoming not tagged with
> "inncoent" ?

dovecot-antispam does not change any headers of the messages you move.

> (do you need any logs?)
> 
> thank you
> 
> marko



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Install Configuring and run.

2008-11-13 Thread Marko Weber

Hello Thorsten,
i got "dovecot-antispam" working now.
also moving mails now fully work.
but retraining dont seems to work fully.

emails that are delivered to mailbox are scanned with user  "clamav"

28799: [11/13/2008 23:26:25] DSPAM Instance Startup
28799: [11/13/2008 23:26:25] input args: /usr/bin/dspam --stdout 
--deliver=spam,innocent --mode=tum --tokenizer=chained,noise 
--enable-signature-headers --user clamav
28799: [11/13/2008 23:26:25] pass-thru args: --tokenizer=chained,noise 
--enable-signature-headers

28799: [11/13/2008 23:26:25] processing user clamav
28799: [11/13/2008 23:26:25] uid = 105, euid = 105, gid = 449, egid = 1000
28799: [11/13/2008 23:26:25] loading preferences for user clamav
28799: [11/13/2008 23:26:25] Loading preferences for uid 1


i dont have a maildrop filter ready yet that move spam tagged mails into 
SPAM folder.

all is delivered to "incoming".
when i now move the mail to SPAM; this is done by user "postfix"



28917: [11/13/2008 23:40:17] DSPAM Instance Startup
28917: [11/13/2008 23:40:17] input args: /usr/bin/dspam --source=error 
--class=spam --signature==?iso-8859-1?Q?1,491930ac25229173225906=0D?=

28917: [11/13/2008 23:40:17] pass-thru args:
28917: [11/13/2008 23:40:17] processing user postfix
28917: [11/13/2008 23:40:17] uid = 207, euid = 207, gid = 207, egid = 1000
28917: [11/13/2008 23:40:17] loading preferences for user postfix
28917: [11/13/2008 23:40:17] Loading preferences for uid 6
28917: [11/13/2008 23:40:17] Loading preferences for uid 0
28917: [11/13/2008 23:40:17] Loading preferences for uid 0
28917: [11/13/2008 23:40:17] default preferences empty. reverting to 
dspam.conf preferences.

28917: [11/13/2008 23:40:17] Loading preferences from dspam.conf
28917: [11/13/2008 23:40:17] using 
/var/spool/dspam/opt-in/local/postfix.dspam as path
28917: [11/13/2008 23:40:17] using 
/var/spool/dspam/opt-out/local/postfix.nodspam as path

28917: [11/13/2008 23:40:17] sedation level set to: 0
28917: [11/13/2008 23:40:17] DSPAM Instance Shutdown.  Exit Code: 0


Now when i move the mail again into incoming (also done by user 
postfix), the mail dont get tagged with "innocent" , it is still tagged 
"spam".


How do i get it work all under "clamav" and why are the removed mails 
from spam to incoming not tagged with "inncoent" ?

(do you need any logs?)

thank you

marko



Thorsten Vollmer schrieb:

On Thu, 2008-11-13 at 21:30 +0100, Marko Weber wrote:
  

Sorry to ask,
so if dovecot-antispam-20080829 dont work for me you mean i should 
install the latest from webpage ?



Yes, dovecot-antispam-1.1 should be sufficient. I already sent you the
link to an updated ebuild. Please be more proactive.

Thorsten

  


Re: [Dovecot] Install Configuring and run.

2008-11-13 Thread Marko Weber

Sorry to ask,
so if dovecot-antispam-20080829 dont work for me you mean i should 
install the latest from webpage ?




Thorsten Vollmer schrieb:

On Thu, 2008-11-13 at 00:24 +0100, Marko Weber wrote:
  

Hello Thorsten thank you for taking time.
I recompiled with -debug, but i also had to set -syslog
otherwise gentoo dont compile. it says then , "useflag syslog enabled 
needs flag debug also set"


we proceed further in the list then ?



Yes, once you have new results.

If dovecot-antispam-20080829 does not yet work for you, please try the
latest version and re-enable debugging.

Thorsten

  


Re: [Dovecot] Install Configuring and run.

2008-11-12 Thread Marko Weber

Hello Thorsten ,
yes dovecot-antispam is installed on my server with the useflag "debug".

Thorsten Vollmer schrieb:

On Tue, 2008-11-11 at 23:10 +0100, Marko Weber wrote:
  

Hello Thorsten ,
sorry then again 
details:  i got dspam working, it now scans incoming mails and tag them 
in the headers.


X-DSPAM-Result: = Spam
X-DSPAM-Confidence: = 0.9984
X-DSPAM-Probability: = 1.
X-DSPAM-Signature: = 1,491930ac25229173225906
X-DSPAM-Factors: 15,

so far okay.

i emerged dovecot-antispam.



Before I look any further: dovecot-antispam in Portage is broken with
USE=debug. Did you set this flag?

  
and thought its easy going , just paste the 
code snippet of man dovecot-antispam to the

imap section in the dovecot.conf . but thats not all i think.

i thought now, when moving a mail from incoming to SPAM something 
happens, but  despam.dbug and /var/log/messages dont show anything happen.


i did this in the dovecot.conf =

 mail_plugins = antispam
  mail_plugin_dir = /usr/lib/dovecot/imap

  plugin {

antispam_trash = trash;Trash;Deleted Items;Deleted Messages
antispam_spam = SPAM;Spam
antispam_dspam_binary = /usr/bin/dspam
antispam_dspam_args = --user;%u

}

but as told above , moving mails into folder SPAM or from SPAM to 
incoming dont causes any action the log.files



when i retstart dovecot i got following output on screen =

/etc/init.d/dovecot restart
Warning: Growing pool 'settings' with: 8192
 * Stopping dovecot ...
[ ok ]
Warning: Growing pool 'settings' with: 8192
 * Starting dovecot ...
Warning: Growing pool 'settings' with: 8192
ILoading modules from directory: /usr/lib/dovecot/imap
WGrowing pool 'module loader' with: 2048
IModule loaded: /usr/lib/dovecot/imap/lib90_antispam_plugin.so
IEffective uid=65534, gid=65534, home=
WGrowing pool 'antispam-pool' with: 2048
[ ok ]

dovecot is running after restart and fully working, accepting mails , 
sending mails all oke.


dunno if i told before to you, i use postfix-dovecot-mysql setup, 
virtual users & domains


if you need any other config file or info lemme know.
i really want this nice tool to get working.

thank you

marko



  


--

--
*Marko Weber* | Administration

*SALON DIGITAL* Media GmbH
Rothenbaumchaussee 19a
20148 Hamburg

T. (040) 429 48 68 - 23
F. (040) 429 48 68 - 20

[EMAIL PROTECTED] 
www.salondigital.de 

--
Geschäftsführung: Stephan Michalik, Ekkehart Opitz
Registergericht: Amtsgericht Hamburg, NR: HRB 78111

NOTE: This communication is confidential and is intended for the use of 
the individual or entity to which it is directed. It may contain 
information that is privileged and exempt from disclosure under 
applicable law. If you are not the intended recipient please notify us 
immediately. You should not copy it or disclose its contents to any 
other person.




Re: [Dovecot] Install Configuring and run.

2008-11-11 Thread Thorsten Vollmer
On Tue, 2008-11-11 at 23:10 +0100, Marko Weber wrote:
> Hello Thorsten ,
> sorry then again 
> details:  i got dspam working, it now scans incoming mails and tag them 
> in the headers.
> 
> X-DSPAM-Result: = Spam
> X-DSPAM-Confidence: = 0.9984
> X-DSPAM-Probability: = 1.
> X-DSPAM-Signature: = 1,491930ac25229173225906
> X-DSPAM-Factors: 15,
> 
> so far okay.
> 
> i emerged dovecot-antispam.

Before I look any further: dovecot-antispam in Portage is broken with
USE=debug. Did you set this flag?

> and thought its easy going , just paste the 
> code snippet of man dovecot-antispam to the
> imap section in the dovecot.conf . but thats not all i think.
> 
> i thought now, when moving a mail from incoming to SPAM something 
> happens, but  despam.dbug and /var/log/messages dont show anything happen.
> 
> i did this in the dovecot.conf =
> 
>  mail_plugins = antispam
>   mail_plugin_dir = /usr/lib/dovecot/imap
> 
>   plugin {
> 
> antispam_trash = trash;Trash;Deleted Items;Deleted Messages
> antispam_spam = SPAM;Spam
> antispam_dspam_binary = /usr/bin/dspam
> antispam_dspam_args = --user;%u
> 
> }
> 
> but as told above , moving mails into folder SPAM or from SPAM to 
> incoming dont causes any action the log.files
> 
> 
> when i retstart dovecot i got following output on screen =
> 
> /etc/init.d/dovecot restart
> Warning: Growing pool 'settings' with: 8192
>  * Stopping dovecot ...
> [ ok ]
> Warning: Growing pool 'settings' with: 8192
>  * Starting dovecot ...
> Warning: Growing pool 'settings' with: 8192
> ILoading modules from directory: /usr/lib/dovecot/imap
> WGrowing pool 'module loader' with: 2048
> IModule loaded: /usr/lib/dovecot/imap/lib90_antispam_plugin.so
> IEffective uid=65534, gid=65534, home=
> WGrowing pool 'antispam-pool' with: 2048
> [ ok ]
> 
> dovecot is running after restart and fully working, accepting mails , 
> sending mails all oke.
> 
> dunno if i told before to you, i use postfix-dovecot-mysql setup, 
> virtual users & domains
> 
> if you need any other config file or info lemme know.
> i really want this nice tool to get working.
> 
> thank you
> 
> marko



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Install Configuring and run.

2008-11-11 Thread Marko Weber

Hello Thorsten ,
sorry then again 
details:  i got dspam working, it now scans incoming mails and tag them 
in the headers.


X-DSPAM-Result: = Spam
X-DSPAM-Confidence: = 0.9984
X-DSPAM-Probability: = 1.
X-DSPAM-Signature: = 1,491930ac25229173225906
X-DSPAM-Factors: 15,

so far okay.

i emerged dovecot-antispam. and thought its easy going , just paste the 
code snippet of man dovecot-antispam to the

imap section in the dovecot.conf . but thats not all i think.

i thought now, when moving a mail from incoming to SPAM something 
happens, but  despam.dbug and /var/log/messages dont show anything happen.


i did this in the dovecot.conf =

mail_plugins = antispam
 mail_plugin_dir = /usr/lib/dovecot/imap

 plugin {

   antispam_trash = trash;Trash;Deleted Items;Deleted Messages
   antispam_spam = SPAM;Spam
   antispam_dspam_binary = /usr/bin/dspam
   antispam_dspam_args = --user;%u

   }

but as told above , moving mails into folder SPAM or from SPAM to 
incoming dont causes any action the log.files



when i retstart dovecot i got following output on screen =

/etc/init.d/dovecot restart
Warning: Growing pool 'settings' with: 8192
* Stopping dovecot 
... 
[ ok ]

Warning: Growing pool 'settings' with: 8192
* Starting dovecot ...
Warning: Growing pool 'settings' with: 8192
ILoading modules from directory: /usr/lib/dovecot/imap
WGrowing pool 'module loader' with: 2048
IModule loaded: /usr/lib/dovecot/imap/lib90_antispam_plugin.so
IEffective uid=65534, gid=65534, home=
WGrowing pool 'antispam-pool' with: 
2048
[ ok ]


dovecot is running after restart and fully working, accepting mails , 
sending mails all oke.


dunno if i told before to you, i use postfix-dovecot-mysql setup, 
virtual users & domains


if you need any other config file or info lemme know.
i really want this nice tool to get working.

thank you

marko




Thorsten Vollmer schrieb:

On Sun, 2008-11-09 at 15:15 +0100, Marko Weber wrote:
  

Hello Thorsten,
i sorted out to get dspam working,
but it tags too much mails as spam, even mials that are not spam,

now thats the poinzt where dovecot-antispam comes in,
now my idea is, that mails that get "spam" tag by dspam,
to retrain by "dovecot-antispam".
but i dont get thru it.
maybe this is now the pont where you can help me ?



Asking for help without providing any detail is rather pointless.

Thorsten

  


Re: [Dovecot] Install Configuring and run.

2008-11-09 Thread Marko Weber

Hello Thorsten,
i sorted out to get dspam working,
but it tags too much mails as spam, even mials that are not spam,

now thats the poinzt where dovecot-antispam comes in,
now my idea is, that mails that get "spam" tag by dspam,
to retrain by "dovecot-antispam".
but i dont get thru it.
maybe this is now the pont where you can help me ?


marko










Thorsten Vollmer schrieb:

On Fri, 2008-11-07 at 13:31 +0100, Marko Weber wrote:
  

Thorsten Vollmer schrieb:

On Thu, 2008-11-06 at 17:03 +0100, Marko Weber wrote: 
  

Ok i summarized some things,
maybe any1 can give a comment to it =

when i restart dovecot i get this =

 /etc/init.d/dovecot restart
Warning: Growing pool 'settings' with: 8192
 * Stopping dovecot 
... 
[ ok ]

Warning: Growing pool 'settings' with: 8192
 * Starting dovecot ...
Warning: Growing pool 'settings' with: 8192
ILoading modules from directory: /usr/lib64/dovecot/imap
WGrowing pool 'module loader' with: 2048
IModule loaded: /usr/lib64/dovecot/imap/lib90_antispam_plugin.so
IEffective uid=65534, gid=65534, home=
WGrowing pool 'antispam-pool' with: 
2048 
[ ok ]



email-headers of  SPAM tagged mails (spamassassin + pyzor + razor detect 
them as spam cause they are spam)

dspam tags the mails like this =

X-DSPAM RESULT  Innocent
X-DSPAM Confidence 0.8505
X-DSPAM Probability 0.


so, Spamassassin detect them as spam and dspam not ? (to an old mail in 
list question , yes i trained ca 10.000 spam mails against some not spam).


because this mail would grown in endless long text i pasted the configs 
on web =


POSTFIX main.cf = http://rafb.net/p/PQy5FN10.html
POSTFIX master.cf = http://rafb.net/p/2l02A087.html
DOVECOT dovecot.conf = http://rafb.net/p/PjvV1h44.html
DSPAM dspam.conf = http://rafb.net/p/7O8lEf46.html



I looked only briefly at the files: You need to set
"signatureLocation=headers", but this is unrelated to your current
problem.

  
  

I use Postfix with "virtual users & domains"

dspam.debug shows this entries when i send a mail to the server = 
http://rafb.net/p/sbEqK070.html



Sending an actual spam message would have been more useful.
  

i forwarded an spam mail to the server with dspam.

http://rafb.net/p/O7jBCp59.html



Do the results improve if you disable the "naive" statistical algorithm?

You may also try Markovian weighting, but you need to disable
ProcessorBias in that case.

Not all combinations of Tokenizer, PValue, Algorithm and ProcessorBias
result in working setups. Try other ones. But remember that you need to
rebuild the corpus if you change the tokenizer.

  
sorry, guys. but how do i get dspam working 100% , and how do i get this 
retraining working ?
where i can move mails out spam into incoming and other way spam from 
incoming to spamfolder to retrain dspam.


yes, maybe alot stuff, but any feel free to help or to explain ?

thanks ahead from hamburg

marko



Re: [Dovecot] Install Configuring and run.

2008-11-07 Thread Charles Marcus
On 11/7/2008 8:07 AM, Thorsten Vollmer wrote:
> Do the results improve if you disable the "naive" statistical algorithm?
> 
> You may also try Markovian weighting, but you need to disable
> ProcessorBias in that case.

This is getting way OT - please take to the DSAPM list or private...

-- 

Best regards,

Charles


Re: [Dovecot] Install Configuring and run.

2008-11-07 Thread Thorsten Vollmer
On Fri, 2008-11-07 at 13:31 +0100, Marko Weber wrote:
> Thorsten Vollmer schrieb:
> > On Thu, 2008-11-06 at 17:03 +0100, Marko Weber wrote: 
> >> Ok i summarized some things,
> >> maybe any1 can give a comment to it =
> >>
> >> when i restart dovecot i get this =
> >>
> >>  /etc/init.d/dovecot restart
> >> Warning: Growing pool 'settings' with: 8192
> >>  * Stopping dovecot 
> >> ...
> >>  
> >> [ ok ]
> >> Warning: Growing pool 'settings' with: 8192
> >>  * Starting dovecot ...
> >> Warning: Growing pool 'settings' with: 8192
> >> ILoading modules from directory: /usr/lib64/dovecot/imap
> >> WGrowing pool 'module loader' with: 2048
> >> IModule loaded: /usr/lib64/dovecot/imap/lib90_antispam_plugin.so
> >> IEffective uid=65534, gid=65534, home=
> >> WGrowing pool 'antispam-pool' with: 
> >> 2048   
> >>   
> >> [ ok ]
> >>
> >>
> >> email-headers of  SPAM tagged mails (spamassassin + pyzor + razor detect 
> >> them as spam cause they are spam)
> >> dspam tags the mails like this =
> >>
> >> X-DSPAM RESULT  Innocent
> >> X-DSPAM Confidence 0.8505
> >> X-DSPAM Probability 0.
> >>
> >>
> >> so, Spamassassin detect them as spam and dspam not ? (to an old mail in 
> >> list question , yes i trained ca 10.000 spam mails against some not spam).
> >>
> >> because this mail would grown in endless long text i pasted the configs 
> >> on web =
> >>
> >> POSTFIX main.cf = http://rafb.net/p/PQy5FN10.html
> >> POSTFIX master.cf = http://rafb.net/p/2l02A087.html
> >> DOVECOT dovecot.conf = http://rafb.net/p/PjvV1h44.html
> >> DSPAM dspam.conf = http://rafb.net/p/7O8lEf46.html
> >> 
> >
> > I looked only briefly at the files: You need to set
> > "signatureLocation=headers", but this is unrelated to your current
> > problem.
> >
> >   
> >> I use Postfix with "virtual users & domains"
> >>
> >> dspam.debug shows this entries when i send a mail to the server = 
> >> http://rafb.net/p/sbEqK070.html
> >> 
> >
> > Sending an actual spam message would have been more useful.
>
> i forwarded an spam mail to the server with dspam.
> 
> http://rafb.net/p/O7jBCp59.html

Do the results improve if you disable the "naive" statistical algorithm?

You may also try Markovian weighting, but you need to disable
ProcessorBias in that case.

Not all combinations of Tokenizer, PValue, Algorithm and ProcessorBias
result in working setups. Try other ones. But remember that you need to
rebuild the corpus if you change the tokenizer.

> >> sorry, guys. but how do i get dspam working 100% , and how do i get this 
> >> retraining working ?
> >> where i can move mails out spam into incoming and other way spam from 
> >> incoming to spamfolder to retrain dspam.
> >>
> >> yes, maybe alot stuff, but any feel free to help or to explain ?
> >>
> >> thanks ahead from hamburg
> >>
> >> marko


signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Install Configuring and run.

2008-11-07 Thread Marko Weber

Hi Thorsten,
i forwarded an spam mail to the server with dspam.

http://rafb.net/p/O7jBCp59.html

thx

marko




Thorsten Vollmer schrieb:
On Thu, 2008-11-06 at 17:03 +0100, Marko Weber wrote: 
  

Ok i summarized some things,
maybe any1 can give a comment to it =

when i restart dovecot i get this =

 /etc/init.d/dovecot restart
Warning: Growing pool 'settings' with: 8192
 * Stopping dovecot 
... 
[ ok ]

Warning: Growing pool 'settings' with: 8192
 * Starting dovecot ...
Warning: Growing pool 'settings' with: 8192
ILoading modules from directory: /usr/lib64/dovecot/imap
WGrowing pool 'module loader' with: 2048
IModule loaded: /usr/lib64/dovecot/imap/lib90_antispam_plugin.so
IEffective uid=65534, gid=65534, home=
WGrowing pool 'antispam-pool' with: 
2048 
[ ok ]



email-headers of  SPAM tagged mails (spamassassin + pyzor + razor detect 
them as spam cause they are spam)

dspam tags the mails like this =

X-DSPAM RESULT  Innocent
X-DSPAM Confidence 0.8505
X-DSPAM Probability 0.


so, Spamassassin detect them as spam and dspam not ? (to an old mail in 
list question , yes i trained ca 10.000 spam mails against some not spam).


because this mail would grown in endless long text i pasted the configs 
on web =


POSTFIX main.cf = http://rafb.net/p/PQy5FN10.html
POSTFIX master.cf = http://rafb.net/p/2l02A087.html
DOVECOT dovecot.conf = http://rafb.net/p/PjvV1h44.html
DSPAM dspam.conf = http://rafb.net/p/7O8lEf46.html



I looked only briefly at the files: You need to set
"signatureLocation=headers", but this is unrelated to your current
problem.

  

I use Postfix with "virtual users & domains"

dspam.debug shows this entries when i send a mail to the server = 
http://rafb.net/p/sbEqK070.html



Sending an actual spam message would have been more useful.

  
sorry, guys. but how do i get dspam working 100% , and how do i get this 
retraining working ?
where i can move mails out spam into incoming and other way spam from 
incoming to spamfolder to retrain dspam.


yes, maybe alot stuff, but any feel free to help or to explain ?

thanks ahead from hamburg

marko



  


--

--
*Marko Weber* | Administration

*SALON DIGITAL* Media GmbH
Rothenbaumchaussee 19a
20148 Hamburg

T. (040) 429 48 68 - 23
F. (040) 429 48 68 - 20

[EMAIL PROTECTED] 
www.salondigital.de 

--
Geschäftsführung: Stephan Michalik, Ekkehart Opitz
Registergericht: Amtsgericht Hamburg, NR: HRB 78111

NOTE: This communication is confidential and is intended for the use of 
the individual or entity to which it is directed. It may contain 
information that is privileged and exempt from disclosure under 
applicable law. If you are not the intended recipient please notify us 
immediately. You should not copy it or disclose its contents to any 
other person.




Re: [Dovecot] Install Configuring and run.

2008-11-06 Thread Thorsten Vollmer
On Thu, 2008-11-06 at 17:57 +0100, Marko Weber wrote: 
> clamav
> TP:  1369 TN:  9765 FP: 3 FN:25 SC:10 NC: 1
> dspam
> TP: 11092 TN:  2824 FP: 2 FN:28 SC: 9 NC: 1
> root
> TP: 11069 TN:  2810 FP: 3 FN:40 SC:11 NC: 1
> 
> i get this on dspam_stats Thorsten

I asked for dspam_dump as well. Are there tokens with spam hits?

But as I said before, your problem is with DSPAM, and you should ask for
help on DSPAM's mailing list.

Regards,
Thorsten



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Install Configuring and run.

2008-11-06 Thread Thorsten Vollmer
On Thu, 2008-11-06 at 17:03 +0100, Marko Weber wrote: 
> Ok i summarized some things,
> maybe any1 can give a comment to it =
> 
> when i restart dovecot i get this =
> 
>  /etc/init.d/dovecot restart
> Warning: Growing pool 'settings' with: 8192
>  * Stopping dovecot 
> ...   
>   
> [ ok ]
> Warning: Growing pool 'settings' with: 8192
>  * Starting dovecot ...
> Warning: Growing pool 'settings' with: 8192
> ILoading modules from directory: /usr/lib64/dovecot/imap
> WGrowing pool 'module loader' with: 2048
> IModule loaded: /usr/lib64/dovecot/imap/lib90_antispam_plugin.so
> IEffective uid=65534, gid=65534, home=
> WGrowing pool 'antispam-pool' with: 
> 2048  
>
> [ ok ]
> 
> 
> email-headers of  SPAM tagged mails (spamassassin + pyzor + razor detect 
> them as spam cause they are spam)
> dspam tags the mails like this =
> 
> X-DSPAM RESULT  Innocent
> X-DSPAM Confidence 0.8505
> X-DSPAM Probability 0.
> 
> 
> so, Spamassassin detect them as spam and dspam not ? (to an old mail in 
> list question , yes i trained ca 10.000 spam mails against some not spam).
> 
> because this mail would grown in endless long text i pasted the configs 
> on web =
> 
> POSTFIX main.cf = http://rafb.net/p/PQy5FN10.html
> POSTFIX master.cf = http://rafb.net/p/2l02A087.html
> DOVECOT dovecot.conf = http://rafb.net/p/PjvV1h44.html
> DSPAM dspam.conf = http://rafb.net/p/7O8lEf46.html

I looked only briefly at the files: You need to set
"signatureLocation=headers", but this is unrelated to your current
problem.

> I use Postfix with "virtual users & domains"
> 
> dspam.debug shows this entries when i send a mail to the server = 
> http://rafb.net/p/sbEqK070.html

Sending an actual spam message would have been more useful.

> sorry, guys. but how do i get dspam working 100% , and how do i get this 
> retraining working ?
> where i can move mails out spam into incoming and other way spam from 
> incoming to spamfolder to retrain dspam.
> 
> yes, maybe alot stuff, but any feel free to help or to explain ?
> 
> thanks ahead from hamburg
> 
> marko



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Install Configuring and run.

2008-11-06 Thread Marko Weber

clamav
   TP:  1369 TN:  9765 FP: 3 FN:25 SC:10 NC: 1
dspam
   TP: 11092 TN:  2824 FP: 2 FN:28 SC: 9 NC: 1
root
   TP: 11069 TN:  2810 FP: 3 FN:40 SC:11 NC: 1

i get this on dspam_stats Thorsten

marko




Thorsten Vollmer schrieb:

On Thu, 2008-11-06 at 17:03 +0100, Marko Weber wrote:
  

Ok i summarized some things,
maybe any1 can give a comment to it =

when i restart dovecot i get this =

 /etc/init.d/dovecot restart
Warning: Growing pool 'settings' with: 8192
 * Stopping dovecot 
... 
[ ok ]

Warning: Growing pool 'settings' with: 8192
 * Starting dovecot ...
Warning: Growing pool 'settings' with: 8192
ILoading modules from directory: /usr/lib64/dovecot/imap
WGrowing pool 'module loader' with: 2048
IModule loaded: /usr/lib64/dovecot/imap/lib90_antispam_plugin.so
IEffective uid=65534, gid=65534, home=
WGrowing pool 'antispam-pool' with: 
2048 
[ ok ]



email-headers of  SPAM tagged mails (spamassassin + pyzor + razor detect 
them as spam cause they are spam)

dspam tags the mails like this =

X-DSPAM RESULT  Innocent
X-DSPAM Confidence 0.8505
X-DSPAM Probability 0.


so, Spamassassin detect them as spam and dspam not ? (to an old mail in 
list question , yes i trained ca 10.000 spam mails against some not spam).



Did you verify that the training was successful? dspam_dump, dspam_stats

  
because this mail would grown in endless long text i pasted the configs 
on web =


POSTFIX main.cf = http://rafb.net/p/PQy5FN10.html
POSTFIX master.cf = http://rafb.net/p/2l02A087.html
DOVECOT dovecot.conf = http://rafb.net/p/PjvV1h44.html
DSPAM dspam.conf = http://rafb.net/p/7O8lEf46.html

I use Postfix with "virtual users & domains"

dspam.debug shows this entries when i send a mail to the server = 
http://rafb.net/p/sbEqK070.html



sorry, guys. but how do i get dspam working 100% , and how do i get this 
retraining working ?
where i can move mails out spam into incoming and other way spam from 
incoming to spamfolder to retrain dspam.


yes, maybe alot stuff, but any feel free to help or to explain ?

thanks ahead from hamburg

marko



  


Re: [Dovecot] Install Configuring and run.

2008-11-06 Thread Thorsten Vollmer
On Thu, 2008-11-06 at 17:03 +0100, Marko Weber wrote:
> Ok i summarized some things,
> maybe any1 can give a comment to it =
> 
> when i restart dovecot i get this =
> 
>  /etc/init.d/dovecot restart
> Warning: Growing pool 'settings' with: 8192
>  * Stopping dovecot 
> ...   
>   
> [ ok ]
> Warning: Growing pool 'settings' with: 8192
>  * Starting dovecot ...
> Warning: Growing pool 'settings' with: 8192
> ILoading modules from directory: /usr/lib64/dovecot/imap
> WGrowing pool 'module loader' with: 2048
> IModule loaded: /usr/lib64/dovecot/imap/lib90_antispam_plugin.so
> IEffective uid=65534, gid=65534, home=
> WGrowing pool 'antispam-pool' with: 
> 2048  
>
> [ ok ]
> 
> 
> email-headers of  SPAM tagged mails (spamassassin + pyzor + razor detect 
> them as spam cause they are spam)
> dspam tags the mails like this =
> 
> X-DSPAM RESULT  Innocent
> X-DSPAM Confidence 0.8505
> X-DSPAM Probability 0.
> 
> 
> so, Spamassassin detect them as spam and dspam not ? (to an old mail in 
> list question , yes i trained ca 10.000 spam mails against some not spam).

Did you verify that the training was successful? dspam_dump, dspam_stats

> because this mail would grown in endless long text i pasted the configs 
> on web =
> 
> POSTFIX main.cf = http://rafb.net/p/PQy5FN10.html
> POSTFIX master.cf = http://rafb.net/p/2l02A087.html
> DOVECOT dovecot.conf = http://rafb.net/p/PjvV1h44.html
> DSPAM dspam.conf = http://rafb.net/p/7O8lEf46.html
> 
> I use Postfix with "virtual users & domains"
> 
> dspam.debug shows this entries when i send a mail to the server = 
> http://rafb.net/p/sbEqK070.html
> 
> 
> sorry, guys. but how do i get dspam working 100% , and how do i get this 
> retraining working ?
> where i can move mails out spam into incoming and other way spam from 
> incoming to spamfolder to retrain dspam.
> 
> yes, maybe alot stuff, but any feel free to help or to explain ?
> 
> thanks ahead from hamburg
> 
> marko



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Install Configuring and run.

2008-11-06 Thread Thorsten Vollmer
On Wed, 2008-11-05 at 22:31 +0100, Marko Weber wrote:
> yes it "seems" to work. But it tags all mails as "innocent". everyone.
> even mails that are marked by sapmassassin , dspam marks them as 
> "innocent".

You should really solve your problem with DSPAM before using
dovecot-antispam.

DSPAM's mailing list is the more appropriate place for these issues, but
I will give some hints:

 1. Do the initial testing according to DSPAM's README.
 2. Perform extensive training using dspam_train. Subsequently, the
hit rate should be very high.
 3. Correct further misclassifications with dspam --source=error
--class=innocent|spam --signature=... [--user ...], and verify
the result using dspam_stats.

Unless you successfully complete these steps, the problem is not with
dovecot-antispam.

Regards,
Thorsten



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Install Configuring and run.

2008-11-06 Thread Marko Weber

Ok i summarized some things,
maybe any1 can give a comment to it =

when i restart dovecot i get this =

/etc/init.d/dovecot restart
Warning: Growing pool 'settings' with: 8192
* Stopping dovecot 
... 
[ ok ]

Warning: Growing pool 'settings' with: 8192
* Starting dovecot ...
Warning: Growing pool 'settings' with: 8192
ILoading modules from directory: /usr/lib64/dovecot/imap
WGrowing pool 'module loader' with: 2048
IModule loaded: /usr/lib64/dovecot/imap/lib90_antispam_plugin.so
IEffective uid=65534, gid=65534, home=
WGrowing pool 'antispam-pool' with: 
2048 
[ ok ]



email-headers of  SPAM tagged mails (spamassassin + pyzor + razor detect 
them as spam cause they are spam)

dspam tags the mails like this =

X-DSPAM RESULT  Innocent
X-DSPAM Confidence 0.8505
X-DSPAM Probability 0.


so, Spamassassin detect them as spam and dspam not ? (to an old mail in 
list question , yes i trained ca 10.000 spam mails against some not spam).


because this mail would grown in endless long text i pasted the configs 
on web =


POSTFIX main.cf = http://rafb.net/p/PQy5FN10.html
POSTFIX master.cf = http://rafb.net/p/2l02A087.html
DOVECOT dovecot.conf = http://rafb.net/p/PjvV1h44.html
DSPAM dspam.conf = http://rafb.net/p/7O8lEf46.html

I use Postfix with "virtual users & domains"

dspam.debug shows this entries when i send a mail to the server = 
http://rafb.net/p/sbEqK070.html



sorry, guys. but how do i get dspam working 100% , and how do i get this 
retraining working ?
where i can move mails out spam into incoming and other way spam from 
incoming to spamfolder to retrain dspam.


yes, maybe alot stuff, but any feel free to help or to explain ?

thanks ahead from hamburg

marko













Marko Weber schrieb:

Hello ,
yes it "seems" to work. But it tags all mails as "innocent". everyone.
even mails that are marked by sapmassassin , dspam marks them as 
"innocent".


my goal is to work with dspam that it scans incoming mails and that 
this training via moving mails works.
if i understand the dovecot-antispam right, = dspam scans mails on 
incoming, marks them. then via maildrop i can put them all into folder 
"SPAM" at example.
when dspam tagged a mail as "spam" that is "not" spam., then i can 
move the mail from the SPAM folder into normal incoming folder. dspam 
then retrain the mail.
also other way. if a mail comes into the normal incoming and is spam, 
i can then move the mail into SPAM and dspam get retrained.


sorry guys, i am not all a pro, but now, i sit since 7 days on it to 
get it work., i am very willing get this work.


so any1 can help me maybe to get this working ?  i can paste all 
needed info u need to help me.

at moment i stuck.
dspam runs and marks mails, but i am sure i did some things wrong.

totally wrackey marko from hamburg :-)



thx

Thorsten Vollmer schrieb:

On Wed, 2008-11-05 at 18:39 +0100, Thorsten Vollmer wrote:
 

On Mon, 2008-11-03 at 15:39 +0100, Marko Weber wrote:
   

Hello,.
i installed dovecot with virtual user and domains.
but i dont get thru "dovecot-antispam" config.

is there any HOWTO, for gentoo , how to setup and configure 
dovecot-antispam ?

with examples for the config files ?
  

I assume that you have read antispam(7).



dovecot-antispam(7) on Gentoo

 

What other information do you need?

   

maybe i have dspam self totally wrong configured.
  

Did you verify that DSPAM works independently, i.e. without
dovecot-antispam?

Regards,
Thorsten



  




Re: [Dovecot] Install Configuring and run.

2008-11-05 Thread Charles Marcus
On 11/5/2008, Marko Weber ([EMAIL PROTECTED]) wrote:
> even mails that are marked by sapmassassin , dspam marks them as "innocent".

How big is your spam/ham corpus? You do realize DSPAM requires a
considerable amount of 'training' - meaning, a LOT of ham/spam in the
corpus - before it starts to show its effectiveness?

ASSP may be a better fit if you want out of the box effectiveness, but
it doesn't have individual quarantines, etc...

-- 

Best regards,

Charles


Re: [Dovecot] Install Configuring and run.

2008-11-05 Thread Marko Weber

Hello ,
yes it "seems" to work. But it tags all mails as "innocent". everyone.
even mails that are marked by sapmassassin , dspam marks them as 
"innocent".


my goal is to work with dspam that it scans incoming mails and that this 
training via moving mails works.
if i understand the dovecot-antispam right, = dspam scans mails on 
incoming, marks them. then via maildrop i can put them all into folder 
"SPAM" at example.
when dspam tagged a mail as "spam" that is "not" spam., then i can move 
the mail from the SPAM folder into normal incoming folder. dspam then 
retrain the mail.
also other way. if a mail comes into the normal incoming and is spam, i 
can then move the mail into SPAM and dspam get retrained.


sorry guys, i am not all a pro, but now, i sit since 7 days on it to get 
it work., i am very willing get this work.


so any1 can help me maybe to get this working ?  i can paste all needed 
info u need to help me.

at moment i stuck.
dspam runs and marks mails, but i am sure i did some things wrong.

totally wrackey marko from hamburg :-)



thx

Thorsten Vollmer schrieb:

On Wed, 2008-11-05 at 18:39 +0100, Thorsten Vollmer wrote:
  

On Mon, 2008-11-03 at 15:39 +0100, Marko Weber wrote:


Hello,.
i installed dovecot with virtual user and domains.
but i dont get thru "dovecot-antispam" config.

is there any HOWTO, for gentoo , how to setup and configure 
dovecot-antispam ?

with examples for the config files ?
  

I assume that you have read antispam(7).



dovecot-antispam(7) on Gentoo

  

What other information do you need?



maybe i have dspam self totally wrong configured.
  

Did you verify that DSPAM works independently, i.e. without
dovecot-antispam?

Regards,
Thorsten



  


Re: [Dovecot] Install Configuring and run.

2008-11-05 Thread Marko Weber



Thorsten Vollmer schrieb:

On Wed, 2008-11-05 at 18:39 +0100, Thorsten Vollmer wrote:
  

On Mon, 2008-11-03 at 15:39 +0100, Marko Weber wrote:


Hello,.
i installed dovecot with virtual user and domains.
but i dont get thru "dovecot-antispam" config.

is there any HOWTO, for gentoo , how to setup and configure 
dovecot-antispam ?

with examples for the config files ?
  

I assume that you have read antispam(7).



dovecot-antispam(7) on Gentoo

  

What other information do you need?



maybe i have dspam self totally wrong configured.
  

Did you verify that DSPAM works independently, i.e. without
dovecot-antispam?

Regards,
Thorsten



  


Re: [Dovecot] Install Configuring and run.

2008-11-05 Thread Thorsten Vollmer
On Wed, 2008-11-05 at 18:39 +0100, Thorsten Vollmer wrote:
> On Mon, 2008-11-03 at 15:39 +0100, Marko Weber wrote:
> > Hello,.
> > i installed dovecot with virtual user and domains.
> > but i dont get thru "dovecot-antispam" config.
> > 
> > is there any HOWTO, for gentoo , how to setup and configure 
> > dovecot-antispam ?
> > with examples for the config files ?
> 
> I assume that you have read antispam(7).

dovecot-antispam(7) on Gentoo

> What other information do you need?
> 
> > maybe i have dspam self totally wrong configured.
> 
> Did you verify that DSPAM works independently, i.e. without
> dovecot-antispam?
> 
> Regards,
> Thorsten



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Install Configuring and run.

2008-11-05 Thread Thorsten Vollmer
On Mon, 2008-11-03 at 15:39 +0100, Marko Weber wrote:
> Hello,.
> i installed dovecot with virtual user and domains.
> but i dont get thru "dovecot-antispam" config.
> 
> is there any HOWTO, for gentoo , how to setup and configure 
> dovecot-antispam ?
> with examples for the config files ?

I assume that you have read antispam(7). What other information
do you need?

> maybe i have dspam self totally wrong configured.

Did you verify that DSPAM works independently, i.e. without
dovecot-antispam?

Regards,
Thorsten



signature.asc
Description: This is a digitally signed message part