antispam plugin with IMAPSieve

Stephan Bosch stephan at rename-it.nl
Tue Oct 31 16:44:46 EET 2017


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 at sa_generated) put
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.067 [10743]
> dbg: bayes: learned '8e031cc9fec44b6607dc7f6b37903fc49e9c8526 at 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 at sa_generated) put
> Oct 31 15:05:25 mnode1 dovecot: imap: Error: Oct 31 15:05:25.067 [10743]
> dbg: bayes: learned '8e031cc9fec44b6607dc7f6b37903fc49e9c8526 at 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.



More information about the dovecot mailing list