Displaying 20 results from an estimated 38 matches for "rspamc".
Did you mean:
spamc
2018 Apr 08
5
lda fails in parse_angle_addr if sieve is enabled
Hi,
Since updating to 2.3.1 on my FreeBSD mailserver mail delivery using
lda is broken if I have sieve enabled.
(Before updating this was 2.2 and pigeonhole 0.4)
FreeBSD 11.1-p8 amd64
Dovecot 2.3.1
Pigeonhole 0.5.1
Mailflow is OpenSMTPd as MTA, using mda delivery to rspamc which
utlimately delivers using dovecot-lda.
smtpd.conf
deliver to mda "rspamc -h scan --mime -e
\"/usr/local/libexec/dovecot/deliver -d %{user.username}\""
%{user.username} is the local user after virtusers, aliases etc.
verified using a shell wrapper and capturing the usernam...
2018 Apr 11
1
lda fails in parse_angle_addr if sieve is enabled
...SD mailserver mail delivery using
>> lda is broken if I have sieve enabled.
>> (Before updating this was 2.2 and pigeonhole 0.4)
>>
>> FreeBSD 11.1-p8 amd64
>> Dovecot 2.3.1
>> Pigeonhole 0.5.1
>>
>> Mailflow is OpenSMTPd as MTA, using mda delivery to rspamc which
>> utlimately delivers using dovecot-lda.
>>
>> smtpd.conf
>> deliver to mda "rspamc -h scan --mime -e
>> \"/usr/local/libexec/dovecot/deliver -d %{user.username}\""
>> %{user.username} is the local user after virtusers, aliases etc.
>...
2020 Sep 21
3
At a loss with antispan and imap_sieve
...don't know where to even start putting strace -o.
You may want to check your sieve_pipe_bin_dir setting in dovecot.conf.
AFAIK the program/script you call via "pipe :copy ..." must be located in
the directory defined by sieve_pipe_bin_dir.
At least I remember having issues calling rspamc in my report-ham and
report-spam scripts, which was (apparently) solved after I set:
sieve_pipe_bin_dir = /usr/bin
You can also use "debug_log" to output stuff from your sieve scripts into
the syslog (don't forget to require "vnd.dovecot.debug" though..)
Good luck.
2018 Aug 09
3
imapsieve wrong matches on APPEND cause
.../vmail/sieve/global/learn-spam.svbin
successfully loaded
Debug: sieve: binary save: not saving binary
/var/vmail/sieve/global/learn-spam.svbin, because it is already stored
Debug: sieve: Executing script from
`/var/vmail/sieve/global/learn-spam.svbin'
Debug: sieve: action pipe: running program: rspamc
Debug: Mailbox Spam: Opened mail UID=12 because: mail stream
Debug: waiting for program `/usr/bin/rspamc' to finish after 0 msecs
Debug: sieve: Opening script 2 of 2 from
`/var/vmail/sieve/global/learn-ham.sieve'
Debug: sieve: Loading script /var/vmail/sieve/global/learn-ham.sieve
Debug: si...
2019 Nov 16
2
Learning ham/spam with IMAPSieve: sa-learn-ham.sh terminated abnormally, signal 11
...00:30 report-ham.svbin
-rw-r--r-- 1 root root 199 Nov 17 00:25 report-spam.sieve
-rw-r--r-- 1 root root 354 Nov 17 00:30 report-spam.svbin
-rwxr-xr-x 1 root root 41 Nov 17 00:32 sa-learn-ham.sh
-rwxr-xr-x 1 root root 42 Nov 17 00:32 sa-learn-spam.sh
$ cat sa-learn-ham.sh
#!/bin/sh
exec /usr/bin/rspamc learn_ham
When I execute the script manually, it seems to work:
$ cat [some-mail] | /usr/lib/dovecot/sieve/sa-learn-ham.sh
Results for file: stdin (0.011 seconds)
success = true;
filename = "stdin";
scan_time = 0.012000;
Again, with the same mail:
$ cat [some-mail] | /usr/lib/dovecot/s...
2018 Aug 14
0
imapsieve wrong matches on APPEND cause
...cessfully loaded
>
> Debug: sieve: binary save: not saving binary
> /var/vmail/sieve/global/learn-spam.svbin, because it is already stored
>
> Debug: sieve: Executing script from
> `/var/vmail/sieve/global/learn-spam.svbin'
>
> Debug: sieve: action pipe: running program: rspamc
>
> Debug: Mailbox Spam: Opened mail UID=12 because: mail stream
>
> Debug: waiting for program `/usr/bin/rspamc' to finish after 0 msecs
>
> Debug: sieve: Opening script 2 of 2 from
> `/var/vmail/sieve/global/learn-ham.sieve'
>
> Debug: sieve: Loading script /var...
2018 Apr 10
0
lda fails in parse_angle_addr if sieve is enabled
...ce updating to 2.3.1 on my FreeBSD mailserver mail delivery using
> lda is broken if I have sieve enabled.
> (Before updating this was 2.2 and pigeonhole 0.4)
>
> FreeBSD 11.1-p8 amd64
> Dovecot 2.3.1
> Pigeonhole 0.5.1
>
> Mailflow is OpenSMTPd as MTA, using mda delivery to rspamc which
> utlimately delivers using dovecot-lda.
>
> smtpd.conf
> deliver to mda "rspamc -h scan --mime -e
> \"/usr/local/libexec/dovecot/deliver -d %{user.username}\""
> %{user.username} is the local user after virtusers, aliases etc.
> verified using a shell...
2019 Nov 17
0
Learning ham/spam with IMAPSieve: sa-learn-ham.sh terminated abnormally, signal 11
Jens Rey via dovecot skrev den 2019-11-17 00:51:
> $ cat sa-learn-ham.sh
> #!/bin/sh
> exec /usr/bin/rspamc learn_ham
rspamc is not spamc
is rspamd installed ?, is spamassassn installed ?
make sa-laern-ham.sh change name to rspamd-learn-ham.sh and addopt sieve
to that name change
i cant se other error on what you have
2020 Oct 13
1
Spam learning for rspamd
On 10/12/2020 10:54 PM, Aki Tuomi wrote:
> Try this guide:
> https://doc.dovecot.org/configuration_manual/howto/antispam_with_sieve/
>
> Aki
I will, but that doesn't seem to answer the question of the header
rewriting. How can I explain to rspamd and/or sieve that a message that
was delivered, but marked as spam is in fact NOT spam?
--
Dan Egli
On my Test server
--------------
2018 Apr 08
0
lda fails in parse_angle_addr if sieve is enabled
...ce updating to 2.3.1 on my FreeBSD mailserver mail delivery using
> lda is broken if I have sieve enabled.
> (Before updating this was 2.2 and pigeonhole 0.4)
>
> FreeBSD 11.1-p8 amd64
> Dovecot 2.3.1
> Pigeonhole 0.5.1
>
> Mailflow is OpenSMTPd as MTA, using mda delivery to rspamc which
> utlimately delivers using dovecot-lda.
>
> smtpd.conf
> deliver to mda "rspamc -h scan --mime -e
> \"/usr/local/libexec/dovecot/deliver -d %{user.username}\""
> %{user.username} is the local user after virtusers, aliases etc.
> verified using a shell...
2018 Apr 14
1
imapsieve fail to pipe to sa-learn-spam.sh
...{mailbox}" "Trash" {
stop;
}
if environment :matches "imap.user" "*" {
set "username" "${1}";
}
pipe :copy "sa-learn-ham.sh" [ "${username}" ];
/home/vmail/sieve/global#cat sa-learn-spam.sh
#!/bin/sh
exec /usr/local/bin/rspamc -h /var/run/rspamd/rspamd.sock -P
"Password" learn_spam
/home/vmail/sieve/global#cat sa-learn-ham.sh
#!/bin/sh
exec /usr/local/bin/rspamc -h /var/run/rspamd/rspamd.sock -P
"password" learn_ham
I'd appreciate any suggestions.
Thanks.
Dave.
2015 Nov 08
2
antispam plugin pipe backend error when moving multiple emails
Hi,
I've got some trouble with the dovecot antispam plugin and the pipe backend.
I'm using dovecot 2.2.18 with maildirs and zlib compression enabled.
When moving 2 or more emails at once from the Junk folder to another one, I always have the following error : "Failed to copy to temporary file"
In the server logs :
imap(vvv at vvv.vvv): Error:
2017 Feb 05
2
dovecot/auth CPU spikes
...ailbox "Sent Messages" {
special_use = Sent
}
mailbox Trash {
auto = subscribe
special_use = Trash
}
prefix =
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
antispam_backend = pipe
antispam_mail_notspam = learn_ham
antispam_mail_sendmail = /usr/bin/rspamc
antispam_mail_sendmail_args = -h;localhost:11334;-P;q1
antispam_mail_spam = learn_spam
antispam_spam = Junk
antispam_trash = Trash
fts = solr
fts_solr = break-imap-search url=http://localhost:8080/solr/
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_before = /var/lib/dovecot/sieve.d/
}...
2018 Jul 26
2
mdbox_deleted proper syntax
...args = /etc/dovecot/dovecot-pgsql.conf
driver = sql
}
passdb {
args = /etc/dovecot/dovecot-pgsql2.conf
driver = sql
}
passdb {
args = cache_key=%u%r%l *
driver = bsdauth
}
plugin {
antispam_backend = mailtrain
antispam_mail_notspam = learn_ham
antispam_mail_sendmail = /usr/local/bin/rspamc
antispam_mail_sendmail_args = -h;127.0.0.1:11334;-P;q1
antispam_mail_spam = learn_spam
antispam_spam = caughtspam
antispam_trash = trash
fts = solr
fts_autoindex = yes
fts_solr = url=http://127.0.0.1:8983/solr/dovecot/
recipient_delimiter = +
sieve = file:~/sieve;active=~/.dovecot...
2019 Nov 18
2
Learning ham/spam with IMAPSieve: sa-learn-ham.sh terminated abnormally, signal 11
On 17/11/2019 19:40, Jens Rey via dovecot wrote:
> Since I want to avoid debugging old and already fixed bugs, I updated to
>
> # dovecot --version
> 2.3.8 (9df20d2db)
>
> Now the debug log is a bit more chatty, but the error remains:
>
> Debug: program exec:/usr/lib/dovecot/sieve/rspamd-learn-ham.sh: Created
> Debug: program
2018 Mar 10
1
quota-status: Issues with uppercase recipient address
...e = \Trash
}
prefix =
}
passdb {
args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
acl = vfile
acl_shared_dict = file:/srv/mail/dovecot/shared-mailboxes
antispam_backend = mailtrain
antispam_mail_notspam = learn_ham
antispam_mail_sendmail = /usr/local/bin/rspamc
antispam_mail_sendmail_args = -h;10.0.110.27:11334;-P;[REDACTED]
antispam_mail_spam = learn_spam
antispam_spam = Junk
antispam_trash = Trash
fts = solr
fts_autoindex = yes
fts_solr = url=http://127.0.0.1:8983/solr/dovecot/
imapsieve_mailbox1_before = file:/usr/local/etc/dovecot/siev...
2016 Apr 18
0
antispam plugin pipe backend error when moving multiple emails
Hello,
I'm bumping this because it still occurs with dovecot 2.2.22.
my dovecot-antispam plugin configuration :
antispam_allow_append_to_spam = no
antispam_backend = pipe
antispam_pipe_program = /usr/bin/rspamc
antispam_pipe_program_args = -h;127.0.0.1:11334;-P;********
antispam_pipe_program_notspam_arg = learn_ham
antispam_pipe_program_spam_arg = learn_spam
antispam_pipe_tmpdir = /var/tmp
antispam_spam = Junk
antispam_trash = trash;Trash;Deleted Items;Deleted Messages
zlib enabled:...
2020 Sep 21
0
At a loss with antispan and imap_sieve
...start putting strace -o.
>
> You may want to check your sieve_pipe_bin_dir setting in dovecot.conf.
> AFAIK the program/script you call via "pipe :copy ..." must be located in
> the directory defined by sieve_pipe_bin_dir.
>
> At least I remember having issues calling rspamc in my report-ham and
> report-spam scripts, which was (apparently) solved after I set:
> sieve_pipe_bin_dir = /usr/bin
>
> You can also use "debug_log" to output stuff from your sieve scripts into
> the syslog (don't forget to require "vnd.dovecot.debug"...
2015 Feb 01
0
[Bug ?] IMAP keywords are not preserved during mailbox conversion
...{
special_use = \Trash
}
prefix =
separator = /
}
passdb {
args = scheme=plain username_format=%n /usr/local/etc/dovecot/dovecot.auth/%d.passwd
driver = passwd-file
}
plugin {
antispam_backend = mailtrain
antispam_mail_notspam = learn_ham
antispam_mail_sendmail = /usr/local/bin/rspamc
antispam_mail_sendmail_args = -h;localhost:11334
antispam_mail_spam = learn_spam
antispam_spam = Junk
antispam_trash = Trash
quota = dict:User quota::file:%h/dovecot-quota
quota_rule = *:storage=2G
quota_rule2 = Trash:storage=+10%%
quota_rule3 = Spam:storage=+20%%
quota_status_nou...
2019 Nov 20
0
Learning ham/spam with IMAPSieve: sa-learn-ham.sh terminated abnormally, signal 11
.../lib/dovecot/sieve/rspamd-learn-ham.sh (13335): Connected to
program
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 13335 is executing new program: /bin/dash
process 13335 is executing new program: /usr/bin/rspamc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee7ff700 (LWP 13338)]
[New Thread 0x7fffebffe700 (LWP 13339)]
[New Thread 0x7fffe97fd700 (LWP 13340)]
imap(user at domain)<13290><+PcoBrjs1F3...