search for: mail_get_headers

Displaying 7 results from an estimated 7 matches for "mail_get_headers".

2016 Nov 28
6
Antispam plugin: insufficent error messages
Hi! "Dovecot always logs a detailed error message if something goes wrong. If it doesn't, it's considered a bug and will be fixed." (http:// wiki2.dovecot.org/Logging) I'm trying to set up a spam filter with dovecot-antispam and dspam as backend. When I move a spam message from INBOX to Spam, I get this in syslog: Nov 28 21:15:58 desktop imap: antispam:
2016 Dec 17
0
Antispam plugin: insufficent error messages
...ist = item; > > return 0; > } > > So, what's happening is "antispam signature not found". My question: What > does this mean? What's going on? > I too encountered this same issue after upgrading to 2.2.27. I traced it to an apparent change in Dovecot's mail_get_headers() function, which now returns a non-zero value even when the header is found. This wasn't the behavior in 2.2.24, though I'm not sure if it was in .25 or .26. I haven't tracked down the details further. Anyway, the antispam plugin uses this API to find the X-DSPAM-Signature header, and...
2010 Feb 10
1
Get some headers Variables
Hello Everyone again !! I'm putting more functions in my plugin, and would need to access a value of one variable that is going to put in the header, how can I get this value by dovecot? example, I have the header: X-ThereisMy: yes How can I get this value inside a plugin ? There is something like getHeaderVar("X-ThereisMy") ?
2013 Nov 10
1
sieve + notify + $subject$ + empty subject = segv
...ine notify :method "mailto" :options "xyz" :message "$from$*#+$subject$"; and send a mail without a Subject: header line lmtp crashes. The bug is related to the sieve module in /src/lib-sieve/plugins/notify/ext-notify-common.c:266. The line contains only a check if mail_get_headers_utf8 returns an error. So the workaround for this line would be to add a check if header[0] is not NULL. if ( (mail_get_headers_utf8(msgdata->mail, "subject", &header) >= 0) && header[0] ) str_append(out_msg, head...
2007 Oct 28
5
v1.0.6 released
http://dovecot.org/releases/1.0/dovecot-1.0.6.tar.gz http://dovecot.org/releases/1.0/dovecot-1.0.6.tar.gz.sig * IDLE: Interval between mailbox change notifies is now 1 second, because some clients keep a long-running IDLE connection and use other connections to actually read the mails. * SORT: If Date: header is missing or broken, fallback to using INTERNALDATE (as the SORT draft
2007 Oct 28
5
v1.0.6 released
http://dovecot.org/releases/1.0/dovecot-1.0.6.tar.gz http://dovecot.org/releases/1.0/dovecot-1.0.6.tar.gz.sig * IDLE: Interval between mailbox change notifies is now 1 second, because some clients keep a long-running IDLE connection and use other connections to actually read the mails. * SORT: If Date: header is missing or broken, fallback to using INTERNALDATE (as the SORT draft
2008 Jul 08
3
antispam plugin, amavis and sa-learn
Hello, I would like to use the Dovecot antispam plugin to train SpamAssassin via sa-learn. I compiled the plugin and got it to work with the sendmail backend, which I tested by having it send a message to me. As I'm calling SpamAssassin with amavisd-new, I have a system-wide Bayes db, maintained by the amavis user. As expected, the antispam plugin calls the configured binary as the mail user