Re: Sieve_before

2020-10-22 Thread @lbutlr
On 22 Oct 2020, at 09:35, @lbutlr wrote: > Is there a way to force the default and sieve_before scripts to log to syslog? OK, the "top level" sieves are also logged to the users trace files along with the user's sieve files, if any. So, I am getting this: 3: address tes

Re: Sieve_before

2020-10-22 Thread @lbutlr
On 21 Oct 2020, at 14:10, @lbutlr 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 sieve>". Any ideas? Is there a way to force the default and sieve_before scrip

Re: Sieve_before

2020-10-21 Thread @lbutlr
Something odd happens when I copied and pasted. > On 21 Oct 2020, at 19:05, @lbutlr wrote: > > sieve_extensions = +editheader sieve_extensions = +editheader sieve_filter_bib_dir = /usr/lib/dovecot/sieve sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.en

Re: Understanding matches in sieve

2020-10-21 Thread @lbutlr
On 21 Oct 2020, at 18:04, Robert L Mathews wrote: > On 10/21/20 11:15 AM, @lbutlr wrote: >> I am laso not sure why the first example used **.com instead of *.com (or is >> that the reason $1 doesn't contain anything because it is the first * of >> **?). > Yes. The

Re: Sieve_before

2020-10-21 Thread @lbutlr
> On 21 Oct 2020, at 15:45, PGNet Dev wrote: > > On 10/21/20 2:12 PM, @lbutlr wrote: >> Do I HAVE to have a default.sieve, that's the only thing that I can think >> the has changed in that folder. > RE: compile, fyi note @ > > > https://wi

Re: Sieve_before

2020-10-21 Thread @lbutlr
On 21 Oct 2020, at 14:35, PGNet Dev wrote: > On 10/21/20 1:10 PM, @lbutlr 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 > of sieve>". > > verify that

Re: Sieve_before

2020-10-21 Thread @lbutlr
On 21 Oct 2020, at 13:08, @lbutlr wrote: > # cat /usr/lib/dovecot/sieve/bcc.sieve > require ["variables", "copy"]; > > if address :matches ["To", "Cc"] ["*@*."] { > redirect :copy "backup+295.${1}.${2}@. . ."; > } …

Sieve_before

2020-10-21 Thread @lbutlr
So, this is what I did instead of default_sieve: sieve_before = file:/usr/lib/dovecot/sieve/bcc.sieve sieve_before2 = file:/usr/lib/dovecot/sieve/filespam.sieve # cat /usr/lib/dovecot/sieve/bcc.sieve require ["variables", "copy"]; if address :matches ["To", "Cc"] ["*@*."] { redirect :copy

Understanding matches in sieve

2020-10-21 Thread @lbutlr
RFC 5229 gives the following example: if address :matches ["To", "Cc"] ["coyote@**.com", "wile@**.com"] { # ${0} is the matching address # ${1} is always the empty string # ${2} is part of the domain name ("ACME.Example") fileinto "INBOX.busine

Re: Restrictions on default.sieve

2020-10-21 Thread @lbutlr
On 21 Oct 2020, at 11:51, PGNet Dev wrote: > On 10/21/20 10:29 AM, @lbutlr wrote: >> Are there actions that default.sieve cannot take? >> I tried adding >> redirect :copy "backup+...@local.example.com" > > do you have an explicit > > require ["

Restrictions on default.sieve

2020-10-21 Thread @lbutlr
Are there actions that default.sieve cannot take? I tried adding redirect :copy "backup+...@local.example.com" and… nothing. No errors I can find, but also no mail being redirected. I also tried # there must be 'from' in the received headers if header :contains "received" "from" { redirec

Re: A user's last access time

2020-10-21 Thread @lbutlr
On 20 Oct 2020, at 20:08, Victor Sudakov wrote: > @lbutlr wrote: >> On 19 Oct 2020, at 20:31, Victor Sudakov wrote: >>> I have seen this but I do not want this information in a database. >> … >> >>> Even a local sqlite database would do. >> >&

Re: Sieve body test

2020-10-20 Thread @lbutlr
On 20 Oct 2020, at 13:46, @lbutlr wrote: > > It looks like what I need to do is enable and use vnd.dovecot.filter error: require command: unknown Sieve capability `vnd.dovecot.filter'. Is this not available to a user? I guess I can put the in global, but ick. -- he'd moved

Sieve body test

2020-10-20 Thread @lbutlr
I have an email where I need to edit the body. I know this is generally a bad idea, but in this case I need to do it. The email comes in automatically every week or two, and so I thought that SIEVE would be the way to go. if header :contains "from" "theaddress@tehdomain" { if body :raw :

Re: A user's last access time

2020-10-20 Thread @lbutlr
On 20 Oct 2020, at 00:33, Aki Tuomi wrote: > plugin { > >last_login_dict = file:/somewhere/lastlogin > > } It may be worth nothing that this can be specified as ~/.lastlogin As well as something along the liens of /usr/local/virtual/%d/%u/.lastlogin Dovecot is smart enough to do the expans

Re: A user's last access time

2020-10-20 Thread @lbutlr
On 19 Oct 2020, at 20:31, Victor Sudakov wrote: > I have seen this but I do not want this information in a database. … > Even a local sqlite database would do. What? -- I desire the things that will destroy me in the end.

Re: Dovecot docker auto-responder - delegate to external SMTP

2020-10-19 Thread @lbutlr
On 19 Oct 2020, at 04:28, Thomas Pronold wrote: > The postfix image is configured in a way that certain IPs are allowed to send > mails without authentication. So on postfix side I am set. This is a *terrible* idea. ALL submissions outside of localhost (of the mail server) to localdomains shoul

Re: Dovecot won't accept IMAP TLS 1 connections from older devices [SOLVED]

2020-10-16 Thread @lbutlr
On 15 Oct 2020, at 22:18, Brian Martin wrote: > Eventually I came across one posting regarding a web server, that told me the > OpenSSL libraries that Dovecot and lots of other packages use has a single > configuration file for the entire system. In Ubuntu 20.04 it defaults to > requiring TLSv

Re: Auro expunge

2020-10-15 Thread @lbutlr
On 15 Oct 2020, at 01:32, Sami Ketola wrote: > What dovecot version is this? dovecot-2.3.11.3 I think, I don't remember an update within the last few days. I keep dovecot up-to-date. -- "Are you pondering what I'm pondering?" "I think so, Ali-Brain! But isn't it cheating to use glue?"

Re: How do I enable sieve trace debugging?

2020-10-14 Thread @lbutlr
> On 14 Oct 2020, at 10:58, Graham Leggett wrote: > > Hi all, > > I want to enable trace debugging for sieve. Most specifically, I want to know > what sieve scripts are running, and whether they’re doing anything. This is what I have: plugin { sieve_trace_dir = ~/.trace sieve_trace_lev

Re: Changing IMAP separator - does it break things?

2020-10-14 Thread @lbutlr
On 14 Oct 2020, at 12:37, @lbutlr wrote: > jeorachu I swear I typed hierarchy. -- "A synonym is a word you use when you can't spell the word you first thought of." - Burt Bacharach

Re: Changing IMAP separator - does it break things?

2020-10-14 Thread @lbutlr
On 14 Oct 2020, at 05:39, Sami Ketola wrote: >> On 14. Oct 2020, at 14.20, @lbutlr wrote: >> >> On 14 Oct 2020, at 04:24, Sami Ketola wrote: >>> On 14. Oct 2020, at 12.51, Victor Sudakov wrote: >>>> Those Mac clients who do not use nested folders do not

Re: Changing IMAP separator - does it break things?

2020-10-14 Thread @lbutlr
On 14 Oct 2020, at 04:24, Sami Ketola wrote: > On 14. Oct 2020, at 12.51, Victor Sudakov wrote: >> Those Mac clients who do not use nested folders do not seem to be >> affected. That is, I've already suggested to the Mac Mail user that he >> start Thunderbird, move all his mailboxes into the IMAP

Re: Changing IMAP separator - does it break things?

2020-10-14 Thread @lbutlr
On 13 Oct 2020, at 20:36, Victor Sudakov wrote: > I am using Dovecot 2.3.4.1 with maildirs. Just found out that MacOS Mail > clients cannot work with nested folders, presumably because the MacOS > Mail does not understand "." as the IMAP separator. This is not correct. Mac Mail has no problems wi

Re: dovecot Digest, Vol 210, Issue 27

2020-10-14 Thread @lbutlr
On 13 Oct 2020, at 21:54, webad...@exalt.com.au wrote: > I am investigating whether dovecot(https://github.com/dovecot/core/) handles > case insensitive Message-ID headers as per RFC. What do you mean by "handles"? Dovecot is an LDA, it has no interaction with the Message-ID headers. You've been

Auro expunge

2020-10-13 Thread @lbutlr
When using autoexpunge = 14 days in, for example. The trash of junk folders, does that physically remove the messages from disk or simply mark them to be removed and some other action needs to be taken? I ask because my mail server crapped out today and I discovered a Junk folder with 490,000 m

Re: DKIM fail if WHM adds Message-ID, should be Message-Id

2020-10-12 Thread @lbutlr
> On 12 Oct 2020, at 03:06, Tom Hendrikx wrote: > > On 12-10-2020 10:16, Robert Martin wrote: >> I created a client library to send emails for a webapp. >> >> >> After connecting to the SMTP server with credential setup in CPANEL, and >> then do NOT add Message-Id header, the DKIM signatur

Re: DKIM fail if WHM adds Message-ID, should be Message-Id

2020-10-12 Thread @lbutlr
On 12 Oct 2020, at 02:51, webad...@exalt.com.au wrote: > I created a client library to send emails for a webapp. > > When the client library makes a connection to the SMTP server, and then do > NOT add Message-Id header, Message-ID (with a capital D) header is added, > and the SMTP server adds

Re: Providers running dovecot?

2020-10-11 Thread @lbutlr
> On 10 Oct 2020, at 08:35, Olivier Cailloux > wrote: > > Le samedi 10 octobre 2020 à 03:31 -0600, @lbutlr a écrit : >> On 09 Oct 2020, at 02:15, Olivier Cailloux < >> olivier.caill...@dauphine.fr >>> wrote: >>> My question is really: are the

Re: Feature request.

2020-10-10 Thread @lbutlr
On 09 Oct 2020, at 02:16, Rogier Wolff wrote: > It turns out that dovecot had been running uninterrupted since august > 13th, the certificate was renewed on september 7th and I suspect it > expired on october 7th. The ACME protocol that LE uses has a specific feature for specifying a script to r

Re: Providers running dovecot?

2020-10-10 Thread @lbutlr
On 09 Oct 2020, at 02:15, Olivier Cailloux wrote: > My question is really: are there providers out there that satisfy these > two conditions: > a) offer free e-mail accounts (similar to Yahoo, GMail, and so on) Doubtful, and if so I don't know any. > b) implement correctly the IMAP SEARCH featur

Sieve not exists

2020-10-01 Thread @lbutlr
I thought this was working as intended, but I have recently been getting some random messages put into this mailbox that definitely have list-ip headers (including some messages from this list) and that do not have multiple addresses. I believe this started happening on 20200922, which would hav

Re: Re-sieve emails

2020-09-29 Thread @lbutlr
On 29 Sep 2020, at 02:58, @lbutlr wrote: > On 29 Sep 2020, at 01:21, Aki Tuomi wrote: >>> On 29/09/2020 09:09 @lbutlr wrote: >>> Is it possible to take the contents of a mailbox and feed them to the >>> account's .active_sieve file for reprocessing? &g

Re: Re-sieve emails

2020-09-29 Thread @lbutlr
On 29 Sep 2020, at 01:21, Aki Tuomi wrote: >> On 29/09/2020 09:09 @lbutlr 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.o

Re: dovecot warns (non-fatal) "invalid EHLO response line: Unexpected character in EHLO keyword" connecting to submission relay ?

2020-09-28 Thread @lbutlr
On 26 Sep 2020, at 07:45, Alec Moskvin wrote: >250-AUTH PLAIN LOGIN >250 AUTH=PLAIN LOGIN I believe this is not really an issue. The warning is just that, a warning. Some (broken) mail clients, Immagonnaguess Microsoft ones, expected the =, so many mail servers provide it. AFAIK, It is

Re-sieve emails

2020-09-28 Thread @lbutlr
Is it possible to take the contents of a mailbox and feed them to the account's .active_sieve file for reprocessing? (For example, when editing the sieve file for my list account I introduced a typo, so a hundred or some list messages ended up in the inbox instead of filed properly into the mai

Re: Shared folders using mbox format

2020-09-25 Thread @lbutlr
On 25 Sep 2020, at 16:27, Sven Hartge wrote: > On 25.09.20 23:04, Alex wrote: >> I'd like to create a shared folder to be used with an Outlook client and a Thunderbird client. We're currently using mboxes. I've read the documentation here about creating a shared folder:

Re: Dovecot permission denied errors on NFS after upgrade to 2.2.17

2020-09-23 Thread @lbutlr
On 21 Sep 2020, at 01:48, Claudio Corvino wrote: > problem still occurring, I just noticed that if I do an "ls -l > /mnt/mail-storage//Maildir/cur/" from the Dovecot server I can unblock > the mailbox of the user and Thunderbird can receives all the e-mails. > > The problem occurs even with the

Re: Vacation sieve explained: how does it work?

2020-09-23 Thread @lbutlr
On 23 Sep 2020, at 08:52, Graham Leggett wrote: > On 23 Sep 2020, at 14:29, Marc Roos wrote: >> You can do whatever you like, as long as the result is this 'text' file. >> I have also bash file that modifies this file for users. You can make a >> 5 min cron job that detects changes in ldap and

Re: Default sieve mark seen?

2020-09-18 Thread @lbutlr
Any ideas on this? > On 05 Sep 2020, at 11:47, @lbutlr wrote: > > I have the following in my default.sieve file: > > require "fileinto"; > if header :contains "X-spam-flag" "YES" { > require ["vnd.dovecot.pipe", "copy",

Default sieve mark seen?

2020-09-05 Thread @lbutlr
I have the following in my default.sieve file: require "fileinto"; if header :contains "X-spam-flag" "YES" { require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables", "imap4flags"]; setflag "\\Seen"; fileinto "Junk"; } This is largely unchanged, except that I added im

Re: Dovecot Proxy

2020-09-01 Thread @lbutlr
On 31 Aug 2020, at 03:33, Thoralf Rickert-Wendt wrote: > documentation https://wiki1.dovecot.org/HowTo/ImapProxy (which is really old > and should be updated) That is documentation for Dovecott version 1 (that's the 1 in wiki1). Other than that, I can't help you, but this documentation is abosl

Re: Deleted mail reappearing

2020-09-01 Thread @lbutlr
On 31 Aug 2020, at 22:28, John S wrote: > Recently I upgraded dovecot quite a few major versions. Since then some > mailboxes are experiencing deleted mail reappearing. It seems to be happening > roughly once a day, but not for every mail client or mailbox, I have at least > two clients with th

Re: Bug: Dovecot appending "MISSING_DOMAIN" to fetch envelope responses

2020-09-01 Thread @lbutlr
On 31 Aug 2020, at 06:23, Michael Gratton wrote: > Any word about this issue? Should I file a bug in an actual bug tracker or > something? I don't think it's a bug? -- Eliot: We'll figure it out. We always do. Margo: When it's a test to cheat on. Not when we're stuck in some epic fantasy

Re: Is it possible to only replicate indexes and not the mail data

2020-08-27 Thread @lbutlr
On 27 Aug 2020, at 15:02, Marc Roos wrote: > Is it possible to only replicate indexes and not the mail data? (Because > the data is already on distributed storage) Does replication re-copy data that is already on the replication server? I don't think it does. -- "Are you pondering what I'm

Re: OT: SASL questions

2020-08-21 Thread @lbutlr
On 21 Aug 2020, at 01:05, Richard Hector wrote: > Is that a standard interface? ie can a client like postfix talk to > either dovecot or cyrus without knowing the difference? Yes. Postfix does not care, though I find it is easier to setup and more reliable to use dovecot (I've used both, YMMV).

Re: Apple Mail Since upgrade to dovecot 2.3.x unable to connect

2020-08-17 Thread @lbutlr
On 17 Aug 2020, at 05:10, Gerald Galster wrote: > I don't know how detailed this is in older Apple Mail versions I don't think the detail has changed in many many years, if at all. I remember using the logs to troubleshoot security issues 15 years ago. Mac OS 10.11 El Capitan was released in 20

Re: User doesn't exist

2020-08-15 Thread @lbutlr
On 14 Aug 2020, at 15:29, Bruno Kiste wrote: > Can I make it ignore the hostname part or accept the user "bruno" as > "bruno@2c2axxx.online-server.cloud"? > Can I change the lookup in dovecot or do I have to edit the postfix > configuration? It seems to me that the proper way to do this is to hav

Re: Sieve and handling multiple addresses

2020-07-19 Thread @lbutlr
On 19 Jul 2020, at 07:31, Aki Tuomi wrote: > :comparator might work better. Seems likely, yes. Sigh. -- he'd moved like music, like someone dancing to a rhythm inside his head. And his face for a moment in the moonlight was the skull of an angel…

Re: Sieve and handling multiple addresses

2020-07-19 Thread @lbutlr
On 18 Jul 2020, at 11:23, Stephan Bosch wrote: > On 12/07/2020 22:47, @lbutlr wrote: >> On 12 Jul 2020, at 10:17, Benny Pedersen wrote: >>> @lbutlr skrev den 2020-07-12 16:43: >>>> I an trying to write a sieve action that will take mail that is >>>>

Re: Sieve and handling multiple addresses

2020-07-12 Thread @lbutlr
On 12 Jul 2020, at 10:17, Benny Pedersen 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 (e.g. "Direct") if >> it is to the email AND to any other e

Sieve and handling multiple addresses

2020-07-12 Thread @lbutlr
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 (e.g. "Direct") if it is to the email AND to any other email address, then file it in a mailbox named, e.g. "Cc". And if the mail is not addressed to the user at all, sieve does noth

Re: Apple Mail and subfolders

2020-07-11 Thread @lbutlr
On 11 Jul 2020, at 13:50, Filip Hajný wrote: > > I’ve created a test server and found out that the driving factor is what the > namespace `separator` is set to. If set to /, Apple Mail gets confused and > URL-encodes it when creating a new folder. If the separator is blank (as set > by default

Re: Apple Mail and subfolders

2020-07-11 Thread @lbutlr
On 11 Jul 2020, at 08:05, Filip Hajný wrote: > does anybody here use MacOS (Catalina) Mail, who can confirm that subfolders > (i.e. folders inside folders) work for them? Yes, works fine on Catalina (and, if you're curious, Big Sur). > It seems that I cannot create/access Maildir subfolders at

Re: Urgent Help required

2020-07-08 Thread @lbutlr
On 08 Jul 2020, at 13:39, Marc Roos wrote: >> with broken or vulnerable software is there really a benefit? > > LTS distributions back port necessary patches Then the OP should be able to update to a dovecot that doesn't have the issue, right? -- 'And I suppose you know what sound is made

Re: Urgent Help required

2020-07-08 Thread @lbutlr
On 08 Jul 2020, at 12:28, Kishore Potnuru wrote: > As per our current infrastructure, I can go maximum of the redhat 7.7 version. If you have artificial constraints that limit your software to only what is available for old Extended Support systems them when that old software is not working, yo

Re: Outlook vs Thunderbird

2020-07-07 Thread @lbutlr
On 07 Jul 2020, at 10:11, Sebastian Nielsen wrote: > If the IMAP server cannot be accessed from the outside, and the traffic don't > travel over wifi or public networks, no danger. No, not no danger, but certainly less danger. The most obvious dangers even in a closed environment is if someone

Re: Dovecot Maildirs multi language

2020-07-07 Thread @lbutlr
On 07 Jul 2020, at 00:38, Luca Müller wrote: > Is it possible to change this configuration for specific users or to provide > multi language support somehow? What happens if you use the default English labels? On my clients, the MUA localizes labels to the preferred language. I Have tested wit

Re: Outlook vs Thunderbird

2020-07-06 Thread @lbutlr
On 06 Jul 2020, at 20:30, Mark Constable wrote: > you could try disabling SSL/STARTTLS on port 143. What? I’ve never seen SSL/StARTTLS on port 143,a dn I doubt that would work? -- Rumour is information distilled so finely that it can filter through anything. It does not need doors and windows -

Re: Outlook vs Thunderbird

2020-07-06 Thread @lbutlr
On 06 Jul 2020, at 15:48, The Doctor wrote: > Got a client that usually uses Outlook I think 2010. This person tends to > move > their e-mails to certain folers. On Thunderbird, the move shows. > Not on Outlook. > > Any explanation? Since the move works fine in Thunderbrd (and I assume any

Re: export of information about mail into csv

2020-07-05 Thread @lbutlr
On 05 Jul 2020, at 09:10, Aki Tuomi wrote: > doveadm -ftab fetch -u user "hdr.from hdr.to date hdr.subject" mailbox FooBox > | sed -e "s/\t/;/g" > result.csv > > Might need bit of tuning hdr.date. Other than that, seems to work fine. -- "Are you pondering what I'm pondering?" "I think so, B

Re: Apple mail works but thunderbird unable to connect

2020-06-22 Thread @lbutlr
On 22 Jun 2020, at 10:19, Dshah wrote: > I am stuck on this issue for days, I am able to connect on my IMAP server > using Apple mail client but thunderbird shows me this error: "improper > command pipelining after EHLO" Mozilla Thunderbird is misconfigured. Double check all your server names a

Re: Read-flag of mails don't update

2020-06-12 Thread @lbutlr
On 12 Jun 2020, at 01:02, Marius Rasch wrote: > Am 11.06.20 um 18:08 schrieb @lbutlr: >>> ssl_cipher_list = >>> ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-A

Re: executing script on mail arrival from sieve

2020-06-11 Thread @lbutlr
On 11 Jun 2020, at 05:24, Voytek Eymont wrote: > > looking at wiki2, 'Pigeonhole Sieve Extprograms Plugin', is this what > would allow to execute my script on new mail arrival? Yes. This is what I have to auto=mark spam when it is moved too the Spam folder and to mark messages as seen when the

Re: handling spam from gmail.

2020-06-11 Thread @lbutlr
On 11 Jun 2020, at 03:54, Marc Roos wrote: > Yes tell that to the people that create rhel6, rhel7 and rhel8 and give > lts support. Please post only properly quoted messages and do not top post. > SpamAssassin 3.3.1 is also not very smart in 2020 Also, do not run old versions of Spamassasin.

Re: handling spam from gmail.

2020-06-11 Thread @lbutlr
On 11 Jun 2020, at 04:05, Hendrik Boom wrote: > I use greylisting with my postfix. On Debian and Devuan th package is > called 'postgrey'. As was recently discussed on the postfix list, this WILL result in lost mail, and it WILL screw with "enter this validation code" emails sent to users who

Re: Read-flag of mails don't update

2020-06-11 Thread @lbutlr
On 10 Jun 2020, at 23:19, @lbutlr wrote: > On 10 Jun 2020, at 23:18, @lbutlr 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

Re: Pigeonhole-sieve auto-reply

2020-06-11 Thread @lbutlr
On 11 Jun 2020, at 02:03, Marc Roos wrote: > A vaction message does not need to be sending text about a leave of > absense. It is just a rule with criteria being executed. Change the rule > to whatever you want, Ah, I had no idea. I've never used a vacation program and never would, so I did no

Re: Read-flag of mails don't update

2020-06-10 Thread @lbutlr
On 10 Jun 2020, at 23:18, @lbutlr 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.

Re: Read-flag of mails don't update

2020-06-10 Thread @lbutlr
On 10 Jun 2020, at 01:42, Marius Rasch wrote: > since one or two month I have a problem with Dovecot not updating the > read-flag on mails using IMAP. I receive new mails, but when reading, they > still unread on other devices (but shown as read on the first device). When this has happened to m

Pigeonhole-sieve auto-reply

2020-06-10 Thread @lbutlr
Is it possible to have a sieve script reply with a press message to certain emails (and only certain emails) based on sieve matches? I see a lot on vacation replies, but I want something more specific. Something along the lines of procmails formail command? Everything I’ve searched for is about

Re: Deliver administrative message ignoring user quota

2020-06-06 Thread @lbutlr
On 06 Jun 2020, at 21:27, @lbutlr wrote: > As for subverting the quota you can explode a specific folder Exclude. > from quota rules, and use sieve to deliver the admin message to that folder > (and to auto-move mails in that folder that are not admin messages pit Out. > of

Re: Deliver administrative message ignoring user quota

2020-06-06 Thread @lbutlr
On 06 Jun 2020, at 11:25, Peter Folta wrote: > I have a separate internal system running on a different host that needs to > put an administrative email into a user’s inbox. The easiest way to do the is simply to send an email. It is a lot simpler to setup the right authentication settings that

Re: Doveadm Backup issues

2020-06-06 Thread @lbutlr
On 05 Jun 2020, at 17:09, Bernardo Reino wrote: > USERS=$(cat /etc/dovecot/virtual_passwd | cut -d: -f1) Is that a standard file? It's not one I have. I would use (not that I have, but it seem like the way to get a list of users) USERS=$( doveadm user '*' ) -- You start a conversation you

Re:

2020-06-06 Thread @lbutlr
On 05 Jun 2020, at 11:27, Stephen Blackwell wrote: > I want to disable the time penalty for dovecot imap authentication. When > receiving a valid user-password combo the server responds in .04 seconds. > When I send in an invalid comination it will either respond in 1.544 or 2.044 > seconds +=

Re: Simple backup of maildir folder

2020-05-31 Thread @lbutlr
On 31 May 2020, at 12:05, Francis Augusto Medeiros-Logeay wrote: > It annoys me have to do the doveadm to the local server - seems like a waste > of disk space, but since maildirlock is not working and since doveadm backup > to a remote server requires a bit more work to, well, to work, so I gu

Re: Simple backup of maildir folder

2020-05-31 Thread @lbutlr
On 31 May 2020, at 03:11, Laura Smith wrote: > On Sunday, 31 May 2020 09:35, @lbutlr wrote: >> A couple of notes on this quite useful script: >> >> My mktemp does not support -p (FreeBSD 12.1) is I had to change the script >> to: > > > In my scripts

Re: I can no longer use TLS for Windows7 and Outlook

2020-05-31 Thread @lbutlr
On 30 May 2020, at 22:36, Mark Constable wrote: > 993/995 with TLS enabled back to ports 143/110 without SSL or they > could not pick up email. Thunderbird users (ie; me) were unaffected. Insecure mail login is far too risky to allow. I don't even allow it within a LAN. > Could anyone share a s

Re: Simple backup of maildir folder

2020-05-31 Thread @lbutlr
On 29 May 2020, at 23:49, Admin Beckspaced wrote: > I also have maildir as mailbox format and use the following script to do > daily backups > > https://github.com/tachtler/dovecot-backup A couple of notes on this quite useful script: My mktemp does not support -p (FreeBSD 12.1) is I had to ch

Re: identify 143 vs 993 clients

2020-05-29 Thread @lbutlr
On 25 May 2020, at 12:48, mj wrote: > I would then ask them to move over to 993, and finally disable port 143 > altogether. From personal experience the only way to do this is to stop listening to port 143. I dropped support for non-encrypted mail ports ages ago, and I didn't get a single user

Re: how to automatically delete folders from Trash after x days

2020-05-20 Thread @lbutlr
On 20 May 2020, at 09:49, cha...@afo.net wrote: > > This works great for keeping the Trash from overflowing ... > > doveadm expunge -A mailbox Trash before 30d I do this instead: mailbox Junk { autoexpunge = 14 days auto = subscribe special_use = \Junk } mailbox Trash { a

Re: Problems with userdb and mail deliveribility

2020-05-17 Thread @lbutlr
On 17 May 2020, at 11:08, Chris Bennett wrote: > > I realize that I dumpimg a lot of info out there. But not what we need. doveconf -n postfix -n (or equivalent) What MTA you are using (postfix, etc) Errors in mail.log showing the failures. > I can shoot for system users, but I really want

Re: Sieve addheader directive works only partially

2020-05-13 Thread @lbutlr
On 13 May 2020, at 12:10, Peter Folta wrote: > However, if I also move the email to a different folder in the same if-block, > the header gets added just fine: > > require “editheader”; > require “fileinto”; > > if address :is "From” “special-sen...@example.com” { >addheader “X-My-Custom-He

Re: Ms Exchange vs dovecot

2020-05-09 Thread @lbutlr
On 08 May 2020, at 19:02, Eric Broch wrote: > Microsoft and Bill Gates are like inoperable tumors. Your outdated knee-jerking is entirely off-topic. Please find a political list if you want to continue your screed. -- The way I see it, the longer I put it off, the better it'll end up

Re: What's a Reasonable Inbox Size?

2020-05-09 Thread @lbutlr
On 08 May 2020, at 12:54, a...@globalchangemusic.org wrote: >> It depends on what you consider reasonable. >> >> The processing time of file operation that iterates through a mailbox >> will generally go up proportinately with size. If you do a text search >> without some indexing system like Sol

Re: Unable to disable TLSv1.3 or fallback to TLSv1.2 when 1 cipher is disabled

2020-05-09 Thread @lbutlr
On 08 May 2020, at 09:43, Steve Egbert wrote: > I have an operational need to disable TLSv1.3 due to inadequate support to > exclude certain ciphers. There is no need to disable TLSv1.3 and attempts to do so will be flagged as “downgrade attacks”. > Much to my dismay, the `ssl_protocols` had b

Re: ot: copy physical mail files ?

2020-05-09 Thread @lbutlr
On 07 May 2020, at 23:15, Voytek Eymont wrote: > hmmm, I use Squirrel web mail, don't have mail client, except on phone > (maybe Android mail client can do...? not sure, must check) Squiirrelmail has been abandoned for many years and hasn’t seen significant updates in about a decade. It does not

Re: [External] What's a Reasonable Inbox Size?

2020-05-07 Thread @lbutlr
On 07 May 2020, at 10:40, Kevin A. McGrail wrote: > We find that large inboxes are bad for the server and bad for the client > because the MUAs just don't handle it well either. 1 or 2GBs and you > start to see issues. Which is a good reason to move off mbox. There are several other much superio

Re: Dovecot LDAP/AD with exim as mta

2020-05-04 Thread @lbutlr
On 04 May 2020, at 09:39, Benoît PELISSIER wrote: > I have distribution group or group with mail address on AD and users as > member of this groups. But when i send mail to group mail address, its not > working IN your mail software ou should have a way to lookup the group address that returns

Re: Dovecot IMAPS : Thunderbird SSL cert issue / Evolution OK

2020-05-04 Thread @lbutlr
On 04 May 2020, at 11:44, hanas...@gmail.com wrote > Have also tried typing smtp://host:25 and https://host:25 Can’t help you with thunderbird (which I consider one garage above garbage) but port 25 is not a TLS port and will not be sending a cert challenge. -- "Are you pondering what I'm p

Re: Hierarchy separator recommendation?

2020-04-26 Thread @lbutlr
On 24 Apr 2020, at 12:19, Admin Beckspaced wrote: > So I better use '/' then 😉 Only if you plan on having shared folders with . in the name or your users for some reason require having periods in the names of IMAP folders. Both of these cases are not impossible, but seem to be extremely unlikel

Re: Hierarchy separator recommendation?

2020-04-26 Thread @lbutlr

Re: sieve question

2020-04-22 Thread @lbutlr
On 21 Apr 2020, at 11:54, Ralph Seichter wrote: > * mj: > Our autoreply message reads: "Your email has not been read nor >> forwarded", which is also the case, forcing the sender to take action. > > No, it does not. An auto-reply message, even if it is actually read by > the sender, can be ignore

Re: sieve question

2020-04-20 Thread @lbutlr
> On 20 Apr 2020, at 04:27, mj wrote: > > Hi Ralph! > > Thanks for your reply! > > On 4/20/20 12:19 PM, Ralph Seichter wrote: >> I suggest you don't use Sieve for this, but simply configure Postfix >> to reject messages to @old.domain.com with the desired message. MTA >> rejections signal cl

Re: replication newbie: some beginner questions

2020-04-16 Thread @lbutlr
On 16 Apr 2020, at 19:37, @lbutlr wrote: > (dovevot mailers under a email user) vmail user, thank you autocorrect. -- "Are you pondering what I'm pondering?" "I think so, Larry, and um, Brain, but how can we get seven dwarves to shave their legs?”

Re: replication newbie: some beginner questions

2020-04-16 Thread @lbutlr
On 15 Apr 2020, at 07:50, Stefan G. Weichinger wrote: > So I think about how to get the mailboxes from A to B. > > We use one UID afaik: > > mail_home = /home/vmail/%d/%u > mail_location = maildir:~ > > I read about dsync and wonder: > > * does it make sense in this case to set up replication

Re: Sieve with links?

2020-04-03 Thread @lbutlr
On 02 Apr 2020, at 05:02, @lbutlr wrote: > # doveadm sieve list -u user@domain > doveadm(user@domain): Warning: sieve: file storage: Active sieve script > symlink /usr/local/virtual/user@domain/.active_sieve is no symlink. > spamassassin ACTIVE BTW, if I remove the link and place a

Re: Sieve with links?

2020-04-02 Thread @lbutlr
On 02 Apr 2020, at 06:27, Sami Ketola wrote: > if you do cat /usr/local/virtual/user@domain/.active_sieve does it follow the > symlink correctly? Yes. On 02 Apr 2020, at 05:03, Aki Tuomi wrote: > And what is the "default sieve file"? The system-code one that runs for all users. # cat /usr/li

Re: Sieve with links?

2020-04-02 Thread @lbutlr
On 02 Apr 2020, at 03:48, Aki Tuomi wrote: > On 2.4.2020 11.07, @lbutlr wrote: >> Is there any reason that a .active_sieve file would not load because it is a >> symbolic link? The target of the link is readable by the mail user, but >> instead of getting the trace for the

Sieve with links?

2020-04-02 Thread @lbutlr
Is there any reason that a .active_sieve file would not load because it is a symbolic link? The target of the link is readable by the mail user, but instead of getting the trace for the .active_sieve file, I only get the trace for the default sieve file. -- 'Winners never talk about glorious

<    1   2   3   4   5   6   >