search for: antispam_mail_sendmail

Displaying 20 results from an estimated 65 matches for "antispam_mail_sendmail".

2010 Aug 04
1
Shared mailboxes errors
...t; moving mails. The antispam debug.log doesn't really tell a lot of more: > > > ### Dovecot AntiSpam ### > # mail signature (used with any backend requiring a signature) > #antispam_signature = X-Spam-Status > #antispam_signature_missing = move > > antispam_mail_sendmail = /usr/local/bin/sa-learn > antispam_mail_sendmail_args = --username=%u;--debug;all > antispam_mail_spam = --spam > antispam_mail_notspam = --ham > antispam_mail_tmpdir = /tmp > antispam_spam = Spam > antispam_unsure = Virus > antispam_trash = Trash...
2014 Aug 18
2
antispam plugin crash
...oxes, >> etc.pp? What version of Dovecot and which configuration do you use? > > Dovecot version is 2.2.13. It crashes on every incoming mail as long as > the antispam plugin is activated. > > plugin { > antispam_backend = mailtrain > antispam_mail_notspam = --ham > antispam_mail_sendmail = /usr/bin/sa-learn > antispam_mail_spam = --spam > antispam_spam = Junk > antispam_trash = Trash As far as I know sa-learn requires a filename at command line, therefore http://wiki2.dovecot.org/Plugins/Antispam spools the message to a file before. Could you try this script? Maybe y...
2014 Aug 19
2
antispam plugin crash
...wiki2.dovecot.org/Plugins/Antispam spools the message to a file >> before. Could you try this script? Maybe you can use "-" as filename or >> something like that. > > No it does not. And using that script does not make the crash go away. What happens if you configure antispam_mail_sendmail = /usr/bin/true (or whereever your "true" programm resides). - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBU/MB83z1H7kL/d9rAQJIvwf/fZNMaiIj5PLRCM8VgQbYM3fW+z45Qleb kwLZsI41IotAKoanud6ke19fLj5M50TvdEJ0bPtnnWfefh9W7dJymtu/63zqKCi7 uwDsfMLZw...
2008 Dec 03
1
Antispam plugin + scriptsieve
...is appended a rule in the script sieve of this user. If the message is deleted or moved out that folder, the rule is removed too. The setup is very simple: (after setup antispam plugin) Change this in dovecot.conf: protocol imap { mail_plugins = antispam } plugin { antispam_spam = Blocked antispam_mail_sendmail = /usr/libexec/dovecot/blockthis.py antispam_mail_sendmail_args = -u;%u antispam_mail_spam = -a antispam_mail_notspam = -d } Hooo... this script create a "include global script" statament in script sieve... If you don't want this feature, just comment this 2 lines: sievelist.a...
2013 Sep 12
1
Plugin antispam - mailtrain realtime sa-learn
...see and test, the following config makes it work without a wrapper script. Can someone confirm it before the wiki is updated? plugins { antispam_backend = pipe antispam_trash = Trash antispam_spam = Junk antispam_mail_spam = --spam antispam_mail_notspam = --ham antispam_mail_sendmail = /usr/bin/sa-learn } Hans [1] http://wiki2.dovecot.org/Plugins/Antispam
2014 Jul 15
1
Dovecot2 Antispam MAILTRAIN backend with SpamAssassin
...special_use = Sent } mailbox Trash { auto = subscribe special_use = Trash } mailbox virtual/All { auto = no special_use = All } prefix = separator = / } passdb { args = /mail/%d/dovecot_passwd driver = passwd-file } plugin { antispam_backend = MAILTRAIN antispam_mail_notspam = --ham antispam_mail_sendmail = /mail/sa-learn-pipe.sh antispam_mail_spam = --spam antispam_spam = Junk antispam_trash = Trash quota_rule = *:storage=8GB sieve = /mail/%d/%u/dovecot.sieve sieve_dir = /mail/%d/%u sieve_global_dir = /mail/sieve sieve_global_path = /mail/sieve/globalfilter.sieve } protocols = imap pop3 lmt...
2010 Jul 27
3
AntiSpam Plugin
I'm getting Errors in Thunderbird, when using the antispam plugin: [SERVERBUG] failed to send email What am I doing wrong? there isn't that much to configure? I'm using Dovecot version 1.2.12. Does anyone know about that bug aswell, cause google research showed me that it might be a common bug?! Regards
2020 Mar 24
2
dovecot-2.2.36-4 and antispam
....36-4 in dovecot: 15-mailboxes.conf: ....... ?mailbox Drafts { ??? special_use = \Drafts ? } ? mailbox Junk { ??? special_use = \Junk ? } ? mailbox SPAM { ??? special_use = \Junk ? } ? mailbox Trash { ??? special_use = \Trash ? } .... 90-plugin.conf: ..... ?antispam_backend = MAILTRAIN ? #antispam_mail_sendmail_args? = --for;%u ? antispam_mail_spam = --spam ? antispam_mail_notspam = --ham ? antispam_mail_sendmail = /usr/local/bin/spam-learn.sh ? antispam_pipe_tmpdir = /tmp ? antispam_spam_pattern_ignorecase = spam;inbox.spam;Unwanted ? antispam_trash_pattern_ignorecase = trash;Deleted *;Junk*;wiadomo&amp...
2012 Jan 04
0
migrate dovecot files 1.2.16 to 2.0.13 (OpenBSD 5.0)
...= Trash autosubscribe2 = Spam autosubscribe3 = Sent autosubscribe4 = Drafts } plugin { antispam_signature = X-Spam-Flag antispam_signature_missing = move # move silently without training antispam_trash = trash;Trash;Deleted Items; Deleted Messages antispam_spam = SPAM;Spam;spam;Junk;junk antispam_mail_sendmail = /usr/local/bin/sa-learn antispam_mail_sendmail_args = --username=%u antispam_mail_spam = --spam antispam_mail_notspam = --ham antispam_mail_tmpdir = /tmp } ###############::::::::dovecot-sql.conf:::::::################################## driver = mysql connect = host=localhost dbname=mail u...
2008 Aug 07
2
dovecot-antispam: Failed to read mail beginning, Next message unexpectedly lost
...debug: yes passdb: driver: pam args: dovecot userdb: driver: passwd plugin: antispam_spam: mailbox.spam antispam_trash: trash;Trash;Deleted Items antispam_mail_spam: spam at mysite.org antispam_mail_notspam: notspam at mysite.org antispam_mail_sendmail: /home/username/fake_sendmail Dovecot is version 1.1.2, dovecot-antispam is the latest snapshot. Running on Red Hat Enterprise Linux Server release 5.2, x86_64, filesystem is ext3 (on lvm). Attached is the strace -p of the session. The code seems to be this in i_stream_raw_mbox_read:...
2017 Feb 05
2
dovecot/auth CPU spikes
...ubscribe special_use = Sent } mailbox "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/d...
2013 Jan 16
1
dovecot + antispam plugin - no retraining
...baddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace inbox { inbox = yes location = prefix = } passdb { driver = pam } plugin { antispam_backend = pipe antispam_mail_notspam = ham at example.org antispam_mail_sendmail = /usr/sbin/sendmail antispam_mail_sendmail_args = -f;%u at example.org antispam_mail_spam = spam at example.org antispam_mail_tmpdir = /tmp antispam_signature = X-DSPAM-Signature antispam_signature_missing = error antispam_spam_pattern_ignorecase = SPAM;Junk antispam_trash = trash;Tr...
2018 Jul 26
2
mdbox_deleted proper syntax
...ons = yes type = private } passdb { 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:~...
2014 Feb 19
3
Enable mail logger plugin
...= \Sent } mailbox Trash { auto = subscribe special_use = \Trash } mailbox name { special_use = \Drafts \Junk \Sent \Trash } prefix = } passdb { args = /etc/dovecot/dovecot-sql.conf driver = sql } plugin { antispam_backend = mailtrain antispam_mail_notspam = --ham antispam_mail_sendmail = /usr/local/bin/sa-learn-pipe.sh antispam_mail_spam = --spam antispam_spam = Junk antispam_trash = Trash mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid box msgid size quota = dict:user::file:/var/vmail/%d/%n/.quotausage quota_grace...
2018 Mar 10
1
quota-status: Issues with uppercase recipient address
...ent } mailbox Trash { special_use = \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:/us...
2014 Aug 18
1
antispam plugin crash
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 17 Aug 2014, Thomas Witt wrote: > the dovecot antispam plugin crahses here on a nullpointer dereference in > antispam_copy() at mailbox.c does it crashes all of the time or for specific messages, mailboxes, etc.pp? What version of Dovecot and which configuration do you use? > > The crash tracks back to a call of >
2020 Mar 24
0
dovecot-2.2.36-4 and antispam
...fts > ? } > ? mailbox Junk { > ??? special_use = \Junk > ? } > > ? mailbox SPAM { > ??? special_use = \Junk > ? } > > ? mailbox Trash { > ??? special_use = \Trash > ? } > .... > > > 90-plugin.conf: > ..... > ?antispam_backend = MAILTRAIN > ? #antispam_mail_sendmail_args? = --for;%u > ? antispam_mail_spam = --spam > ? antispam_mail_notspam = --ham > ? antispam_mail_sendmail = /usr/local/bin/spam-learn.sh > ? antispam_pipe_tmpdir = /tmp > > ? antispam_spam_pattern_ignorecase = spam;inbox.spam;Unwanted > ? antispam_trash_pattern_ignorecase =...
2020 Oct 23
0
antispam plugin again
...--------------------------------------------------------------------- In older version dovecot I use antispam_plugin + simple script: ---------------- old from 2.2.36.4 + antispam plugin ---------- ?... ?antispam_backend = MAILTRAIN ? antispam_mail_spam = --spam ? antispam_mail_notspam = --ham ? antispam_mail_sendmail = /usr/local/bin/spam-learn.sh ? antispam_pipe_tmpdir = /tmp ? antispam_spam_pattern_ignorecase = spam;inbox.spam;Unwanted ? antispam_trash_pattern_ignorecase = trash;Deleted *;Junk*;kosz ? antispam_debug_target = syslog ? antispam_verbose_debug = 1 ------------------------- How do I change the...
2008 Mar 06
0
two problems with dovecot and antispam-plugin and qmail/vpopmail
...ute dspam). If I remove de data directory, it works... I can move the message and by doing this de data directory is re-created. So I decided to try mail training backend. My configuration is: antispam_mail_tmpdir = /tmp antispam_mail_spam = spam@%d antispam_mail_notspam = nospam@%d antispam_mail_sendmail = /opt/qmail/bin/sendmail # antispam_mail_sendmail_args = -f;%u But an error occurs. (Failed to send mail) I tried to use qmail-inject instead but the same error occurs. Then i tried to use de args commented (-f;%u) but didn't work yet. I also tried to use a complete e-mail address to s...
2010 May 03
1
Dovecot antispam plugin with virtual users
...0+git20100416-1. Unfortunately this doesn't seem to work well with my virtual users, stored on a local openldap server: While sending mail manually to dspam does work, there's some trouble when trying to use the antispam plugin. I tried using both sendmail (exim4 in my case) and configuring antispam_mail_sendmail = /usr/bin/dspam to point to dspam, with similar results: exim: [15042] Failed to get user name for uid 5001 dspam: dspam[18961]: Unable to determine the runtime user both errors are reproducible by running exim/dspam with sudo -u \#5001 with 5001 being the virtual uid used of the user that is...