Olà Hugo,

Le mardi 21 juillet 2009 à 20:23 +0200, Julien Valroff a écrit :
> Le mardi 21 juillet 2009 à 06:31 +0200, Julien Valroff a écrit :
> > Hi Hugo,
> > 
> > Le mardi 21 juillet 2009 à 01:39 +0100, Hugo Monteiro a écrit :
> > > Julien Valroff wrote:
> > > > Hi,
> > > >
> > > > I have quite often (let's say once or twice per day) the following
> > > > errors in my logs:
> > > >
> > > > Jul 20 18:40:02 nix dspam[7668]: _ds_pref_load: unable to initialize 
> > > > tools context
> > > > Jul 20 18:40:02 nix dspam[7668]: _ds_pref_load: unable to initialize 
> > > > tools context
> > > > Jul 20 18:40:02 nix dspam[7668]: _ds_pref_load: unable to initialize 
> > > > tools context
> > > > Jul 20 18:40:02 nix dspam[7668]: Unable to attach DSPAM context. 
> > > > Retrying.
> > > >
> > [...]
> > > 
> > > Hi Julien,
> > > 
> > > Looks like a message with multiple recipients. The valid ones get 
> > > through, i would say.
> > 
> > I think you are right. However, it does not explain the errors I get in
> > my logs (I am not sure they are related to the multiple recipients
> > mail!)
> 
> I had exactly the same scenario a few minutes ago.
> I attach the full mail transcription - the same email was sent to 2
> existing users, it seems in that case, dspam fails to get the
> preferences for one of them.

Again the same issue twice this afternoon:

Jul 24 16:46:15 nix dspam[25228]: _ds_pref_load: unable to initialize tools 
context
Jul 24 16:46:15 nix dspam[25228]: _ds_pref_load: unable to initialize tools 
context
Jul 24 16:46:15 nix dspam[25228]: _ds_pref_load: unable to initialize tools 
context
Jul 24 16:46:15 nix dspam[25228]: Unable to attach DSPAM context. Retrying.
Jul 24 16:55:48 nix dspam[25228]: _ds_pref_load: unable to initialize tools 
context
Jul 24 16:55:48 nix dspam[25228]: _ds_pref_load: unable to initialize tools 
context
Jul 24 16:55:48 nix dspam[25228]: _ds_pref_load: unable to initialize tools 
context
Jul 24 16:55:48 nix dspam[25228]: Unable to attach DSPAM context. Retrying.

Regarding the first error: I received a tagged spam into my mailbox (my
user preference is to quarantine spam)
The same mail was sent twice (see the attached log) and the other one
was quarantined as expected.

Regarding the second error: it was a single mail from the dspam-user
mailing list.

I have no idea what can cause this error. I first thought this could be
linked to simultaneous connections to my MySQL server (I run DSPAM on a
Linode VPS for a few users, nothing's overloaded), but the last error
shows this is not the case as it was a single mail!

> By the way, don't you think the chronology of postfix logs is incorrect
> in my case?? Just wondering if this was normal...

I haven't been able to find the reason for this - I know it is not the
right mailing list, but thought someone could help me on this other
issue?

Thanks in advance for your help
Um bom fim de semana a todos
Julien
Jul 24 16:46:14 nix postfix/smtpd[15027]: connect from coin.coloria.ca[194.242.113.83]
Jul 24 16:46:14 nix postfix/smtpd[15025]: connect from coin.coloria.ca[194.242.113.83]
Jul 24 16:46:14 nix postfix/smtpd[15027]: NOQUEUE: filter: RCPT from coin.coloria.ca[194.242.113.83]: <us...@domain.com>: Recipient address triggers FILTER dspam:dspam; from=<asso-bounce-98-10a5a63636523be17ce9f5ab057b1...@france.debian.net> to=<us...@domain.com> proto=ESMTP helo=<coin.coloria.ca>
Jul 24 16:46:14 nix postfix/smtpd[15025]: NOQUEUE: filter: RCPT from coin.coloria.ca[194.242.113.83]: <us...@domain.com>: Recipient address triggers FILTER dspam:dspam; from=<asso-bounce-98-10a5a63636523be17ce9f5ab057b1...@france.debian.net> to=<us...@domain.com> proto=ESMTP helo=<coin.coloria.ca>
Jul 24 16:46:14 nix postfix/smtpd[15027]: 78A242BE18: client=coin.coloria.ca[194.242.113.83]
Jul 24 16:46:14 nix postfix/smtpd[15025]: 7A8342BF7F: client=coin.coloria.ca[194.242.113.83]
Jul 24 16:46:14 nix postfix/cleanup[15033]: 78A242BE18: message-id=<453645.26308...@web59512.mail.ac4.yahoo.com>
Jul 24 16:46:14 nix postfix/cleanup[15034]: 7A8342BF7F: message-id=<453645.26308...@web59512.mail.ac4.yahoo.com>
Jul 24 16:46:15 nix dkim-filter[31454]: 7A8342BF7F: bad signature data
Jul 24 16:46:15 nix dkim-filter[31454]: 78A242BE18: bad signature data
Jul 24 16:46:15 nix postfix/qmgr[21165]: 78A242BE18: from=<asso-bounce-98-10a5a63636523be17ce9f5ab057b1...@france.debian.net>, size=6842, nrcpt=1 (queue active)
Jul 24 16:46:15 nix postfix/qmgr[21165]: 7A8342BF7F: from=<asso-bounce-98-10a5a63636523be17ce9f5ab057b1...@france.debian.net>, size=6842, nrcpt=1 (queue active)
Jul 24 16:46:15 nix postfix/smtpd[15025]: disconnect from coin.coloria.ca[194.242.113.83]
Jul 24 16:46:15 nix postfix/smtpd[15027]: disconnect from coin.coloria.ca[194.242.113.83]
Jul 24 16:46:15 nix dspam[25228]: _ds_pref_load: unable to initialize tools context
Jul 24 16:46:15 nix dspam[25228]: _ds_pref_load: unable to initialize tools context
Jul 24 16:46:15 nix dspam[25228]: _ds_pref_load: unable to initialize tools context
Jul 24 16:46:15 nix dspam[25228]: Unable to attach DSPAM context. Retrying.
Jul 24 16:46:15 nix dspam[25228]: spam detected from 194.242.113.83
Jul 24 16:46:15 nix dspam[25228]: spam detected from 194.242.113.83
Jul 24 16:46:15 nix postfix/pipe[15039]: 78A242BE18: to=<us...@domain.com>, relay=dspam, delay=1.2, delays=0.76/0.01/0/0.43, dsn=2.0.0, status=sent (delivered via dspam service)
Jul 24 16:46:15 nix postfix/qmgr[21165]: 78A242BE18: removed
Jul 24 16:46:15 nix postfix/smtpd[15047]: connect from localhost.localdomain[127.0.0.1]
Jul 24 16:46:15 nix postfix/smtpd[15047]: 8DA342BE18: client=localhost.localdomain[127.0.0.1]
Jul 24 16:46:15 nix postfix/cleanup[15034]: 8DA342BE18: message-id=<453645.26308...@web59512.mail.ac4.yahoo.com>
Jul 24 16:46:15 nix postfix/qmgr[21165]: 8DA342BE18: from=<asso-bounce-98-10a5a63636523be17ce9f5ab057b1...@france.debian.net>, size=7372, nrcpt=1 (queue active)
Jul 24 16:46:15 nix postfix/smtpd[15047]: disconnect from localhost.localdomain[127.0.0.1]
Jul 24 16:46:15 nix postfix/pipe[15040]: 7A8342BF7F: to=<us...@domain.com>, relay=dspam, delay=1.4, delays=0.72/0.01/0/0.68, dsn=2.0.0, status=sent (delivered via dspam service)
Jul 24 16:46:15 nix postfix/qmgr[21165]: 7A8342BF7F: removed
Jul 24 16:46:15 nix dovecot: auth-worker(default): mysql: Connected to 127.0.0.1 (postfix)
Jul 24 16:46:15 nix postfix/pipe[15048]: 8DA342BE18: to=<us...@domain.com>, relay=dovecot, delay=0.23, delays=0.21/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
Jul 24 16:46:15 nix postfix/qmgr[21165]: 8DA342BE18: removed

[...]

Jul 24 16:55:47 nix postfix/smtpd[15589]: connect from lists.sourceforge.net[216.34.181.88]
Jul 24 16:55:48 nix postfix/smtpd[15589]: NOQUEUE: filter: RCPT from lists.sourceforge.net[216.34.181.88]: <us...@domain.com>: Recipient address triggers FILTER dspam:dspam; from=<dspam-user-boun...@lists.sourceforge.net> to=<us...@domain.com> proto=ESMTP helo=<lists.sourceforge.net>
Jul 24 16:55:48 nix postfix/smtpd[15589]: 3EB4B2BE18: client=lists.sourceforge.net[216.34.181.88]
Jul 24 16:55:48 nix postfix/cleanup[15596]: 3EB4B2BE18: message-id=<57286a360907240750h1375191v31a7b4f6c461d...@mail.gmail.com>
Jul 24 16:55:48 nix dkim-filter[31454]: 3EB4B2BE18: no signature data
Jul 24 16:55:48 nix postfix/qmgr[21165]: 3EB4B2BE18: from=<dspam-user-boun...@lists.sourceforge.net>, size=13565, nrcpt=1 (queue active)
Jul 24 16:55:48 nix postfix/smtpd[15589]: disconnect from lists.sourceforge.net[216.34.181.88]
Jul 24 16:55:48 nix dspam[25228]: _ds_pref_load: unable to initialize tools context
Jul 24 16:55:48 nix dspam[25228]: _ds_pref_load: unable to initialize tools context
Jul 24 16:55:48 nix dspam[25228]: _ds_pref_load: unable to initialize tools context
Jul 24 16:55:48 nix dspam[25228]: Unable to attach DSPAM context. Retrying.
Jul 24 16:55:48 nix postfix/smtpd[15604]: connect from localhost.localdomain[127.0.0.1]
Jul 24 16:55:48 nix postfix/smtpd[15604]: AF4E92BF7F: client=localhost.localdomain[127.0.0.1]
Jul 24 16:55:48 nix postfix/cleanup[15596]: AF4E92BF7F: message-id=<57286a360907240750h1375191v31a7b4f6c461d...@mail.gmail.com>
Jul 24 16:55:48 nix postfix/qmgr[21165]: AF4E92BF7F: from=<dspam-user-boun...@lists.sourceforge.net>, size=13984, nrcpt=1 (queue active)
Jul 24 16:55:48 nix postfix/smtpd[15604]: disconnect from localhost.localdomain[127.0.0.1]
Jul 24 16:55:48 nix postfix/pipe[15599]: 3EB4B2BE18: to=<us...@domain.com>, relay=dspam, delay=0.78, delays=0.21/0.01/0/0.56, dsn=2.0.0, status=sent (delivered via dspam service)
Jul 24 16:55:48 nix postfix/qmgr[21165]: 3EB4B2BE18: removed
Jul 24 16:55:48 nix postfix/pipe[15605]: AF4E92BF7F: to=<us...@domain.com>, relay=dovecot, delay=0.27, delays=0.25/0.01/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Jul 24 16:55:48 nix postfix/qmgr[21165]: AF4E92BF7F: removed

------------------------------------------------------------------------------
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to