Re: Outlook renames Junk folder

2019-06-13 Thread André Rodier via dovecot
On Wed, 2019-06-12 at 15:01 -0500, Cliff Hayes via dovecot wrote: > Hello, > > Some versions of Outlook will randomly rename the Junk folder to Junk Email. > > This of course causes errors because Dovecot can no longer store junk. > > I go in to Outlook for each user and add another Junk folder,

Re: Sieve logging?

2019-06-13 Thread Alex JOST via dovecot
Am 13.06.2019 um 03:25 schrieb @lbutlr via dovecot: 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(krem...@kreme.com)<39790>: sieve: msgid=<267d5d71-

Re: Sieve logging?

2019-06-13 Thread Matt Anton via dovecot
On 13 Jun 2019, at 3:25, @lbutlr via dovecot wrote: > 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(krem...@kreme.com)<39790>: sieve: > msgid=

Re: Outlook renames Junk folder

2019-06-13 Thread Sami Ketola via dovecot
> On 12 Jun 2019, at 23.01, Cliff Hayes via dovecot wrote: > > Hello, > > Some versions of Outlook will randomly rename the Junk folder to Junk Email. > > This of course causes errors because Dovecot can no longer store junk. > > I go in to Outlook for each user and add another Junk folder,

Re: Sieve logging?

2019-06-13 Thread @lbutlr via dovecot
On 13 Jun2019, at 02:18, Matt Anton via dovecot wrote: > > Sieve logs are in users’s homes and can be configured with « sieve_user_log »: > > « sieve_user_log = > The path to the file where the user log file is written. If not configured, a > default location is used. If the main user's persona

Re: Sieve to strip html from multipart messages

2019-06-13 Thread David Pottage via dovecot
On 2019-06-10 20:39, @lbutlr via dovecot wrote: Is is possible (I’m sure it is, so how) to strip multipart messages that are HTML and text of the HTML portion and leave the bare text message without also stripping other parts (like images or attached files). Or also to take messages that are onl

Re: Sieve to strip html from multipart messages

2019-06-13 Thread @lbutlr via dovecot
On 13 Jun2019, at 05:57, David Pottage via dovecot wrote: > On 2019-06-10 20:39, @lbutlr via dovecot wrote: >> Is is possible (I’m sure it is, so how) to strip multipart messages >> that are HTML and text of the HTML portion and leave the bare text >> message without also stripping other parts (li

Re: Sieve logging?

2019-06-13 Thread Matt Anton via dovecot
On 13 Jun 2019, at 13:40, @lbutlr via dovecot wrote: > The user is a virtual user with a home folder of > /usr/local/virtual/u...@domain.tld/ as defined in the sql file and a mail > location of maildir:/usr/local/virtual/u...@domain.tld/Maildir/ > > /usr/local/virtual/u...@domain.tld/ > ├── .li

Migrated from maildir to sdbox: questions

2019-06-13 Thread Ranbir via dovecot
Hi Everyone, I migrated my maildir mailboxes to sdbox without any show stopping errors, but I did see this during the migration and now I'm also seeing it in the log: Warning: quota: Namespace '' is not Maildir, skipping for Maildir++ quota I'm not quite sure why this is happening. Any ideas? I

Re: Migrated from maildir to sdbox: questions

2019-06-13 Thread Daniel Betz via dovecot
Hi Ranbir, i think youre just using the wrong quota backend. https://wiki2.dovecot.org/Quota You should switch from "quota = maildir" to another one, like dict. Converting your Public mailbox you could try this ( no guarantee .. just guessing. make backup ! ): doveadm -o mail_location="mai

Re: Migrated from maildir to sdbox: questions

2019-06-13 Thread Aki Tuomi via dovecot
quota count is currently most recommended. Aki On 13 June 2019 16:05 Daniel Betz via dovecot < dovecot@dovecot.org> wrote: Hi Ranbir, i think youre just using the wrong quota backend.

Re: Sieve logging?

2019-06-13 Thread Alex JOST via dovecot
Am 13.06.2019 um 13:40 schrieb @lbutlr via dovecot: /usr/local/virtual/u...@domain.tld/ ├── .list_local. \ ├── .list_procmail > Left-over files for reference ├── .procmailrc. / ├── .sieve │ ├── .active_sieve -> list.sieve │ └── list.sieve ├── .sms_procmail > Also left for reference └── M

Re: Sieve logging?

2019-06-13 Thread Matt Anton via dovecot
On 13 Jun 2019, at 14:47, @lbutlr wrote: > What sort of configuration change would I need to do to use LMTP instead of > LDA? Regarding dovecot, all you need to do is following: (if postfix is your MTA)

Re: Sieve logging?

2019-06-13 Thread @lbutlr via dovecot
On 13 Jun2019, at 07:48, Alex JOST via dovecot wrote: > You specified '~/.active_sieve' as your active scripts location but the > script is actually located at '~/.sieve/.active_sieve’. aarrrgh! 🤦‍♂️ -- And, while it was regarded as pretty good evidence of criminality to be living i

Sieve rewrite headers?

2019-06-13 Thread @lbutlr via dovecot
I’ve bene looking for examples on how to do this, but so far am coming up short. I want to check certain messages for a reply-ro header and if it is present, rewrite it to X-Reply-To: and then add my own reply-to header. I don’t see anything in the various sieve examples I’ve found on altering t

Dovecot director: show user breakdown by director?

2019-06-13 Thread Eirik Rye via dovecot
Hi, We have recently started using the director in some tests. We are using the static passdb setup (proxy=y nopassword=y) for now, where authentication is done on the downstream IMAP servers. "dovecot director status" shows a breakdown of proxied connections per backend, but there does not

Re: Outlook renames Junk folder

2019-06-13 Thread Cliff Hayes via dovecot
Thank you. You are right. It is a sieve issue, but I do not know the "IF FOLDER DOES NOT EXIST" code for sieve and I cannot find an example. I would rather send the mail to Junk Email than create a folder. So the code should look like: IF (DESTINATION FOLDER = "Junk") { IF (DESTINATION FOL

unknown Sieve Capability `editheader'

2019-06-13 Thread @lbutlr via dovecot
I am getting "error: error: require command: unknown Sieve capability `editheader’.” In sieve.log: This is the start of .active_sieve ## Active require [ "editheader", "regex", "variables", "fileinto", "envelope", "mailbox", "imap4flags" ]; Editheader is also listed in dovecot.conf managesiev

Re: Migrated from maildir to sdbox: questions

2019-06-13 Thread Ranbir via dovecot
On Thu, 2019-06-13 at 13:05 +, Daniel Betz via dovecot wrote: > i think youre just using the wrong quota backend. > > https://wiki2.dovecot.org/Quota > > You should switch from "quota = maildir" to another one, like > dict. I switched to "quota = count:User quota" (as Aki suggested) and

Addheader specified field name `Reply-To:' is invalid.

2019-06-13 Thread @lbutlr via dovecot
Well, progress. At least now editheader loads. Sadly that brings up new errors. specified field name `Reply-To:' is invalid. if header :contains "List-id" "" { addheader "Reply-To:" ""; addheader "X-added-reply-To:" "True"; fileinto :create “spamassassin"; stop;} -- You only had t

Re: Addheader specified field name `Reply-To:' is invalid.

2019-06-13 Thread Aki Tuomi via dovecot
On 14 June 2019 04:25 @lbutlr via dovecot < dovecot@dovecot.org> wrote: Well, progress. At least now editheader loads. Sadly that brings up new errors. specified field name `Reply-To:' is invalid.

Re: Dovecot director: show user breakdown by director?

2019-06-13 Thread Sami Ketola via dovecot
> On 13 Jun 2019, at 20.15, Eirik Rye via dovecot wrote: > Is there a way in Dovecot to see which (or even how many) users are connected > to a specific director without having to count TCP connections? # ps aux | grep imap-login dovenull 3200 0.0 0.0 44676 3376 ?SApr16 1:15