Forward a copy

2020-03-27 Thread @lbutlr
has this example: if header :contains "subject" ["order", "buy"] { redirect "ord...@company.dom”; } Can I simply add fileinto :create “mailbox”; before that redirect line so that a COPY of the message is forwarded? And does redirect impl

Re: doveadm rebuild: Failed to add attachment keywords

2020-03-27 Thread @lbutlr
On 26 Mar 2020, at 10:02, Patrick Ben Koetter wrote: > And if I can't fix it, can 'rebuild' skip the error and go on rebuilding > the rest? Can you move the mail file in question to another mail folder and rebuild? -- The older you get the more you need the people you knew when you were

Re: store log file in mailbox / mailfolder

2020-03-05 Thread @lbutlr
On 05 Mar 2020, at 07:00, Marc Roos wrote: > Say I am running some script on a user's mail account. What is the > easiest way to store the log output of this script directly into a mail > folder of this user? I do not want to send a message to the inbox. command > /path/to/file R dp you mean s

Re: Sieve junks mail script creating links

2020-03-02 Thread @lbutlr
On 19 Feb 2020, at 00:47, @lbutlr wrote: > My account has a .active_sieve file. But it makes no mention of Junk. It’s been a couple of weeks, and I am still seeing some messages in Junk mailboxes with hard links, though far fewer than I was seeing before and only with a single hard link (t

Re: doveadm(nfsnobody) Error

2020-02-23 Thread @lbutlr
On 23 Feb 2020, at 03:45, 横山航平 wrote: > dovecot: doveadm(nfsnobody): Error: sync: User init failed > dovecot: doveadm(nfsnobody): Error: User initialization failed: Namespace '': > mkdir(/var/lib/nfs/Maildir) failed: Permission denied (euid=65534(nfsnobody) > egid=65534(nfsnobody) missing +w per

Re: Help needed with managesieve

2020-02-22 Thread @lbutlr
On 22 Feb 2020, at 02:42, Laura Smith wrote: > When I send a test to my own address, it does not work, the following happens > instead: > • Copy of mail gets put in relevant IMAP folder for > "filtered.em...@example.com" (this is good and as expected) > • The BCC "my.em...@example.com" never ge

Re: My sieve is failing

2020-02-21 Thread @lbutlr
On 20 Feb 2020, at 12:00, @lbutlr wrote: > elsif header :contains "List-id" "dovecot.dovecot.org" { > if header :matches "Reply-to" “*” { I guess the headers in the mailing list have changed. Looking at older messages I see the rely-to header added and th

My sieve is failing

2020-02-20 Thread @lbutlr
I have an active sieve file for my list account that alters the headers for this list (sets the reply-to address to the list instead of the poster) which is suddenly failing. require [ "regex", "variables", "fileinto", "envelope", "mailbox", "imap4flags", "editheader" ]; /* other stuff */ elsif

Re: Sieve junks mail script creating links

2020-02-18 Thread @lbutlr
On 19 Feb 2020, at 00:06, Aki Tuomi mailto:aki.tu...@open-xchange.com>> wrote: > On 19.2.2020 8.51, @lbutlr wrote: >> On 18 Feb 2020, at 22:52, Aki Tuomi wrote: >>> Why not turn on autoexpunge after next nuke? >>> https://doc.dovecot.org/configuration_manual/n

Sieve junks mail script creating links

2020-02-18 Thread @lbutlr
My Junk mailbox is still filling up with hard linked emails. There are some junk mails with over 3000 hard linked files and over half a million files in the .Junk/cur folder. I had a handy script to remove them all by doing a find for inodes and sorting the list by age and keeping the olds hard

Re: Upgrade 2.2.27 to 2.3.9.2: master(imap): net_connect_unix(imap) failed: Resource temporarily unavailable

2020-01-07 Thread @lbutlr
On 07 Jan 2020, at 07:15, Dovecot Mailing List wrote: > dovecot: master: Warning: service(imap-login): process_limit (16) reached, > client connections are being dropped Is this an actual problem? Most client connections are idle, so I doubt if the occasional drop is noticed at all. Also, why

Logging what sieve does

2020-01-05 Thread @lbutlr
Is there anyway to log exactly what sieve does with a message? (Like, what rules triggered, flags applied, headers rewritten, if the message was placed anywhere else before final delivery, etc). -- In Genua, stories came to life. In Genua, someone set out to make dreams come true. Rem

Saving Attachments

2019-12-26 Thread @lbutlr
I have an account that mostly receives automated emails with attachments. I would like to save those attachments outside of the mail/IMAP area and then add a link (in the headers) to the saved attachment in the original mail. I do not need to strip the attachment from the email. I’ve looked at

Re: Cannot install 'libdcrypt_openssl.la' to a directory not ending in /usr/lib/dovecot

2019-12-15 Thread @lbutlr
On 15 Dec 2019, at 15:19, Alexander Dalloz wrote: > Am 15.12.2019 um 21:08 schrieb Mart Pirita: >> Well, but not for centos 5 and also these rpm are including a lot stuff >> what I don't need. But I will check the src rpm -s from repo and diff >> these specs with my current ones. >> Mart > > Cent

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 informatio

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

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 cli

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 norma

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 add

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 u

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 in

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 myhostn

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 me_flo...@example.com

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 n

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 a

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, it

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 don't

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

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>: Inf

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 - -

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). {S

Re: Website Down? Not down.

2019-09-26 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 hav

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 for

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 to

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 normaliz

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 time

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 go

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 ransomwa

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 can’

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 u

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 t

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 stu

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 c

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, bu

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 👹 # find

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 sol

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 information?

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 a

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 remov

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 the

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. Se

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 so

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 for

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 AN

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 k

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 domain

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. Y

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. Yo

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 hus

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 /backup/usr/local/

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 ra

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 > cer

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 extensi

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 not

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 cle

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 with

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 clien

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 (patched

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 STARTT

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. >> >> F

<    1   2   3   4   5   6   >