Displaying 20 results from an estimated 600 matches similar to: "building a simple antispam plugin"
2008 Oct 29
3
antispam plugin claims "antispam signature not found"
Hi,
I am trying to setup the antispam plugin using the direct dspam backend.
I have set
antispam_signature = X-DSPAM-Signature
in dovecot.conf
and in all mails I have signature lines like
X-DSPAM-Signature: 1,49084a24139132188715614
but still, if I try to move a mail into the spam folder, i get the IMAP error message
"antispam signature not found".
I thought it might have to do
2008 Mar 05
2
assert() using plugins zlib and antispam together
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I'm running Dovecot v1.0.10 and downloaded the "HEAD snapshot" today.
If both plugins are enabled, I get:
: file zlib-plugin.c: line 64 (zlib_maildir_get_stream): assertion
failed: (fname != NULL)
: Raw backtrace: imap [0x80ad741] -> imap [0x80ad65c] ->
2018 May 31
3
use instance-name for syslog?
> On 30 May 2018, at 19.08, SATOH Fumiyasu <fumiyas at osstech.co.jp> wrote:
>
> Hi!
>
> On Thu, 31 May 2018 00:44:58 +0900,
> A. Schulze wrote:
>> When running multiple instances of dovecot on the same host (or running multiple docker container),
>> it is hard to distinguish logs from different processes: the syslog entries are all prefixed with the same
2008 Apr 19
2
mailtrain with dovecot antispam plugin
Hello all, and Johannes if you're around,
I was trying to set up the "new" antispam plugin with the mailtrain
backend, and i was trying to use the sendmail binary that's part of a
qmail system. The message wouldn't get sent and i kept getting exit
error 100 from the /var/qmail/bin/sendmail binary. To try to figure out
what was happening, i mean a fake sendmail program,
2008 Sep 21
2
antispam plugin signature-log backend with v1.1.2
Hello,
Is the signature-log backend of the antispam plugin broken when
compiling with dovecot version 1.1.2? I'm using version 1.0 of the
antispam plugin. It looks like there isn't anything more recent.
cc -c -DCONFIG_DEBUG -DDEBUG_SYSLOG -fPIC -shared -Wall -Wextra
-DPLUGINNAME=antispam -DHAVE_CONFIG_H -I../dovecot-1.1.2/
-I../dovecot-1.1.2/src/ -I../dovecot-1.1.2/src/lib/
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:
2017 Aug 03
2
proxy-dict with tcp connection
I try to create a patch to allow (proxy-)dict to use tcp connections
instead of a unix domain socket.
I'm replacing connection_init_client_unix with connection_init_client_ip:
--- ./src/lib-dict/dict-client.c.orig
+++ ./src/lib-dict/dict-client.c
@@ -721,6 +721,10 @@ client_dict_init(struct dict *driver, const char *uri,
struct ioloop *old_ioloop = current_ioloop;
struct
2016 Dec 17
0
Antispam plugin: insufficent error messages
On 11/28/2016 3:28 PM, Volker Wysk wrote:
> 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
2003 Jun 23
1
RFC: PAM service name change?
It would be nice for the sake of not conflicting to have the PAM service
name not be imap. Especially as the same service name is used for pop
as well :)
My recommendation would be to use dovecot instead. Any other opinions?
Jeremy
-------------- next part --------------
--- dovecot-0.99.10-rc1/src/auth/passdb-pam.c.servicename 2003-06-23 00:56:22.000000000 -0400
+++
2009 Jun 06
2
expire-tool --test: timestamps
$ /usr/sbin/dovecot --exec-mail ext expire-tool --test
Info: Trash: timestamp 1243963680 (Tue Jun 2 19:28:00 2009
) -> 1244307774 (Tue Jun 2 19:28:00 2009
)
Both human readable timestamps are equal as ctime() returns a pointer
to a static buffer. In addition there are some newline characters added
by ctime(). The following patch is a try to fix this for 1.2.rc5.
--- expire-tool.c.orig
2009 Nov 14
2
Patch: event port-based ioloop and notify
Greetings,
thanks to all of you who work on Dovecot!
I have prepared a small patch to support Solaris 10 and Opensolaris'
event port mechanism for both the ioloop and the notify subsystems. It
seems to work fine for me, but I haven't conducted any extensive
testing.
It would be great if someone could review and/or test it (and if it
could eventually enter the code base).
I have
2018 May 30
3
use instance-name for syslog?
Hello,
When running multiple instances of dovecot on the same host (or running multiple docker container),
it is hard to distinguish logs from different processes: the syslog entries are all prefixed with the same identifier "dovecot"
It is hardcoded here:
https://github.com/dovecot/core/blob/master/src/lib-master/master-service.c#L420
Would it make sense to use the already implemented
2012 Feb 23
1
Creating and interacting with array inside plugin
Hi Timo....
I Follow your instruction to look inside quota plugin to get the
notification from dovecot that expunged a message, that's Ok.
Follow the quota, it's use a array to keep all uids from a email
expunged, to compare with uid that is got in notify_sync, that's OK
too, but to me i need to keep uid and a char* with my body name, to
erase it too.
I made this:
struct
2018 Jun 01
0
use instance-name for syslog?
On Fri, 01 Jun 2018 03:40:07 +0900,
Timo Sirainen wrote:
> >> When running multiple instances of dovecot on the same host (or running multiple docker container),
> >> it is hard to distinguish logs from different processes: the syslog entries are all prefixed with the same identifier "dovecot"
> >> It is hardcoded here:
> >>
2020 Aug 13
1
2.3.11.3 mail_cache_open_or_create_path called with null path
Originally reported here -
https://marc.info/?l=openbsd-ports&m=159731598419071&w=2
OpenBSD's printf functions have a (mostly annoying but occasionally
useful) feature where they generate a syslog entry if printf %s format
is called with a null pointer.
It is tripped in lmtp/lda deliveries with 2.3.11.3:
lmtp: vfprintf %s NULL in "Cache %s: "
dovecot-lda: vfprintf %s NULL
2017 Aug 03
0
proxy-dict with tcp connection
> On August 3, 2017 at 2:10 PM Ralf Becker <rb at egroupware.org> wrote:
>
>
> I try to create a patch to allow (proxy-)dict to use tcp connections
> instead of a unix domain socket.
>
> I'm replacing connection_init_client_unix with connection_init_client_ip:
>
> --- ./src/lib-dict/dict-client.c.orig
> +++ ./src/lib-dict/dict-client.c
> @@ -721,6
2009 Dec 13
1
Different PROXY for IMAP and POP3 using LDAP-auth
--------------------------------------------------
For all non german speaking people:
Oliver asked:
In an old posting I've read something about different proxy hosts for
IMAP and POP3.
http://www.dovecot.org/list/dovecot/2008-July/031885.html
I've got the same problem and want to ask you, if there is a patch for
replacing [variable names in] pass_attrs.
2010 Feb 15
1
dovecot-sieve vacation vs qmail-ldap
Helloo,
We are using dovectot lda with qmail-ldap,
dovecot 1.2.10, sieve 0.1.15
lda is executed as
exec /var/qmail/bin/preline -f /usr/local/dovecot/libexec/dovecot/deliver -s
preline adds Delivered-To: header,
everything works fine except vacation
Feb 9 16:07:16 thebe dovecot: deliver(lazy): sieve:
msgid=unspecified: discarding vacation response for message implicitly
delivered to <lazy
2018 May 30
0
use instance-name for syslog?
Hi!
On Thu, 31 May 2018 00:44:58 +0900,
A. Schulze wrote:
> When running multiple instances of dovecot on the same host (or running multiple docker container),
> it is hard to distinguish logs from different processes: the syslog entries are all prefixed with the same identifier "dovecot"
> It is hardcoded here:
>
2006 Aug 21
2
Filesystem Quota Enhancement Patch
I have just updated my patch that provides enhanced support for
filesystem-based quotas in Dovecot. I provides 2 main features:
* Support for group quotas
* Number of messages quota for users of maildir
If both user and group quotas are enabled on the filesystem, the plugin
will report the quota that is closer to the maximum independently for
both storage space and message count. The