similar to: Logging what sieve does

Displaying 20 results from an estimated 10000 matches similar to: "Logging what sieve does"

2020 Jul 19
3
Sieve and handling multiple addresses
On 18 Jul 2020, at 11:23, Stephan Bosch <stephan at rename-it.nl> wrote: > On 12/07/2020 22:47, @lbutlr wrote: >> On 12 Jul 2020, at 10:17, Benny Pedersen <me at junc.eu> wrote: >>> @lbutlr skrev den 2020-07-12 16:43: >>>> I an trying to write a sieve action that will take mail that is >>>> addressed to a user only it is filed in a mailbox
2020 Sep 29
2
Re-sieve emails
On 29 Sep 2020, at 01:21, Aki Tuomi <aki.tuomi at open-xchange.com> wrote: >> On 29/09/2020 09:09 @lbutlr <kremels at kreme.com> wrote: >> Is it possible to take the contents of a mailbox and feed them to the account's .active_sieve file for reprocessing? > You can use imap sieve refilter. https://doc.dovecot.org/configuration_manual/sieve/plugins/imapfilter_sieve/
2019 Jan 21
2
Dovecot can't access mailbox that exists (nested)
Hello, I have this strange situation on nested mailboxes (directories) # dovecot --version 2.2.36 (1f10bfa63) # doveconf -n # 2.2.36 (1f10bfa63): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.24 (124e06aa) # OS: Linux 3.10.0-693.21.1.el7.x86_64 x86_64 CentOS Linux release 7.5.1804 (Core) mail_access_groups = vmail mail_location = maildir:%h mail_plugins = quota stats quota_clone
2020 Oct 22
2
Sieve_before
On 22 Oct 2020, at 10:05, @lbutlr <kremels at kreme.com> wrote: > require ["variables", "copy"]; > > if address :matches ["To", "Cc"] ["*@*."] { > redirect :copy "backup+295.${1}.${2}@*example.com*"; > } I have tried this with similar results: require ["copy", "variables",
2020 Oct 22
2
Sieve_before
On 21 Oct 2020, at 14:10, @lbutlr <kremels at kreme.com> wrote: > I have trace logs enabled for user scripts, but I think only error get logged for upper level, and only along the lines of "could not compile <name of sieve>". Any ideas? Is there a way to force the default and sieve_before scripts to log to syslog? -- The real world was far too real to leave neat little
2018 Feb 13
2
Setting up sieve with spam learning
Cribbing from the dovecot site I recently added the following lines to my dovecot.conf: managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapsieve
2020 Oct 22
2
Sieve_before
On 22 Oct 2020, at 15:10, Sean Kamath <kamath at moltingpenguin.com> wrote: > On Oct 22, 2020, at 12:19, @lbutlr <kremels at kreme.com> wrote: >> On 22 Oct 2020, at 10:05, @lbutlr <kremels at kreme.com> wrote: >>> if address :matches ["To", "Cc"] ["*@*."] { >> if envelope :matches :detail "to" "*" {
2019 Jun 13
3
Sieve logging?
I am trying to create some sieve scripts to filter my mailing lists and am wondering if sieve logs anywhere, and it so where? I don?t see anything in mail.log beyond lines like: dovecot: lda(kremels at kreme.com)<39790><hNchChSkAV1umwAAIdGjjQ>: sieve: msgid=<267D5D71-D99C-4790-8706-C1A92BCC9F97 at kreme.com>: stored mail into mailbox ?INBOX' Which doesn?t really tell me
2020 Oct 23
3
Sieve_before
> On Oct 22, 2020, at 15:58, @lbutlr <kremels at kreme.com> wrote: > > On 22 Oct 2020, at 15:46, @lbutlr <kremels at kreme.com> wrote: >> And it doesn't explain why "if address :matches ["To", "Cc"] ["*@*."] {" also failed to match despite also showing the email address. >> >>> ?kremels at kreme.com? does not
2016 Jun 15
2
Mail dates
On Jun 15, 2016, at 9:44 AM, Tanstaafl <tanstaafl at libertytrek.org> wrote: > On 6/14/2016 6:50 PM, @lbutlr <kremels at kreme.com> wrote: >> Where exactly does dovecot get the date that it reports via IMAP? > > This is a problem with how you restored the files. > > On a linux system, you should use something like rsync -a to preserve > the original
2019 Jun 19
2
User listing returned failure with -A
First, I archive the old messages in the INBOX on my list account # doveadm -Dv move -u kremels at kreme.com Archive mailbox INBOX BEFORE 90d Debug: Loading modules from directory: /usr/local/lib/dovecot/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed:
2020 Feb 19
3
Sieve junks mail script creating links
My Junk mailbox is still filling up with hard linked emails. There are some junk mails with over 3000 hard linked files and over half a million files in the .Junk/cur folder. I had a handy script to remove them all by doing a find for inodes and sorting the list by age and keeping the olds hard link and removing all the others, but I now can?t find it :/ so I have just taken to periodically
2015 Apr 21
2
Moving a local domain to sql
I have a domain that current maps to local users that I want to move into the mysql maps with all the other domains, but I am unsure of the best way to proceed with this. For example, my mail server is covisp.net and my personal domain is kreme.com, and currently kremels at kreme.com maps to the local user kremels. I want it to map to the existing mysql database as ?kernels at kreme.com?. (For
2018 Feb 22
2
preferred way to move an imap folder
Hello list. What is the preferred way to move an imap folder. Lets say an User has. .maildir/.INBOX.Junk I want to move this imap folder to: .maildir/.Junk Can i just use: mv .maildir/.INBOX.Junk .maildir/.Junk and be done with that? thanks and cheers t.
2020 Oct 30
1
Sieve filter script EXECUTION FAILED
On 30 Oct 2020, at 12:34, @lbutlr <kremels at kreme.com> wrote: > I am not sure about the $1. I think filter just pipes the message (or part of the message. > > I will see what happens without the echo I suppose. > > Nope, still the same. > > 32: starting `:contains' match with `i;ascii-casemap' comparator: > 32: matching value `<!DOCTYPE
2020 Jun 11
2
Read-flag of mails don't update
On 10 Jun 2020, at 23:18, @lbutlr <kremels at kreme.com> wrote: > IF it?s not permissions you need to provide doveconf -n output. Bloglines for any fall, panic, or error level events at a minimum. Apologies, I did not see the attachments. Will look on a real screen later.
2018 Feb 13
2
doveadm with wildcard users?
On 13 Feb 2018, at 00:11, Aki Tuomi <aki.tuomi at dovecot.fi> wrote: > doveadm -u "*mask*" makes no sense. The ?index? that was in the first line was dropped out of my further examples. But now where was there a ?*mask*?. > what command are you trying to run? # doveadm index -u ?*@sqldomain.tld" "*? Error: User listing returned failure doveadm: Error: Failed to
2016 Jun 17
3
Mail dates
On Jun 15, 2016, at 10:46 AM, Tanstaafl <tanstaafl at libertytrek.org> wrote: > On 6/15/2016 12:30 PM, @lbutlr <kremels at kreme.com> wrote: >> On Jun 15, 2016, at 9:44 AM, Tanstaafl <tanstaafl at libertytrek.org> wrote: >>> On 6/14/2016 6:50 PM, @lbutlr <kremels at kreme.com> wrote: >>>> Where exactly does dovecot get the date that it reports
2018 Feb 22
2
Authenticating pam and and sql
When a sql user logs in, dovecot always tries pam first (used for the local users with home directories) which generates a login failure in the log, before trying sql (virtual users) and allowing the user to login. Since all the pam users login as 'user' and all the sql users login as 'user at example.com' is it possible to tell dovecot which method to check based on the username
2016 Oct 07
3
Auto-archiving
On 05 Oct 2016, at 23:50, Aki Tuomi <aki.tuomi at dovecot.fi> wrote: >> On October 6, 2016 at 8:05 AM "@lbutlr" <kremels at kreme.com> wrote: >> >> >> I?d like to know if there is a way to tell dovecot to >> >> 1) move messages older than # days to the Archive folder >> 2) rebuild the indexes >> 3) remove any folders that are