antispam plugin with IMAPSieve

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

antispam plugin with IMAPSieve

j.emerlik
Hi,
my dovecot is configured with IMAP Sieve antispam plugin (sa-learn),
everything seems to be working correctly but in debug mode in my log file I
noticed "dovecot: imap: Error".

Last 14 lines od my log file:
Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.040 [10743]
dbg: bayes: tokenized header: 90 tokens
Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.067 [10743]
dbg: bayes: seen (8e031cc9fec44b6607dc7f6b37903fc49e9c8526@sa_generated) put
Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.067 [10743]
dbg: bayes: learned '8e031cc9fec44b6607dc7f6b37903fc49e9c8526@sa_generated',
atime: 1509457623
Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.068 [10743]
dbg: plugin: Mail::SpamAssassin::Plugin::Bayes=HASH(0x2adc340) implements
'learner_close', priority 0
Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.033 [10743]
dbg: bayes: using userid: 7
Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.037 [10743]
dbg: bayes: tokenized body: 174 tokens
Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.037 [10743]
dbg: bayes: tokenized uri: 0 tokens
Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.037 [10743]
dbg: bayes: tokenized invisible: 0 tokens
Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.040 [10743]
dbg: bayes: tokenized header: 90 tokens
Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.067 [10743]
dbg: bayes: seen (8e031cc9fec44b6607dc7f6b37903fc49e9c8526@sa_generated) put
Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.067 [10743]
dbg: bayes: learned '8e031cc9fec44b6607dc7f6b37903fc49e9c8526@sa_generated',
atime: 1509457623

Logs looks good and I don't understand "Error:" from log, It looks like
sa-learn is connected to database and learned bayes.

Error in log it's normal or It's means that it not work ?

Regards,
Jack
Reply | Threaded
Open this post in threaded view
|

Re: antispam plugin with IMAPSieve

Stephan Bosch-2
Op 31-10-2017 om 15:33 schreef j.emerlik:

> Hi,
> my dovecot is configured with IMAP Sieve antispam plugin (sa-learn),
> everything seems to be working correctly but in debug mode in my log file I
> noticed "dovecot: imap: Error".
>
> Last 14 lines od my log file:
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.040 [10743]
> dbg: bayes: tokenized header: 90 tokens
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.067 [10743]
> dbg: bayes: seen (8e031cc9fec44b6607dc7f6b37903fc49e9c8526@sa_generated) put
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.067 [10743]
> dbg: bayes: learned '8e031cc9fec44b6607dc7f6b37903fc49e9c8526@sa_generated',
> atime: 1509457623
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.068 [10743]
> dbg: plugin: Mail::SpamAssassin::Plugin::Bayes=HASH(0x2adc340) implements
> 'learner_close', priority 0
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.033 [10743]
> dbg: bayes: using userid: 7
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.037 [10743]
> dbg: bayes: tokenized body: 174 tokens
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.037 [10743]
> dbg: bayes: tokenized uri: 0 tokens
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.037 [10743]
> dbg: bayes: tokenized invisible: 0 tokens
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.040 [10743]
> dbg: bayes: tokenized header: 90 tokens
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.067 [10743]
> dbg: bayes: seen (8e031cc9fec44b6607dc7f6b37903fc49e9c8526@sa_generated) put
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.067 [10743]
> dbg: bayes: learned '8e031cc9fec44b6607dc7f6b37903fc49e9c8526@sa_generated',
> atime: 1509457623
>
> Logs looks good and I don't understand "Error:" from log, It looks like
> sa-learn is connected to database and learned bayes.
>
> Error in log it's normal or It's means that it not work ?

Looks like something is sent to stderr from the shell script. Afaik,
that ends up in error log.

Regards,

Stephan.