Adding Size information to Maildir files

2019-12-08 Thread @lbutlr via dovecot
I searched on this, but found information only for very very old dovecot versions, and those answers didn’t quite cover what I am asking. All my current mail has the ",S=51489,W=52449:” style tag in the Maildir filename, but I have many messages in Archive mailboxes that have no size

Re: v2.2.36 to v2.3.8 maildirlock bug

2019-12-08 Thread @lbutlr via dovecot
On 08 Dec 2019, at 05:58, @lbutlr wrote: > On 06 Dec 2019, at 16:28, Martynas Bendorius wrote: >> when zlib compression is enabled in dovecot, old emails remain untouched > > I’ve been considering doing this, or at least looking into how much space > we’d save (answer so far, less than you

Re: v2.2.36 to v2.3.8 maildirlock bug

2019-12-08 Thread @lbutlr via dovecot
On 06 Dec 2019, at 16:28, Martynas Bendorius wrote: > when zlib compression is enabled in dovecot, old emails remain untouched I’ve been considering doing this, or at least looking into how much space we’d save (answer so far, less than you might think), but I am hesitant to “alter” the user’s

Re: Can't see a specific mail in thunderbird but with mobile mail client

2019-12-04 Thread @lbutlr via dovecot
On 04 Dec 2019, at 02:36, Sami Ketola wrote: > did not notice that you have imap_zlib enabled for protocol imap, can you > disable that temporarily and re-record the rawlog. Is it possible that is the source of the issue? It seems like when I tried to test that it did not work with a lot of

Re: Duplicate e-mail with Dovecot and Sieve

2019-11-28 Thread @lbutlr via dovecot
On 28 Nov 2019, at 09:44, Claudio Corvino wrote: > Just one problem remaining: the e-mail that have l...@domain.tld in BCC could > not be intercepted by the sieve filter as in the header is not present any > reference to l...@domain.tld; am I missing something or this cannot be fixed? The

Re: Using dovecot Replication in a medium to large enterprise.

2019-11-28 Thread @lbutlr via dovecot
On 28 Nov 2019, at 00:35, Brent Clark wrote: > We have in excess of +/- 500 mail boxes and using just under 1TB of disk > space. That is a lot of small files. That’s honestly pretty small. When it says "it's not recommended to be used in multi-million user installations” You are several orders

Re: ESEARCH is announced but it doesn't work

2019-11-27 Thread @lbutlr via dovecot
On 27 Nov 2019, at 21:51, Jesus Cea wrote: > tag1 ESEARCH IN (mailboxes "folder1" subtree "folder2") unseen > tag1 BAD Error in IMAP command ESEARCH: Unknown command (0.001 + 0.000 secs). This should answer your question, I think.

Re: Performance mdbox vs mbox

2019-11-26 Thread @lbutlr via dovecot
On 26 Nov 2019, at 04:15, Marc Roos wrote: > If I do the same test[1] with mbox I can store around 31k messages and > mdbox 16k messages. I noticed also that cpu and disk utilization with > mdbox was not very high, while disk utilization on mbox was much higher. > That makes me wonder if I can

Re: Duplicate e-mail with Dovecot and Sieve

2019-11-26 Thread @lbutlr via dovecot
On 26 Nov 2019, at 03:13, Claudio Corvino wrote: > Please do not do this. -- IT DOES NOT SUCK TO BE YOU Bart chalkboard Ep. AABF13

Re: Dovecot proxy with ldap, complains about 'host not given'

2019-11-23 Thread @lbutlr via dovecot
On 23 Nov 2019, at 16:11, Marc Roos wrote: > It looks like the dovecot proxy can authenticate correctly but fails > then on with this message > > Nov 23 23:33:33 test2 dovecot: pop3-login: Error: proxy: host not given: > user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, > session= >

Re: [Sieve] Multiple email recipients, how?

2019-11-23 Thread @lbutlr via dovecot
On 23 Nov 2019, at 15:40, Robert wrote: > I think you mean collecting all email addresses and connecting them > (manually) to the correct mailbox in the config of Postfix (or equiv, I have > no idea what is used at my hosting provider)? That sounds like a doable > one-time action if all new

Re: [Sieve] Multiple email recipients, how?

2019-11-23 Thread @lbutlr via dovecot
On 23 Nov 2019, at 13:50, Robert wrote: > I do know that sub-addressing with a special character is nowadays a normal, > better, way to do it. > Unfortunately we have used this system for a very long time, starting around > 2005... So there are a lot of existing email addresses. Then set them

Re: [Sieve] Multiple email recipients, how?

2019-11-23 Thread @lbutlr via dovecot
On 22 Nov 2019, at 14:48, Ralph Seichter wrote: > * Robert via dovecot: > >> We use a simple system for routing emails to different email users by >> postfixing the addresses with the actual user: xxxJohn@domain; >> yyyJohn@domain etc all will be delivered to user John. >> (This way John can

Re: Sieve and recipient_delimiter

2019-11-16 Thread @lbutlr via dovecot
On 16 Nov 2019, at 22:06, Sean Kamath wrote: > On Nov 16, 2019, at 09:46, @lbutlr via dovecot wrote: >> I use recipient_delimiter addresseses quiet a bit, and I want to put several >> of them into a mailbox >> >> if anyof (header :contains ["to&

Re: Auto expunge log

2019-11-16 Thread @lbutlr via dovecot
> On 16 Nov 2019, at 12:41, Michael Ludwig wrote: > > Hi, > > I'm just setting up a new dovecot system and wonder why I get this > error. On another dovecot system this works with no problems. > > Log entry when exiting MUA Thunderbird: > === > Nov 16 20:16:35

Sieve and recipient_delimiter

2019-11-16 Thread @lbutlr via dovecot
I use recipient_delimiter addresseses quiet a bit, and I want to put several of them into a mailbox if anyof (header :contains ["to"] [ “FOO", “foo", “bar", “florin"]) { fileinto :create “later"; stop; } When I get an email addressed to me+...@example.com or

Re: MariaDB database for users and passwords?

2019-11-08 Thread @lbutlr via dovecot
On 08 Nov 2019, at 11:56, Ken Wright wrote: > Nov 8 13:28:53 grace dovecot: auth: Fatal: Unknown passdb driver ‘ You do not have Dovecot compiled with support for mysql' -- Love is like oxygen / You get too much / you get too high / Not enough and you're gonna die

Re: MariaDB database for users and passwords?

2019-11-08 Thread @lbutlr via dovecot
On 07 Nov 2019, at 23:00, Ken Wright wrote: > I'm getting an error message saying "user unknown" when I send test > emails to my server. You need to look at the logs. -- Everybody wants a rock to wrap a piece of string around

Re: Bug report

2019-11-01 Thread @lbutlr via dovecot
On 01 Nov 2019, at 16:30, Peter Nabbefeld wrote: > ~/.getmail/log > = > 2019-11-01 21:44:20 Delivery error (command deliver 42245 error (127, exec of > command deliver failed (change UID/GID to vmail/vmail failed ([Errno 1] > Operation not permitted Seems pretty clear, get mail is

Re: changing cipher for imap clients

2019-10-28 Thread @lbutlr via dovecot
On 28 Oct 2019, at 08:45, Fourhundred Thecat <400the...@gmx.ch> wrote: > setting ssl_prefer_server_ciphers=yes did the trick. Now my imap client > uses ECDHE-RSA-AES256-SHA Now go turn off TLSv1 -- At night when the bars close down Brandy walks through a silent town And loves a man who's not

Re: Password issue

2019-10-12 Thread @lbutlr via dovecot
On Oct 12, 2019, at 8:10 AM, johnt...@tulpex.com wrote: > I run my mail server with no security. This is extremely foolish and your “reasons” are even more foolish. If you allow unauthenticated users to send mail from your server then you *will* be blacklisted, and rightly so. (For example,

Re: Password issue

2019-10-11 Thread @lbutlr via dovecot
On Oct 11, 2019, at 8:28 PM, Amir Caspi wrote: > I'm sure you tried this before deleting/re-adding, but just in case not: you > do have to close out of the settings window (or switch to another account) to > get the settings to save... it should ask you to save when you do that. If > you

Re: Password issue

2019-10-11 Thread @lbutlr via dovecot
On Oct 11, 2019, at 2:00 PM, Joseph Tam wrote: > On Fri, 11 Oct 2019, @lbutlr wrote: > Oct 09 16:02:50 imap-login: Info: Aborted login (auth failed, 5 attempts in 33 secs): user=, xx.xx.xx.xx, PLAIN, TLS >> >> This turns out to have been caused by the MUA attempting to connect to >>

Re: Password issue

2019-10-11 Thread @lbutlr via dovecot
On Oct 9, 2019, at 5:23 PM, @lbutlr wrote: > First, logins in to check mail and succeeds > >> Oct 09 16:02:16 imap-login: Info: Login: user=, >> xx.xx.xx.xx, PLAIN, TLS > > Sends device MUA info > >> Oct 09 16:02:16 imap(myu...@covisp.net)<84553>: Info: ID >> sent: name=iPad Mail,

Re: Password issue

2019-10-09 Thread @lbutlr via dovecot
On Oct 9, 2019, at 5:23 PM, @lbutlr wrote: > Postfix logs "Client host rejected: Access denied” but as I said, other > accounts can submit and there’s nothing special in the submission service in > master.cf. submission inet n - n - - smtpd -o

Password issue

2019-10-09 Thread @lbutlr via dovecot
One of my accounts was having login failures when trying to send mail, but was able to check mail. I tried everything I could think of to see what the issue might be, but eventually went in and reset the password in the sql database (I knew the password, so I reset it to the same password).

Re: Website Down? Not down.

2019-09-27 Thread @lbutlr via dovecot
On Sep 26, 2019, at 10:47 PM, dun...@gmail.com wrote: > Its not down, its most likely your providers DNS resolution. As I said, multiple connections failed. T-mobile started working about 2 hours ago, century link soon after. Comcast took longer, but is working now. Each of these connections

Website down?

2019-09-26 Thread @lbutlr via dovecot
I am not able to reach the dovecot site on any one of three connections (home, office, mobile). Trying to look up DNS shows no records. -- But just because you've seen me on your TV Doesn't mean I'm any more enlightened than you

Re: File manager or browser for IMAP?

2019-09-26 Thread @lbutlr via dovecot
On Sep 25, 2019, at 4:20 PM, Joseph Tam wrote: > you can mulch through mail fairly quickly. Now there is a good image! I’m probably going to steal that. Mulch is a word that need more use. -- I WILL NOT YELL "FIRE" IN A CROWDED CLASSROOM Bart chalkboard Ep. 7G01

Re: Dovecot UIDs and POP.

2019-09-24 Thread @lbutlr via dovecot
On Sep 22, 2019, at 11:20 PM, Plutocrat wrote: > doveadm sync -u Did the target machine already have the user setup? I think dsync wants to sync mailboxes between configured and working servers with users already defined. -- "Back off, man. I'm a scientist.”

Re: Spam Blocking by filtering on username / id

2019-09-24 Thread @lbutlr via dovecot
On Sep 22, 2019, at 11:29 PM, Plutocrat wrote: > This is probably quite an easy question, but I haven't been able to find the > answer. I'm running a server where all the email addresses are in the format > "u...@domain.com". I've noticed that a large number of fake login attempts > use the

Re: Dovecot UIDs and POP.

2019-09-21 Thread @lbutlr via dovecot
On Sep 20, 2019, at 10:38 PM, Plutocrat wrote: > I recently performed a mail server migration for a client under fairly > serious time constraints (ahem, yes one of those jobs). I would normally use > imapsync to get all the mail copied to the new server, but under the > circumstances, I had

Re: Gnu sieve vs Dovecot sieve-filter - sieve-filter extremely slow at lda (writing emails to local mbox files)

2019-09-12 Thread @lbutlr via dovecot
On Sep 12, 2019, at 12:57 AM, Zenaan Harkness wrote: > The next step, I throw the email-incoming-unsorted mbox file at a > sieve processor, to sort the emails from that mbox, into other > mboxes, according to the sieve rules file. I would expect mbox is the worst possible format choice for this.

Re: [Bug] Sieve vacation :addresses match only,> case-sensitive?

2019-09-12 Thread @lbutlr via dovecot
On Sep 11, 2019, at 1:25 PM, Klaus Steinberger wrote: > I never saw any mail system in which the local Part ist Case sensitive! Every Unix/Linux system (I’d say that represents the majority of mail systems) has a case sensitive local part. Most mail admins have set their systems up to

Re: Random duplicated emails

2019-09-09 Thread @lbutlr via dovecot
On 9 Sep 2019, at 10:08, Francis wrote: > Where should I look to diagnostic this issue? Look at the raw stored messages. Your MTA probably has an internal ID (queuid in postfix) that should tell you if the messages are getting duped before they get to dovecot. the raw messages should have

Re: Quota and maildir does not work with subfolders of INBOX

2019-09-09 Thread @lbutlr via dovecot
On 9 Sep 2019, at 09:27, Niels Kobschätzki wrote: > The moment I remove those folders, the size gets calculated correctly. > Unfortunately those folders are generated by some clients automatically afaik > (like .INBOX.Trash) That sounds like a misconfiguration of the IMAP client. Someone has

Re: Off-site cloud backup (eg Amazon S3, Wasabi)

2019-09-09 Thread @lbutlr via dovecot
On 9 Sep 2019, at 07:47, James Brown wrote: > Should I use a Dovecot process, rsync, a Mac app like Arq or Jungle Disk, or > something else? I do not have specific experience with using S3, but if rsync is possible that is always my first choice, though if you want to backup to prevent

Re: doveadm mailbox list

2019-09-08 Thread @lbutlr via dovecot
On 8 Sep 2019, at 12:11, Daniel Miller wrote: > Seems reasonable. Now, with a non-existent mailbox... > doveadm mailbox list -u bogus > returns "bogus" > > doveadm mailbox list -u bogus* > returns "" > > Is this a bug or correct behavior? Seems like a bug. If it is correct IO

Re: How are imap images supposed to be stored

2019-09-04 Thread @lbutlr via dovecot
On 3 Sep 2019, at 00:32, d.gent...@m4ever.de wrote: > This is a question about the imap protocol, since I am having a hard time > finding these things out, so I hope you guys can help me. We are using > Dovecot to receive mails and having an issue with Thunderbird. ⌘ You and most everyone who

Re: Server administration

2019-09-04 Thread @lbutlr via dovecot
On 4 Sep 2019, at 07:26, @lbutlr wrote: > with IMAP logging and local rules. IMAP logins. -- "640K ought to be enough RAM for anybody." - Bill Gates, 1981

Re: Server administration

2019-09-04 Thread @lbutlr via dovecot
On 2 Sep 2019, at 02:08, Alexander Dalloz wrote: > Unless you run a big install with lots of accounts where it can be handy to > use some sort of meta tool (modoboa, postfixadmin, ...) there is zero need > for an SQL backend. It is much easier to manage users, even a few users, via a database

Re: Server administration

2019-09-04 Thread @lbutlr via dovecot
On 1 Sep 2019, at 15:53, Michael Hallager wrote: > On 2019-09-02 06:24, Alexander Dalloz via dovecot wrote: >> Am 01.09.2019 um 14:41 schrieb Aleksandr Mette via dovecot: >>> 4. Forward e-mail >> Don't do that nor let your users auto-forward their mail received on >> your MX. Else you will end up

Re: sometimes no shared cipher after upgrade from 2.2 to 2.3

2019-08-21 Thread @lbutlr via dovecot
On 21 Aug 2019, at 07:12, Kristijan Savic - ratiokontakt GmbH wrote: > ssl3 > Any ide what could be causing it? Old MUAs or bad settings on the MUA. SSLv3 should not be used. You should NOT try to add support for SSLv3. -- "Alas, earwax.”

Re: Dovecot and hard links?

2019-08-18 Thread @lbutlr via dovecot
On 16 Aug 19, at 16:57 , @lbutlr wrote: > Ack. I checked the junk folder and there are 379 files in there with 379 > links! It appears the main culprit is actually the sieve script that is supposed to mark messages moved out of the Junk box as ham. Somehow it was getting itself stuck and

Re: Dovecot and hard links?

2019-08-17 Thread @lbutlr via dovecot
On 17 Aug 19, at 10:14 , Timo Sirainen wrote: > Hard links are created when a mail is copied with the IMAP COPY command. So > Dovecot just does what the client asks it to do. Maybe you have some > misbehaving IMAP client? Maybe. Heck, I’ll grant probably, even. But what do I do about it? How

Re: Dovecot and hard links?

2019-08-16 Thread @lbutlr via dovecot
On 16 Aug 19, at 07:33 , @lbutlr wrote: > I was looking at a mail folder and I noted that a file in the inbox had a > total of 11 hard links to it: Ack. I checked the junk folder and there are 379 files in there with 379 links! Since they were all in jink I just deleted them all, but that

Dovecot and hard links?

2019-08-16 Thread @lbutlr via dovecot
I was looking at a mail folder and I noted that a file in the inbox had a total of 11 hard links to it:  # exa -lH cur/1564249738.M167990P53982.mail.covisp.net,S=8572,W=8738:2,Sgl .rw--- 11 8.6k vpopmail 19 Jul 19:59 cur/1564249738.M167990P53982.mail.covisp.net,S=8572,W=8738:2,Sgl  #

Re: Solr, Dovecot & macOS / iOS

2019-08-13 Thread @lbutlr via dovecot
On 13 Aug 19, at 05:58 , James Brown wrote: > > b) does Mail.app and other mail clients on Macs or iOS devices perform > searches on their local copy of mail or does it just send a search request to > the server? Mail.app uses spotlight on the local data, so if your users are all Mac then

Re: Autoexpunge not working for Junk?

2019-08-12 Thread @lbutlr via dovecot
On 12 Aug 2019, at 00:18, Sami Ketola wrote: > "1. What's the first mail's saved-timestamp? > doveadm fetch -u user date.saved mailbox Junk 1 > > 2. That timestamp should also be the same in dovecot.list.index: > doveadm mailbox status -u user firstsaved Junk" > > can you check that

Re: Autoexpunge not working for Junk?

2019-08-09 Thread @lbutlr via dovecot
On 8 Aug 2019, at 13:03, Amir Caspi wrote: > IMHO the setting should apply regardless of protocol, but is that actually > the case in practice? It seems to be broken. I have namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { autoexpunge = 14 days

index failed

2019-08-02 Thread @lbutlr via dovecot
When reindexing I go the following error Mailbox test: UID=1: read(/path/to/mail,S=4248,W=4349) failed: Cached message size larger than expected (4248 > 1182, box=test, UID=1) (read reason=mail stream) In this case, the message was an unimportant test message with no content, so I simply

Re: Since multiple ,matches

2019-07-27 Thread @lbutlr via dovecot
Never mind, I figured out my (stupid) error. > I have a rule in sieve like the following: > > if anyof (header :contains ["to"] [ "box", "change", "cornell”, “twitter”]) { -- 'My strength is like the strength of ten because my heart is pure,' said Carrot. 'Really? Well, there's eleven of

Since multiple ,matches

2019-07-27 Thread @lbutlr via dovecot
I have a rule in sieve like the following: if anyof (header :contains ["to"] [ "box", "change", "cornell”, “twitter”]) { setflag "\\Seen"; fileinto :create "misc"; stop; } The messages that come in are using address extensions, so user+twit...@example.com, for example. The trouble is,

Re: Help with IMAP IDLE

2019-07-27 Thread @lbutlr via dovecot
On 27 Jul 2019, at 04:15, Jorge Bastos wrote: > When i migrated the account from the old imap server to the new (dovecot), i > didn't removed and created the account in msoutlook, as i didn't saw any > reason to do it. > Creating the account again, IDLE works ok! Glad you got that figured out.

Re: Dovecot, FreeBSD, and Solr?

2019-07-27 Thread @lbutlr via dovecot
On 27 Jul 2019, at 00:42, Patrick Mahan wrote: > On Fri, Jul 26, 2019 at 2:44 PM @lbutlr via dovecot > wrote: > On 26 Jul 2019, at 09:35, dove...@filter.demeijer.com wrote: > > I basically followed https://www.c0ffee.net/blog/mail-server-guide/ And > > dovecot with

Re: Dovecot, FreeBSD, and Solr?

2019-07-26 Thread @lbutlr via dovecot
On 26 Jul 2019, at 09:35, dove...@filter.demeijer.com wrote: > I basically followed https://www.c0ffee.net/blog/mail-server-guide/ And > dovecot with solr is running fine on freebsd for me. Thanks for that link, looks very straight-forward. -- Nothing says poor craftsmanship more than wrinkled

Re: Sieve adding header content to a different header

2019-07-24 Thread @lbutlr via dovecot
> Subject: This is the subject: > X-Foo: bar > > how would I do the following: > > 1) Add the contents of X-Foo to subject > Subject: [bar] This is the subject > > 2) replicate the X-Foo header into X-temp > X-temp: X-foo-bar Is there a sieve list that might be more appropriate

Re: Freebsd ports?

2019-07-23 Thread @lbutlr via dovecot
On 23 Jul 2019, at 08:00, @lbutlr wrote: > The version of dovecot in freebsd ports tree is still 2.3.6, any idea when > this will be updated to 2.3.7? Sorry, please ignore this; brain cloud. -- I gotta straighten my face This mellow-thighed chick just put my spine out of place

Freebsd ports?

2019-07-23 Thread @lbutlr via dovecot
The version of dovecot in freebsd ports tree is still 2.3.6, any idea when this will be updated to 2.3.7? -- "I can't see the point in the theatre. All that sex and violence. I get enough of that at home. Apart from the sex, of course." - Baldrick

Sieve adding header content to a different header

2019-07-23 Thread @lbutlr via dovecot
Given a message itht he headers: Subject: This is the subject: X-Foo: bar how would I do the following: 1) Add the contents of X-Foo to subject Subject: [bar] This is the subject 2) replicate the X-Foo header into X-temp X-temp: X-foo-bar -- THE PRESIDENT DID IT IS NOT

Re: Help with IMAP IDLE

2019-07-22 Thread @lbutlr via dovecot
On 22 Jul 2019, at 03:45, Jorge Bastos via dovecot wrote: > On Jul 21, 2019, at 11:50, Jorge Bastos via dovecot > wrote: >>> SSL/TLS is done via Stunnel > >> Dirst, others have asked but I haven’t seen an answer, do you have any >> reason to think Outlook supports IMAP idle at all? I mean, I

Re: pigeonhole question: filtering on delivered-to in case of fetchmail

2019-07-17 Thread @lbutlr via dovecot
> On 17 Jul 2019, at 10:03, Trever L. Adams via dovecot > wrote: > >> On 15 Jul 2019, at 18:11, Trever L. Adams via dovecot > > wrote: >> > >> So, one of the problems I am seeing is that people are trying to fake >> >> > >> users into revealing information by sending from an outside

Re: Auto-duplicate mailstore?

2019-07-16 Thread @lbutlr via dovecot
On 12 Jul 2019, at 16:15, @lbutlr via dovecot wrote: > I am looking for something that is similar to replication, but without a > second server. I currently have a system setup using postfix bcc to write out > copies of all email, but what I would rather do is just have all the mail

Re: pigeonhole question: filtering on delivered-to in case of fetchmail

2019-07-15 Thread @lbutlr via dovecot
On 15 Jul 2019, at 18:11, Trever L. Adams via dovecot wrote: > So, one of the problems I am seeing is that people are trying to fake > users into revealing information by sending from an outside domain but > with an internal reply to address and claiming to be administration, IT > or what not.

Re: Sent messages disappear and don't arrive. (Receiving is ok)

2019-07-14 Thread @lbutlr via dovecot
On 14 Jul 2019, at 03:35, John via dovecot wrote: > I'm running an email server (Postfix, Dovecot, MySQL) on an RPi. I set it up > using this 'howto' https://pestmeester.nl/index.html#11.0. It seemed to work > but now sent emails just disappear and are not received. Inward emails are > ok.

Re: Getting SSL certificate/key from database

2019-07-14 Thread @lbutlr via dovecot
On 13 Jul 2019, at 22:57, Yevgeny Kosarzhevsky via dovecot wrote: > I am not finding how to read SSL keys/certificates from database. > Is this possible? Or only file reads allowed? As I read it, only files are allowed. -- "I'm just like every modern woman trying to have it all. A loving

Re: Auto-duplicate mailstore?

2019-07-12 Thread @lbutlr via dovecot
On 12 Jul 2019, at 16:15, @lbutlr via dovecot wrote: > I am looking for something that is similar to replication, but without a > second server. I currently have a system setup using postfix bcc to write out > copies of all email, but what I would rather do is just have all the mail

Auto-duplicate mailstore?

2019-07-12 Thread @lbutlr via dovecot
I am looking for something that is similar to replication, but without a second server. I currently have a system setup using postfix bcc to write out copies of all email, but what I would rather do is just have all the mail written to /usr/local/virtual/%u/Maildir and also to

Reprocess mail through sieve?

2019-07-05 Thread @lbutlr via dovecot
is there a way to process a mailbox through an existing sieve script as it the mail was being delivered anew? I’ve cleaned up a lot of my list-sorting scripts and I would like to process a bunch of mail again so it gets sorted properly. If I can do this could I also do it for a specific date

Re: mail_crypt: multiple keypairs

2019-07-04 Thread @lbutlr via dovecot
On 4 Jul 2019, at 03:17, @lbutlr via dovecot wrote: > On 3 Jul 2019, at 06:38, mabi via dovecot wrote: >> Is it possible to delete the inactive keypair? if yes how? > > Wouldn’t you then be unable to encrypt previous emails? UNencrypt, of course.

Re: mail_crypt: multiple keypairs

2019-07-04 Thread @lbutlr via dovecot
On 3 Jul 2019, at 06:38, mabi via dovecot wrote: > Is it possible to delete the inactive keypair? if yes how? Wouldn’t you then be unable to encrypt previous emails?

Re: Dovecot 2.3.0 TLS

2019-07-04 Thread @lbutlr via dovecot
On 3 Jul 2019, at 02:55, Peter Kahl via dovecot wrote: > I failed to disclose that the described problem occurs on iOS 13.0 beta. > > After trying again and again, it appears that a bug in iOS 13.0 beta is the > likely culprit. I am reading on Reddit that there is some bug in iOS with >

Re: Sieve question

2019-07-04 Thread @lbutlr via dovecot
On 3 Jul 2019, at 01:28, Stephan Bosch via dovecot wrote: > On 03/07/2019 04:44, @lbutlr via dovecot wrote: >> I have the following in my active sieve file, and there are no errors logged. >> >> >> if header :contains "to" "+root" { >&

Sieve question

2019-07-02 Thread @lbutlr via dovecot
I have the following in my active sieve file, and there are no errors logged. if header :contains "to" "+root" { setflag "\\Seen"; fileinto :create "root"; stop; } The message is put in .root, bit is not marked as seen. Is the default action to put mail in a folder matching the

Re: Problem in doveadm import dovecot 2.2

2019-06-26 Thread @lbutlr via dovecot
On Jun 26, 2019, at 3:40 PM, Alexander Varejão via dovecot wrote: > I always used dovecot in version 2.0 and in the last month i update my > servers to dovecot 2.2 but now i have problems with comand dovecot import, > not works for me, bellow i put 2 examples used in my tests in boths cases

Re: LastLogin update

2019-06-24 Thread @lbutlr via dovecot
On 24 Jun 2019, at 08:25, Júlio Covolato via dovecot wrote: > #$ cat dovecot-last-login.conf [ … ] > dovecot.conf: > > plugin { > # Track last login time on imap and pop3 > last_login_dict = proxy::lastlogin > last_login_key = last-login/%u/%d/%r/%s > } Thank you, that is very

Re: LastLogin update

2019-06-22 Thread @lbutlr via dovecot
> On 20 Jun 2019, at 11:36, Adrian Minta via dovecot > wrote: > > this seems to work very well: > > https://docs.iredmail.org/track.user.last.login.html This is cool, but I have a question: > For MySQL/MariaDB backends, we create the sql table in database vmail. Would this interfere

Re: last login user tracking

2019-06-21 Thread @lbutlr via dovecot
On 21 Jun 2019, at 15:13, David Mehler via dovecot wrote: > the problem is the last login value does not mean anything to me. It is standard unix “seconds since the epoch’ and can be converted into any format you want in any time zone at any time by using the date command. # date -r 15

Re: Submission service and SMTP AUTH capability

2019-06-21 Thread @lbutlr via dovecot
On 21 Jun 2019, at 08:40, Germán Herrera via dovecot wrote: > I also found out that the AUTH is shown before entering STARTTLS if I set > "ssl = yes", but the capability is hidden from pre-starttls EHLO if I do > enforce SSL with "ssl = required", which is my server configuration. > > That is

Re: Dovecot and Solr on the same server or on different

2019-06-20 Thread @lbutlr via dovecot
On 20 Jun 2019, at 07:45, Götz Reinicke via dovecot wrote: > Yes, we are on VMs. Of course I could extend the resources for the dovecot VM > (more CPU, more RAM) but as mentioned having separate VMs/systems is in some > situations the preferred way. Yep, that totally makes sense. I am Old™ and

Re: mremap_anon() failed: Not enough space

2019-06-20 Thread @lbutlr via dovecot
On 20 Jun 2019, at 07:46, Dave McGuire via dovecot wrote: > On 6/20/19 6:07 AM, @lbutlr via dovecot wrote: >>> Jun 19 14:47:31 dovecot: [ID 583609 local0.error] >>> imap(): Error: >>> mremap_anon(/var/mail///mailboxes/INBOX/Trash/dbox-Mails/dovecot.index.cache, >

Re: Dovecot and Solr on the same server or on different

2019-06-20 Thread @lbutlr via dovecot
On 20 Jun 2019, at 04:12, Riccardo Bicelli via dovecot wrote: > I agree that is a small mail load. > But I mean, if you are running virtual machines (like me) it is > better to split the roles and leave solr on its own. Oh, right. I thought we were talking about actual hardware separation. --

Re: Help on CRAM-MD5

2019-06-20 Thread @lbutlr via dovecot
On 20 Jun 2019, at 04:14, Jorge Bastos via dovecot wrote: > I don't desagree with your vision, but if the use of CRAM- has to use > plaint text password's on the server there's a dark side, or there's a > CRAM-XXX that can use encrypted on server side? There's always the thing > that can

Re: mremap_anon() failed: Not enough space

2019-06-20 Thread @lbutlr via dovecot
On 19 Jun 2019, at 13:13, Dave McGuire via dovecot wrote: > Jun 19 14:47:31 dovecot: [ID 583609 local0.error] > imap(): Error: > mremap_anon(/var/mail///mailboxes/INBOX/Trash/dbox-Mails/dovecot.index.cache, > 27632) failed: Not enough space > > I'm running 2.2.36.1 under Solaris 10

Re: Help on CRAM-MD5

2019-06-20 Thread @lbutlr via dovecot
On 20 Jun 2019, at 02:53, FUSTE Emmanuel via dovecot wrote: > There is plenty of context where TLS is not possible/desirable. I’d say that is terrible advice. There are no reasonable contexts where is it is acceptable to send mail credentials without encryption. My users have had to use

Re: Dovecot and Solr on the same server or on different

2019-06-20 Thread @lbutlr via dovecot
On 20 Jun 2019, at 01:21, Riccardo Bicelli via dovecot wrote: > ha scritto: >> what would you suggest? What are the pros and cons for having dovecot and >> Solr on the same or different hots? >> >> I have about 800 accounts, some millions of mails and about 2 TB of zipped >> mails. >> >>

Re: recipient delimiters

2019-06-19 Thread @lbutlr via dovecot
On 19 Jun 2019, at 17:37, Stephan Bosch via dovecot wrote: > On 20/06/2019 01:20, @lbutlr via dovecot wrote: >> On 18 Jun 2019, at 15:03, @lbutlr via dovecot wrote: >>> I don’t see a way to tell dovecot what delimiters to use, and it appears it >>> is still using a si

Re: recipient delimiters

2019-06-19 Thread @lbutlr via dovecot
On 18 Jun 2019, at 15:03, @lbutlr via dovecot wrote: > I don’t see a way to tell dovecot what delimiters to use, and it appears it > is still using a single delimiter only despite postfix having added support > for more than one years ago. Ideas? -- Lead me not into temptation, I

Re: IMAP IDLE

2019-06-19 Thread @lbutlr via dovecot
On 19 Jun 2019, at 16:11, Jorge Bastos via dovecot wrote: > root@fastmail:/etc/dovecot# doveconf |grep -i idle > default_idle_kill = 1 mins > imap_idle_notify_interval = 2 mins > imapc_max_idle_time = 29 mins > mailbox_idle_check_interval = 30 secs I have: default_idle_kill = 1 mins

Re: Problem syncing mail with IMAP

2019-06-19 Thread @lbutlr via dovecot
On 19 Jun 2019, at 12:17, Odhiambo Washington via dovecot wrote: > I am seeing the following errors in my logs, which I believe are preventing > Outlook from syncing. > How do I solve these? Have you rebuilt the index files? The simplest and surest way is to stop dovecot, move the index files

Re: User listing returned failure with -A

2019-06-19 Thread @lbutlr via dovecot
On 19 Jun 2019, at 08:33, Aki Tuomi via dovecot wrote: > Dovecot uses auth process to collect users, so maybe look at your iterate > query? https://wiki.dovecot.org/AuthDatabase/SQL#User_iteration Yeah, didn’t have one of those. ¯\_(ツ)_/¯ iterate_query = select username from mailbox Seem to

Re: User listing returned failure with -A

2019-06-19 Thread @lbutlr via dovecot
On 19 Jun 2019, at 00:42, Aki Tuomi via dovecot wrote: > Your userdb does not support listing, check dovecot logs, the error will > not be reported by doveadm. sqlpool(mysql): Query failed, retrying: Table 'postfix.users' doesn't exist Well, that is true, there is no users table, the table is

Re: Converting mdbox to mbox/MailDir

2019-06-18 Thread @lbutlr via dovecot
On 18 Jun 2019, at 20:46, Adam Raszkiewicz wrote: > maildir -> mdbox it is maildir to mdbox conversion when I'm looking something > opposite: mdbox -> maildir Please go back and read all the words in my previous reply. -- Lead me not into temptation, I can find the way.

User listing returned failure with -A

2019-06-18 Thread @lbutlr via dovecot
First, I archive the old messages in the INBOX on my list account # doveadm -Dv move -u krem...@kreme.com Archive mailbox INBOX BEFORE 90d Debug: Loading modules from directory:

Re: Converting mdbox to mbox/MailDir

2019-06-18 Thread @lbutlr via dovecot
On 18 Jun 2019, at 20:04, Adam Raszkiewicz via dovecot wrote: > > On 6/18/19, 9:59 PM, "dovecot on behalf of @lbutlr via dovecot" > wrote: >> On 18 Jun 2019, at 15:18, Benny Pedersen via dovecot >> wrote: >> @lbutlr via dovecot skrev den 2019-06-18 23:0

Re: Help on CRAM-MD5

2019-06-18 Thread @lbutlr via dovecot
> On 18 Jun 2019, at 16:56, Shaun Johnson via dovecot > wrote: > > On Tue, 18 Jun 2019 16:41:06 -0600 > "@lbutlr via dovecot" wrote: > >> What is the reason for wanting to enable CRAM-MD5? That was intended >> to use on unsecured connections; you

Re: Help on CRAM-MD5

2019-06-18 Thread @lbutlr via dovecot
On 18 Jun 2019, at 16:04, Jorge Bastos via dovecot wrote: > I'm using dovecot and mysql users, and i'm creating the password with: > > ENCRYPT('some-passwd',CONCAT('$6$', SUBSTRING(SHA(RAND()), -16))) Why not just use the builtin tool in dovecot? doveadm pw -s SHA256-CRYPT -p

Re: Converting mdbox to mbox/MailDir

2019-06-18 Thread @lbutlr via dovecot
> On 18 Jun 2019, at 15:18, Benny Pedersen via dovecot > wrote: > > @lbutlr via dovecot skrev den 2019-06-18 23:06: >> On 18 Jun 2019, at 14:32, Adam Raszkiewicz via dovecot >> wrote: >>> Is there any way to convert Dovecot's mdbox/dbox to mbox, MailDir or e

Re: Converting mdbox to mbox/MailDir

2019-06-18 Thread @lbutlr via dovecot
On 18 Jun 2019, at 14:32, Adam Raszkiewicz via dovecot wrote: > Is there any way to convert Dovecot's mdbox/dbox to mbox, MailDir or eml > format (or any other easy to import format)? https://wiki.dovecot.org/Migration/MailFormat

recipient delimiters

2019-06-18 Thread @lbutlr via dovecot
Since many broken websites and idiot companies will not allow a ‘+’ in an email address, I have long used two delimiters in postfix: recipient_delimiter = +_ However, now that dovecot is handling verification for postfix via reject_unverified_recipient, dovecot complains about any address

  1   2   >