Re: Rebuild UIDs for mdbox

2016-11-27 Thread @lbutlr
On Nov 27, 2016, at 1:41 PM, Darac Marjal wrote: > Firstly, that page states that UIDs should be 32-bit integers. If so, > why do there appear to be UIDs greater than 3 billion in the mailbox? Because 32 bits hold 4 billion decimal? 2^32 = 4,294,967,296 (this is why FAT32 has a 4GB file size li

Remove empty milder folders

2017-01-16 Thread @lbutlr
Not sure if anyone will find this useful, but this is how I deleted a bunch (several hundred) of empty mail folders from a user account: # doveadm mailbox status -u “u...@example.com" messages "*" ALL | grep "=0" | awk -F= '{print $1}' | awk '{print "rm -rf ."$1}' > list then I looked over list

Re: Remove empty milder folders

2017-01-18 Thread @lbutlr
On 2017-01-16 (08:48 MST), Darac Marjal wrote: > > On Mon, Jan 16, 2017 at 07:03:49AM -0700, @lbutlr wrote: >> Not sure if anyone will find this useful, but this is how I deleted a bunch >> (several hundred) of empty mail folders from a user account: >> >>

Moving to new password scheme

2017-01-24 Thread @lbutlr
dovecot is setup on a system with MD5-CRYPT password scheme for all users, and I would like to update this to something that is secure, probably SSHA256-CRYPT, but I want to do this seamlessly without the users having to jump through any hoops. The users are in mySQL (managed via postfixadmin)

Re: Moving to new password scheme

2017-01-25 Thread @lbutlr
> On Jan 25, 2017, at 1:09 AM, Alessio Cecchi wrote: > > Il 24/01/2017 23:29, @lbutlr ha scritto: >> dovecot is setup on a system with MD5-CRYPT password scheme for all users, >> and I would like to update this to something that is secure, probably >> SSHA256-C

Re: Moving to new password scheme

2017-01-25 Thread @lbutlr
> On Jan 25, 2017, at 2:46 AM, Steffen Kaiser > wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wed, 25 Jan 2017, @lbutlr wrote: >>> On Jan 25, 2017, at 1:09 AM, Alessio Cecchi wrote: >>> >>> Il 24/01/2017 23:29, @lbutlr ha

Re: Moving to new password scheme

2017-01-29 Thread @lbutlr
OK, I have the dovecot.conf stuff working so that it calls the external script and I have that script spitting out the login and a SHA256-CRYPT password with hash: Thu Jan 26 06:45:54 MST 2017 USER: xan...@xanmax.com {SHA512-CRYPT}$6$CfKc0NdiRkWOisjL$kHAx2oxB… SO, feeling pretty good about that

Re: Moving to new password scheme

2017-02-02 Thread @lbutlr
On Jan 25, 2017, at 4:57 AM, Steffen Kaiser wrote: > yes, userdb's are checked in the same order as they appear in the config > file(s). Thanks for all the help, got everyone migrated over to SHA256-CRYPT now. -- Apple broke AppleScripting signatures in Mail.app, so no random signatures.

Re: Problem with Let's Encrypt Certificate

2017-02-18 Thread @lbutlr
On 2017-02-17 (09:58 MST), Bastian Sebode wrote: > > Weirdly my friend uses the same Dovecot Version with Let's Encrypt on > his Server and it works with Thunderbird without any flaws. Mine fails > the same way in his Thunderbird and also in a fresh installation. Well, at least you’ve narrowed t

Re: Problem with Let's Encrypt Certificate

2017-02-18 Thread @lbutlr
On 2017-02-17 (11:28 MST), Robert L Mathews wrote: > > ssl_cert = ssl_key = You're also manually specifying these non-default parameters: > > ssl_cipher_list = ... > ssl_prefer_server_ciphers = yes > ssl_protocols = !SSLv2 !SSLv3 > > For testing, I would simplify. Does it work without any of

Re: Problem with Let's Encrypt Certificate

2017-02-22 Thread @lbutlr
On 19 Feb 2017, at 00:00, Michael A. Peters wrote: > That's one of the reasons I don't like Let's Encrypt, with one year certs it > is easier to look at the certs and see what is going to expire in the coming > month needing a new private key. Since renewal is entirely automatic, when certs exp

Re: Scaling to 10 Million IMAP sessions on a single server

2017-02-23 Thread @lbutlr
On 23 Feb 2017, at 00:33, Ruga wrote: > Comparison of Dovecot, Uwash, Courier, Cyrus and M-Box: > http://www.isode.com/whitepapers/mbox-benchmark.html Uwash? as in UW IMAP that I used briefly in 1999? That hasn't seen an update in a decade? -- Apple broke AppleScripting signatures in Mail.app

Re: welcome plugin

2017-03-02 Thread @lbutlr
On 2017-03-02 (16:54 MST), David Mehler wrote: > > Is anyone using the welcome plugin? I'm trying to utilize it to send a > message when a user first logs in to the system, containing important > information for them to know. The plugin loads, I don't have a > configuration problem, but the messa

Re: welcome plugin

2017-03-02 Thread @lbutlr
On 2017-03-02 (17:51 MST), David Mehler wrote: > > Feb 28 14:52:06 hostname dovecot: lda(testu...@domain.tld): Error: > userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: > Permission denied (euid=143(dovecot) egid=143(dovecot) missing +r > perm: /var/run/dovecot/auth-userdb, dir owned

Re: Do I need to configure director?

2017-03-06 Thread @lbutlr
On 03 Mar 2017, at 05:42, Angel L. Mateo wrote: > Is there any advantage of running director in this scenario? I haven't used director, but based on what it does it seems it would be of no benefit when the LDAP record has the information that director would otherwise provide. Are your lo

Adding secure POP3?

2017-04-13 Thread @lbutlr
I have a working server that only allows connections over secure IMAP (port 993) and secured submission (587). However, I have one account that has been forwarding mail to gmail for many years and that is getting to be more and more of a problem as more large sites enforce DMARC. So, the only

Re: Adding secure POP3?

2017-04-13 Thread @lbutlr
On 2017-04-13 (05:11 MDT), "@lbutlr" wrote: > > 1) How do I add a secure (TLS) POP3 service to dovecot > 2) can I restrict access to that to specific users? Domains? > > OT, but someone probably knows, is secured POP3 going to work with gmail? 4) Can I force pop3 co

Re: Adding secure POP3?

2017-04-13 Thread @lbutlr
On 2017-04-13 (05:27 MDT), Aki Tuomi wrote: > > 4) you can use autoexpunge here, i guess. Are messages marked in anyway once they’ve been fetched with pop3 (like marked read?). If so, I could auto-archive them. (I don’t mind storing old mail as much as I mind storing it in the inbox) -- Appl

Re: Adding secure POP3?

2017-04-20 Thread @lbutlr
On 2017-04-13 (06:40 MDT), Teemu Huovila wrote: > > On 13.04.2017 15:33, @lbutlr wrote: >> On 2017-04-13 (05:27 MDT), Aki Tuomi wrote: >>> >>> 4) you can use autoexpunge here, i guess. >> >> Are messages marked in anyway once they’ve been fetched w

Re: Issue with POP3s TLS/SSL on port 995 on Outlook 2016

2017-04-25 Thread @lbutlr
On 2017-04-24 (02:05 MDT), Benny Pedersen wrote: > > Aki Tuomi skrev den 2017-04-24 09:16: > >> We consider 2.2.28 stable release. > > Timo reported one bug in 2.2.28, so not so stable That’s possibly the silliest statement I’ve ever heard on any mailing list ever. *ALL* software has bugs. -

password reset

2017-09-07 Thread @lbutlr
This is off topic, but I am not sure where to go. I have a local user who cannot login because of a forgotten password, so I went to reset her password with sudo passed Which appears to work, asking for a new password and a confirmation. No error occurs (unless I give it unmatched passwords),

Re: password reset

2017-09-07 Thread @lbutlr
On Sep 7, 2017, at 2:33 PM, Ruben Safir wrote: > On 09/07/2017 02:24 PM, @lbutlr wrote: >> sudo passed > > su - > password username No difference. No difference when logging in to the console as root. -- Apple broke AppleScripting signatures in Mail.app, so no random signatures.

Re: password reset

2017-09-08 Thread @lbutlr
On Sep 8, 2017, at 3:20 AM, Steffen Kaiser wrote: > >> sudo passed > > After you did so, where does the passwort *not* work? In Dovecot? I never got as far as checking in dovecot. It did not work from the command line. >> if I try to change the password in the user's account (after su ) t

Dovecot and Letsencrypt certs

2017-09-08 Thread @lbutlr
So this morning at 4am I was awoken to my mail clients getting certificate errors for an expired certificate. I hopped on to the server and checked and… no, the LE certs renewed last month and are valid until November. After some moments of confusion I noticed that dovecot had been running sinc

Re: Dovecot and Letsencrypt certs

2017-09-08 Thread @lbutlr
On 08 Sep 2017, at 09:28, Вадим Бажов wrote: > "I think it’s probably easier to just kick dovecot once a month." - > that's not good from system administration's point of view. You can > get into trouble when certificate is renewed but dovecot isn't > reloaded yet. That's simply not possible. The

Re: Dovecot and Letsencrypt certs

2017-09-08 Thread @lbutlr
On 08 Sep 2017, at 10:08, Ralph Seichter wrote: > What is Dovecot supposed to do? Keep track of the certificate expiry > date? And if that is passed, then what? Automatically shutdown/restart? > What if the certificate has not been updated in between? I think that > handling certificates is better

Embeding a path in address extensions

2017-09-08 Thread @lbutlr
I generate bcc backups with the pattern backups+date.user.domain@mybackupdomain.tld (for example, backups+20170908.kremels.kreme@mybackupdomain.tld) This puts mail in …/.20170908.kremels.kreme.com/new What I would like to do is get the expansion to generate the following path …/.201709

Re: Dovecot and Letsencrypt certs

2017-09-08 Thread @lbutlr
On 08 Sep 2017, at 12:21, Ralph Seichter wrote: > On 08.09.2017 19:51, @lbutlr wrote: >> How I would do it is IF the certificate is expired, the dovecot should >> check if there is a new cert and if so, load it. > New cert as in file modification date or checksum changed

Re: Embeding a path in address extensions

2017-09-08 Thread @lbutlr
On 08 Sep 2017, at 12:19, @lbutlr wrote: > Or, maybe I make the admins use an MUA? If so, I should replace most of these > .'s with dashes… This seems like the obvious decision, so never mind. -- Apple broke AppleScripting signatures in Mail.app, so no random signatures.

Re: POP3 STAT command broken (race condition?)

2017-10-01 Thread @lbutlr
On 01 Oct 2017, at 05:33, Andrew Charnley wrote: > Claws-mail works for one account persistently, the other three always > fail. There are no differences between the accounts other than > username/pass so I have been unable to determine why this occurs. Also, > Evolution works as it uses LIST not

Re: Password encription

2017-10-26 Thread @lbutlr
On 25 Oct 2017, at 03:11, Aki Tuomi wrote: > SHA512-CRYPT and PLAIN/LOGIN with SSL. I’m happy with SHA256-CRYPT and PLAIN/LOGIN. -- Apple broke AppleScripting signatures in Mail.app, so no random signatures.

Re: How to check which version of openssl is getting compiled in into dovecot?

2017-10-27 Thread @lbutlr
> On Oct 27, 2017, at 12:33 AM, Aki Tuomi wrote: > > > > On 27.10.2017 00:53, krz...@gmail.com wrote: >> I got multiple versions of openssl in my system. I compile dovecot with >> PKG_CONFIG_PATH=/usr/openssl-1.0.2l-fpic/lib/pkgconfig ./configure >> >> How do I check which version of openssl

Re: How to check which version of openssl is getting compiled in into dovecot?

2017-10-27 Thread @lbutlr
> On Oct 27, 2017, at 1:09 AM, Aki Tuomi wrote: > > > > On 27.10.2017 10:07, @lbutlr wrote: >> >>> On Oct 27, 2017, at 12:33 AM, Aki Tuomi wrote: >>> >>> >>> >>> On 27.10.2017 00:53, krz...@gmail.com wrote: >>&g

Re: How to limit Apple Mail (desktop)?

2017-10-31 Thread @lbutlr
On Oct 31, 2017, at 5:01 PM, Joseph Tam wrote: > Rupert Gallagher writes: > >> By default, Apple Mail downloads all e-mails from? server's account. >> Previous versions of this client allowed to opt-out. The latest two >> versions? however, only allow to opt-out from downloading the >> attachmen

Dupliate-ish email search?

2022-03-02 Thread @lbutlr
I'm mulling over writing some code to find emails in a maildir that are duplicates, ish. That is to say that sometimes the same message doesn't quite show up as an exact match. Like some ad company may send you three identical messages, except they aren't actually EXACTLY identical, the message-

Re: JMAP Support Status

2022-04-15 Thread @lbutlr
On 2022 Apr 14, at 11:31, Benny Pedersen wrote: > On 2022-04-14 19:11, Michael Slusarz wrote: >>> On 04/13/2022 2:24 AM David Klingenberg >>> wrote: >>> has there been any development on JMAP support in Dovecot? >> JMAP is not currently being developed. > cyrus-imapd have it But only cyrus, I

Perl5 error in logs

2022-07-07 Thread @lbutlr
I am getting a lot of these in the logs: dovecot[52816] imap: Error: Use of uninitialized value $ENV{"PATH"} in split at /usr/local/lib/perl5/5.36/mach/File/Spec/Unix.pm line 256. FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC ===>>> dovecot-2.3.19.1 ===>>> dovecot-pigeonhole-0.5.

Re: Perl5 error in logs

2022-07-11 Thread @lbutlr
On 2022 Jul 10, at 03:40, Stuart Henderson wrote: > On 2022-07-07, @lbutlr mailto:krem...@kreme.com>> wrote: >> I am getting a lot of these in the logs: >> >> dovecot[52816] imap: Error: Use of uninitialized value $ENV{"PATH"} in split >> at /usr/

Re: IP drop list

2015-03-02 Thread @lbutlr
On 02 Mar 2015, at 16:34 , Benny Pedersen wrote: > On March 2, 2015 8:32:35 PM Robert Schetterer wrote: > >> the most problem may nat and false positves, with firewall or deny ip >> stuff you may ban wanted users too, so this should be only used in heavy >> cases, so there is no ultimate solutio

Re: IP drop list

2015-03-05 Thread @lbutlr
On 04 Mar 2015, at 21:46 , Jim Pazarena wrote: > On 2015-03-02 2:02 AM, Jochen Bern wrote: >> On 03/01/2015 08:53 AM, Jim Pazarena wrote: >>> I wonder if there is an easy way to provide dovecot a flat text file of >>> ipv4 #'s which should be ignored or dropped? >>> >>> I have accumulated 45,000+

Re: Deleting empty folders

2015-04-01 Thread @lbutlr
On Apr 1, 2015, at 2:15 AM, Bertrand Caplet wrote: > Le 2015-04-01 01:16, Samuel Williams a écrit : >> Hi Hardy, I had over 1600 folders, writing manually doveadm mailbox delete >> would be a real pain. I guess I could script it but that's even more of a >> pain. It would be nice if there was a co

Re: imap doesn't like my passwd

2015-04-10 Thread @lbutlr
On Apr 10, 2015, at 12:14 AM, Steffen Kaiser wrote: > pass"word > > is no atom and Dovecot should reject it. No, not passwords should be rejected. > Maybe the former version did not checked the atoms 100% RFC conform. Where is the definition that passwords have to be atomic? And if it is ther

Moving a local domain to sql

2015-04-21 Thread @lbutlr
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 krem...@kreme.com maps to the l

Re: Outlook Express with XP...

2015-06-02 Thread @lbutlr
On 1 Jun 2015, at 17:27, SH Development wrote: > Outlook Express on Win XP receives just fine, but will not send. Outlook Express hasn’t been supported in.. What, 5 years? Before that, it barely worked for … I dunno, the previous 5 years? It’s never played well with secure servers. > Using SSL

Error: User initialization failed

2015-08-14 Thread @lbutlr
OK, I obviously forgot something when setting up new user accounts (which I did via postfix admin to add them to the MySQL database): dovecot: lda(cha...@example.com): Error: User initialization failed: Namespace '': Ambiguous mail location setting, don't know what to do with it: /usr/local/vi

Re: Error: User initialization failed

2015-08-14 Thread @lbutlr
On Aug 14, 2015, at 8:51 AM, @lbutlr wrote: > dovecot: lda(cha...@example.com): Error: User initialization failed: > Namespace '': Ambiguous mail location setting, don't know what to do with it: > /usr/local/virtual/chance@ example.com (try prefixing it with mbox: or

Re: Error: User initialization failed

2015-08-19 Thread @lbutlr
> On 17 Aug 2015, at 00:54, Steffen Kaiser > wrote: > >> userdb { >> args = /etc/dovecot/dovecot-sql.conf.ext >> default_fields = uid=vpopmail gid=vchkpw mail_location=/usr/local/virtual/%u >> mail=maildir:/usr/local/virtual/%u > > looks like this mail_location is confusing Dovecot. If you wa

mmap failed

2016-01-14 Thread @lbutlr
Error: mmap() failed with file /home/user/Maildir/.Archive/dovecot.index.cache: Cannot allocate memory I have default_vsz_limit = 512 M in my conf file. (This error only occurs with a single user’s .Archive index, but that user has over 400,000 files int eh Archive mailbox) -- Let him who des

Mailbox doesn't exist: test

2016-01-23 Thread @lbutlr
I’ve been getting an error when trying to save mail based on address extensions where dovecot is not creating the mailbox: dovecot: lda(u...@example.com): msgid=: save failed to open mailbox test: Mailbox doesn't exist: test Is this is as simple as adding lda_mailbox_autocreate = yes to my conf

Sieve question

2016-02-09 Thread @lbutlr
Is it possible to use redirect in a sieve to redirect to multiple addresses? if header :contains “from” “t...@example.com” { redirect “us...@example.com,us...@example.com”; } I thought this would work, But I am seeing a “redirect address is invalid: not a single addres [sic] (found ‘,’). --

Re: Sieve question

2016-02-10 Thread @lbutlr
On Feb 10, 2016, at 12:18 AM, A.L.E.C wrote: > require ["copy"] > if header :contains “from” “t...@example.com” { > redirect :copy “us...@example.com”; > redirect “us...@example.com”; > } Ah, right, that makes sense. Thanks. -- Honesty may be the best policy, but insanity is a better defe

Re: dovecot-sieve in ports?

2016-03-19 Thread @lbutlr
On Mar 19, 2016, at 4:35 PM, Larry Rosenman wrote: > mail/dovecot2-pigeonhole is what you want. Thank you. -- "Alas, earwax."

Re: Sieve + Vacation

2016-05-02 Thread @lbutlr
On Mon May 02 2016 11:35:45 Jerrysaid: > > On Mon, 02 May 2016 18:15:11 +0200, Benny Pedersen stated: > >> On May 1, 2016 4:00:15 PM Jerry wrote: >> >>> I am not sure if this is possible. When I use "vacation" in a sieve >>> script, it always sends the response using "<>". I need it to

Re: resorting emails by date order after move/copy to sub folder ?

2016-05-09 Thread @lbutlr
On Mon May 09 2016 00:22:42 voy...@sbt.net.ausaid: > > I have just used Squirrel web client to re organize some old emails to > subfolders. that worked OK, EXCEPT, all these emails are now in order that > I have moved them rather than original date, Your Squirreltail setup is broken then. >

Reloading dovecot and postfix after updates

2016-05-17 Thread @lbutlr
Recently someone used webmin to update dovecot, which went fine. However, after the update no one could login to the mail server because of the mismatch in the versions between what was installed and what postfix was expecting. Other that bapping the person on the head and saying “don’t do that”

Marking an entire mailbox read

2016-06-01 Thread @lbutlr
I have an archive mailbox that contains in excess of 100,000 mail messages (stored in maildir) that accidentally got marked as unread. It is too large for my mail client to select all the mail and mark it as read without throttling. Is there a simple way that I can use doveadm or something to si

Re: Marking an entire mailbox read

2016-06-01 Thread @lbutlr
On Jun 1, 2016, at 1:58 PM, @lbutlr wrote: > find ~/Maildir/.Archive/cur/* -type f -name “1*:2” --exec mv {} {}S \; For the record,I did the following, which appears to have worked: find . -type f -name "1*2,*" -not -name "*2,S*" -exec mv {} {}S \; -- It wasn'

Mail dates

2016-06-14 Thread @lbutlr
Where exactly does dovecot get the date that it reports via IMAP? I have a lot of messages that were restored from an archive and so all have the same date, despite being over the span over several years. I tried setting the timestamps of the files to the date in the Received header, but that d

Re: Mail dates

2016-06-15 Thread @lbutlr
On Jun 15, 2016, at 9:44 AM, Tanstaafl wrote: > On 6/14/2016 6:50 PM, @lbutlr 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

Re: Mail dates

2016-06-17 Thread @lbutlr
On Jun 15, 2016, at 10:46 AM, Tanstaafl wrote: > On 6/15/2016 12:30 PM, @lbutlr wrote: >> On Jun 15, 2016, at 9:44 AM, Tanstaafl wrote: >>> On 6/14/2016 6:50 PM, @lbutlr wrote: >>>> Where exactly does dovecot get the date that it reports via IMAP? >>&

Re: Mail dates

2016-06-17 Thread @lbutlr
On Jun 17, 2016, at 12:04 PM, Tanstaafl wrote: > Different clients perceive the dates differently… Yes, but I used several clients. I thought I said that. > Here is a decent link to explaining this, as well as providing a tool > that may help you fix the dates: > > http://imapsync.lamiral.info/

Re: Moving Maildir folders

2016-07-18 Thread @lbutlr
> On Jul 17, 2016, at 4:56 PM, Mark Foley wrote: > > .bpatterson.Foo.Bar/ > .bpatterson.Foo.raB/ > etc > > I never did create > > .bpatterson/ > .bpatterson.Foo/ Neither of these are needed. The path delimiter for IMAP is a . And you do not put maildir folders under maildir folders. INBOX i

Bounces?

2019-02-09 Thread @lbutlr via dovecot
I just got this On 9 Feb 2019, at 00:00, dovecot-requ...@dovecot.org wrote: > Your membership in the mailing list dovecot has been disabled due to > excessive bounces The last bounce received from you was dated > 02-Feb-2019. You will not get any more messages from this list until > you re-enable

Re: expunge not removing attachments?

2019-02-12 Thread @lbutlr via dovecot
On 12 Feb 2019, at 03:45, Ralf Hildebrandt via dovecot wrote: > 201629 of 301900 (66.7%) files are modified (mtime) more than 5 days ago, > although I just purged everything older than 4 days? I had problems with this a few years ago, and resorted to simply using find to remove the files from

Re: Archive maildir

2019-02-13 Thread @lbutlr via dovecot
On 13 Feb 2019, at 02:22, Gandalf Corvotempesta via dovecot wrote: > Hi to all > We have a maildir with about 180GB of emails. > We have to archive them to a structure like: .Archive.YYY./MM.folder > > Are you aware of a script doing this ? I've found a perl script that > doesn't spit in year

Re: Archive maildir

2019-02-13 Thread @lbutlr via dovecot
On 13 Feb 2019, at 11:10, Peter Chiochetti via dovecot wrote: > ls | while read F; do echo $F; T=$(echo $F | cut -c 1-10); D=$(date > --date="@$T" "+../../.Archive.%Y-%m/cur"); echo $D; done Perfect! (change date to gdate if your system is BSD based and your gnu tools are prefix with 'g') -

Re: Using SHA256/512 for SQL based password

2019-02-20 Thread @lbutlr via dovecot
On 20 Feb 2019, at 06:10, Robert Moskowitz via dovecot wrote: > > libsodium does not help with CentOS7 and Dovecot 2.3: This is what your HTML message looks like here:

Re: Assistance with doveadm backup...

2019-02-20 Thread @lbutlr via dovecot
On Feb 20, 2019, at 21:11, SH Development via dovecot wrote: > Can someone help get me started here? Does this help? https://unix.stackexchange.com/questions/489331/what-is-the-correct-way-to-use-doveadm-to-backup-emails -- This is my signature. There are many like it, but this one is mine.

Upgrading to 2.3

2019-03-08 Thread @lbutlr via dovecot
I haven't upgraded to dovecot 2.3 yet, but am looking into doing it. I thought there was a link to some of the issues and changes you needed to make to your configuration to go from 2.2 to 2.3, but now I cannot find it. -- Science is the foot that kicks magic square in the nuts.

Re: Upgrading to 2.3

2019-03-08 Thread @lbutlr via dovecot
On 8 Mar 2019, at 05:54, Aki Tuomi via dovecot wrote: > https://wiki.dovecot.org/Upgrading Duh. I wasn't looking for a URL that was specific. -- These are the thoughts that kept me out of the really good schools. -- George Carlin

Re: sieve vacation to an alias group

2019-03-09 Thread @lbutlr via dovecot
On 9 Mar 2019, at 06:43, Monis Monther via dovecot wrote: > Because its not actually a vacation, we are using it as an auto response > feature. Have you considered that your users hate auto-response messages and that "we got your mail" is basically saying "we'll get around to it in a much longe

recipient bcc and dovecot

2019-03-12 Thread @lbutlr via dovecot
I have a recipient_bcc_maps which contains a bcc map that is updated everyday: rbcc.pcre: if !/backup.*@/ /^([^+_]*).*@([^.]*)/ backup+071.${1}-${2}@adomain.tld endif the 071 portion is changed each day to the current day of the year. Everything works, but I get an error from dovecot on every

Re: recipient bcc and dovecot

2019-03-13 Thread @lbutlr via dovecot
On 13 Mar 2019, at 01:42, Aki Tuomi via dovecot wrote: > Add mail_location setting or return 'mail' from userdb. userdb { args = /usr/local/etc/dovecot/dovecot-sql.conf.ext default_fields = uid=vpopmail gid=vchkpw mail_location=/usr/local/virtual/%u mail=maildir:/usr/local/virtual/%u drive

Re: rsync /old/server new/server ?

2019-03-13 Thread @lbutlr via dovecot
On 13 Mar 2019, at 13:25, Shawn Heisey via dovecot wrote: > * Shut down postfix and dovecot on both old and new servers. > * Updated DNS records to point to new address. > * Ran one final rsync of maildirs from old server to new server. > * Waited 30 minutes with services on both servers still shu

Re: Dovecot Wiki: Please disable edit on double click

2019-03-20 Thread @lbutlr via dovecot
On 20 Mar 2019, at 04:56, Michael Goth via dovecot wrote: > could you maybe disable the 'edit on doubleclick' feature on > wiki2.dovecot.org? > > Everytime I try to select a word by double clicking on it, I end up in > editing mode. It's just a minor thing, but maybe I'm not the only one who's

Re: Maildirs on AWS EFS

2019-03-21 Thread @lbutlr via dovecot
On 20 Mar 2019, at 23:33, Rodolfo Gonzalez via dovecot wrote: > AWS released one month ago a EFS system with administered life cycle, which > means that files not accessed in the last 30 days are moved to a lower cost > storage tier. Currently I hold my e-mail, delivered to Maildir++ folders by

Re: imap ---- LIST "" * The returned mailbox does not display quotes

2019-03-21 Thread @lbutlr via dovecot
On 21 Mar 2019, at 10:51, Ralph Seichter via dovecot wrote: > * lty via dovecot: > >> foxmail will not have next step after sending {LIST "" *} command >> action. > > Can you please stop this now? If Foxmail is broken, Foxmail needs to be > fixed, not some kludges added to well-behaving Dovecot

Re: dovecot ssl error message from my own connections

2019-03-30 Thread @lbutlr via dovecot
On 30 Mar 2019, at 06:20, Esteban L via dovecot wrote: > date time myserver dovecot: imap-login: Debug: SSL error: SSL_read() > syscall failed: Connection reset by peer I don't get that particular message, but in general Debug messages are informational, not errors or warnings. Seems like the li

ssl_min_protocol

2019-04-02 Thread @lbutlr via dovecot
What are the possible settings for ssl_min_protocol? I only see it on the upgrade page where it mentions the default is TLSv1. Searching on the dovecot page gives me "Your search query "ssl_min_protocol" didn't return any results." -- Up the airy mountains, down the rushy glen... From ghosti

Re: FTS delays

2019-04-03 Thread @lbutlr via dovecot
On 3 Apr 2019, at 04:30, Joan Moreau via dovecot wrote: > doveadm search -u j...@grosjo.net mailbox inbox text milan Did that search over my list mail and got 83 results, not able to duplicate your issue. What version of dovecot and have you tried to reindex? dovecot-2.3.5.1 here. -- There

Re: SMTPUTF8 support

2019-04-06 Thread @lbutlr via dovecot
On 5 Apr 2019, at 13:47, André Rodier via dovecot wrote: > >> root@portal:/etc/postfix# postmap -q andré@homebox.space >> ldap:/etc/postfix/ldap-aliases.cf >> andre@homebox.space You have a solution that properly maps UTF to a non-UTF namespace. As I understand it, SMTPUTF8 uses a UTF8 namesp

Re: sieve match ANY header

2019-04-08 Thread @lbutlr via dovecot
On 8 Apr 2019, at 16:35, Shawn Heisey via dovecot wrote: > I would like to create a sieve rule where I do a regex match on ALL headers, > not a specific header. This is a really bad idea. Headers can be quite long, contain data that you do not have control over, and checking all headers will be

Re: sieve match ANY header

2019-04-08 Thread @lbutlr via dovecot
On 8 Apr 2019, at 17:16, Shawn Heisey via dovecot wrote: > On 4/8/2019 4:55 PM, @lbutlr via dovecot wrote: >> On 8 Apr 2019, at 16:35, Shawn Heisey via dovecot >> wrote: >>> I would like to create a sieve rule where I do a regex match on ALL >>> headers, no

/var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
I am getting this error in logs net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission den)) and I looked around the google results and it seems to be related to using service stats, which I am not using. # doveconf -n | grep stat # doveconf -n | head -3 # 2.3.5.1 (7ec6d0ade): /usr

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
On 10 Apr 2019, at 08:36, @lbutlr via dovecot wrote: > net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission den)) One other detail: /var/run/dovecot/stats-writer: 0 srw-rw 1 root dovecot 0 Apr 10 08:47 stats-writer -- "Back off, man. I'm a scientist."

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
> On 10 Apr 2019, at 08:57, Odhiambo Washington via dovecot > wrote: > > > > On Wed, 10 Apr 2019 at 17:50, @lbutlr via dovecot wrote: > On 10 Apr 2019, at 08:36, @lbutlr via dovecot wrote: > > net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission

Re: Restoring mailboxes from backup duplicates messages in POP clients

2019-04-10 Thread @lbutlr via dovecot
On 10 Apr 2019, at 08:59, Tanstaafl via dovecot wrote: > On Wed Apr 10 2019 09:13:41 GMT-0400 (Eastern Standard Time), Luis F. V. > Gomes via dovecot wrote: >> I had a disk problem and had to reformat it. All mailboxes were backed >> up using rsync. >> After I restored the mailboxes, the POP cli

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
On 10 Apr 2019, at 09:06, @lbutlr via dovecot wrote: > Should I add > > service stats { > unix_listener stats-writer { > user = dovecot > } > unix_listener stats-reader { > user = dovecot > } > } > > to my dovecot.conf file? I did this an

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
On 10 Apr 2019, at 10:55, Remo Mattei via dovecot wrote: > This is what fixed mine > > service stats { > # unix_listener stats-reader { > # group = > # mode = 0666 > # user = > # } > unix_listener stats-writer { > group = dovecot > mode = 0666 > user = > } > } Set

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
On 10 Apr 2019, at 10:43, @lbutlr via dovecot wrote: > lso, the failed message strongly implies that the email was not delivered, > since it happens on the delivery log line and there is not indication in the > log that delivery succeeded. However, the message is delivered. It might be

Re: /var/run/dovecot/stats-writer) failed: Permission denied

2019-04-10 Thread @lbutlr via dovecot
> On 10 Apr 2019, at 11:50, Aki Tuomi via dovecot wrote: > > >> On 10 April 2019 20:48 @lbutlr via dovecot wrote: >> >> >> On 10 Apr 2019, at 10:43, @lbutlr via dovecot wrote: >>> lso, the failed message strongly implies that the email was n

Re: Mail account brute force / harassment

2019-04-11 Thread @lbutlr via dovecot
On 11 Apr 2019, at 04:43, Marc Roos via dovecot wrote: > B. With 500GB dump > - the owner of the attacking server (probably hacked) will notice it > will be forced to take action. Unlikely. What is very likely is that your ISP shuts you don for network abuse. > If abuse clouds are smart (most a

Doveadm stats

2019-04-12 Thread @lbutlr via dovecot
Are there any examples of the utility of doveadm stats? in the man page: > dump accepts following types: command, session, user, domain, ip and >global. > >Filter can be > >user= > Match given user. I've tried the following commands after looking at the (s

Re: lmtp_save_to_detail_mailbox override

2019-04-12 Thread @lbutlr via dovecot
On 12 Apr 2019, at 09:06, Andreas Thienemann via dovecot wrote: > > All users except one: Said user asked if it would be possible to disable > subaddressing (localuser+fol...@example.com) again. > > The setting controlling that is AFAIK the lmtp_save_to_detail_mailbox item. I thought it was s

stats-writer error is back

2019-04-20 Thread @lbutlr via dovecot
Afer a reboot (and installation of postfix-3.4.5) I am getting the stat-writer permission denied error again. from doveconf -n service stats { unix_listener stats-reader { user = dovecot } unix_listener stats-writer { user = dovecot } } # ls -ls /var/run/dovecot/stats-writer 0 srw-rw-

Re: stats-writer error is back

2019-04-20 Thread @lbutlr via dovecot
On 20 Apr 2019, at 14:05, Larry Rosenman via dovecot wrote: > service stats { > unix_listener stats-reader { > group = mail Why would I change the group from the group the socket is using? > mode = 0666 That cannot possibly be best practice. I'm not opening up any part of my mail st

Re: stats-writer error is back

2019-04-20 Thread @lbutlr via dovecot
On 20 Apr 2019, at 14:21, Larry Rosenman via dovecot wrote: > Then figure out what user/group needs the access and set the perms. Well, stats-write has an owner and group of dovecot, as I showed. dovecot dovecot 0 Apr 20 04:34 /var/run/dovecot/stats-writer -- 'I thought dwarfs didn't beli

Re: making selected accounts read-only

2019-04-23 Thread @lbutlr via dovecot
On 22 Apr 2019, at 10:20, Peter Chiochetti via dovecot wrote: > Am 22.04.19 um 12:11 schrieb Wojciech Puchar via dovecot: >> how to make selected few accounts readonly by pop3/imap? > > See https://wiki.dovecot.org/ACL > > No mention of pop though… Don't use pop? -- 'An appointment is an en

Re: Feature request: exclude IP/network in allow_nets extra field

2019-04-29 Thread @lbutlr via dovecot
On 29 Apr 2019, at 19:56, Zhang Huangbin via dovecot wrote: > Recently we need to allow some users to login from everywhere except some > IP/networks, Can you use firewall rules for this? > how can we accomplish this with "allow_nets"? Allow_nets specifies allowed networks. Doesn't say anythi

Re: Feature request: exclude IP/network in allow_nets extra field

2019-04-30 Thread @lbutlr via dovecot
On 30 Apr 2019, at 00:20, Zhang Huangbin via dovecot wrote: > On Apr 30, 2019, at 11:21 AM, @lbutlr via dovecot wrote: >> >> On 29 Apr 2019, at 19:56, Zhang Huangbin via dovecot >> wrote: >>> Recently we need to allow some users to login from everywher

<    1   2   3   4   5   6   >