Re: IP drop list

2015-03-05 Thread @lbutlr
On 04 Mar 2015, at 21:46 , Jim Pazarena dove...@paz.bz 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 bertrand.cap...@chunkz.net 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

Re: IP drop list

2015-03-02 Thread @lbutlr
On 02 Mar 2015, at 16:34 , Benny Pedersen m...@junc.eu wrote: On March 2, 2015 8:32:35 PM Robert Schetterer r...@sys4.de 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

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

Re: imap doesn't like my passwd

2015-04-10 Thread @lbutlr
On Apr 10, 2015, at 12:14 AM, Steffen Kaiser skdove...@smail.inf.fh-brs.de wrote: password 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

Re: Outlook Express with XP...

2015-06-02 Thread @lbutlr
On 1 Jun 2015, at 17:27, SH Development listacco...@starionline.com 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

Re: Error: User initialization failed

2015-08-19 Thread @lbutlr
On 17 Aug 2015, at 00:54, Steffen Kaiser skdove...@smail.inf.fh-brs.de 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

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:

Re: Error: User initialization failed

2015-08-14 Thread @lbutlr
On Aug 14, 2015, at 8:51 AM, @lbutlr krem...@kreme.com 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 milder

Re: Mail dates

2016-06-15 Thread @lbutlr
On Jun 15, 2016, at 9:44 AM, Tanstaafl <tansta...@libertytrek.org> wrote: > On 6/14/2016 6:50 PM, @lbutlr <krem...@kreme.com> wrote: >> Where exactly does dovecot get the date that it reports via IMAP? > > This is a problem with how you restored the files. > >

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

Re: Marking an entire mailbox read

2016-06-01 Thread @lbutlr
On Jun 1, 2016, at 1:58 PM, @lbutlr <krem...@kreme.com> 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 {} {}

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

Re: Mail dates

2016-06-17 Thread @lbutlr
On Jun 15, 2016, at 10:46 AM, Tanstaafl <tansta...@libertytrek.org> wrote: > On 6/15/2016 12:30 PM, @lbutlr <krem...@kreme.com> wrote: >> On Jun 15, 2016, at 9:44 AM, Tanstaafl <tansta...@libertytrek.org> wrote: >>> On 6/14/2016 6:50 PM, @lbutlr <krem...@kr

Re: Mail dates

2016-06-18 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: > >

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

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

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 ‘,’). --

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

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: 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.au said: > > 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

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

Re: Sieve + Vacation

2016-05-02 Thread @lbutlr
On Mon May 02 2016 11:35:45 Jerry said: > > 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

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

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

Re: Moving to new password scheme

2017-01-25 Thread @lbutlr
> On Jan 25, 2017, at 1:09 AM, Alessio Cecchi <ales...@skye.it> 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, probab

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

Re: Moving to new password scheme

2017-01-25 Thread @lbutlr
> On Jan 25, 2017, at 2:46 AM, Steffen Kaiser <skdove...@smail.inf.fh-brs.de> > wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Wed, 25 Jan 2017, @lbutlr wrote: >>> On Jan 25, 2017, at 1:09 AM, Alessio Cecchi <ales...@skye.it> wrote

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

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.

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

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

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

Re: Remove empty milder folders

2017-01-18 Thread @lbutlr
On 2017-01-16 (08:48 MST), Darac Marjal <mailingl...@darac.org.uk> 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 a

Re: sieve - find in header

2016-09-08 Thread @lbutlr
On Tue Sep 06 2016 07:25:38 Hajo Locke said > How to solve this case and find a string in arbitrary/unknown headerline? You’ll have to create multiple sieves covering the possible headers.

Auto-archiving

2016-10-05 Thread @lbutlr
I’d like to know if there is a way to tell dovecot to 1) move messages older than # days to the Archive folder 2) rebuild the indexes 3) remove any folders that are left with no mail Preferably, I’d like this to be a action I an schedule via crontab or something to fire off for any users that

Re: Auto-archiving

2016-10-07 Thread @lbutlr
On 05 Oct 2016, at 23:50, Aki Tuomi <aki.tu...@dovecot.fi> wrote: >> On October 6, 2016 at 8:05 AM "@lbutlr" <krem...@kreme.com> wrote: >> >> >> I’d like to know if there is a way to tell dovecot to >> >> 1) move messages older than #

connection to storage server failed

2016-11-08 Thread @lbutlr
I am getting this error after updating to dovecot2-2.2.26.0_1 under FreeBSD 10.2 when a user tries to login via roundcube webmail. I am able to login via my own mail client and there is no error in the log when roundcube fails to login. I stopped dovecot, removed all the dovecot files from the

Re: virtual mailbox: any way to include.....

2016-11-06 Thread @lbutlr
On 05 Nov 2016, at 16:36, Larry Rosenman wrote: > \# and plain # does NOT work. Have you tried quoting?

Re: nologin + reason -> logging reason

2016-11-21 Thread @lbutlr
On Nov 21, 2016, at 7:39 AM, Arkadiusz Miśkiewicz wrote: > reason is the only thing in maillog that allows to distinguish why user was > not allowed to log in. Um… the only thing? How about where you set the reason in the first place? I think the assumption with nologin is that

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-22 Thread @lbutlr
On Nov 21, 2016, at 7:34 PM, Fred Turner wrote: > Lol, may actually be a 2010...which is essentially no different than a 2012. > Mac OS X 10.6.8 would work just fine on that hardware. And probably 10.5.8 as > well! It is generally not possible o install an older OS on a

Re: nologin + reason -> logging reason

2016-11-21 Thread @lbutlr
On Nov 21, 2016, at 2:49 PM, Arkadiusz Miśkiewicz <ar...@maven.pl> wrote: > On Monday 21 of November 2016, @lbutlr wrote: >> On Nov 21, 2016, at 7:39 AM, Arkadiusz Miśkiewicz <ar...@maven.pl> wrote: >>> reason is the only thing in maillog that allows to distinguis

Re: Good email client to use with Dovecot?

2016-11-22 Thread @lbutlr
On Nov 22, 2016, at 7:48 AM, Tanstaafl wrote: > I'm trying for the life of me to see a use case for anywhere close to > 1,000 folders, and am failing. That would be a major problem just from > the human side. How do you find anything? I can see it, though I think it’s

Re: Good email client to use with Dovecot?

2016-11-22 Thread @lbutlr
On Nov 22, 2016, at 9:05 AM, Larry Rosenman wrote: > I keep a separate ARCHIVE/-MM/ namespace for old mail and move > the mail on the first of the month. That way most clients don't load it, > but > I can get to them. I keep one box per mailing list and other "things”.

Re: Updated my Dovecot certificate for the first time

2016-11-24 Thread @lbutlr
On Nov 23, 2016, at 5:02 PM, Joseph Tam wrote: > add the public part of the cert into your system's trusted CA store. Silly question, but how would you do that?

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

Re: Implementing secondary quota w/ "Archive" namespace

2016-11-21 Thread @lbutlr
On Nov 20, 2016, at 4:28 PM, Fred Turner wrote: >> Mac Pro Server 2012 >> Mac OS X Server 10.6.8 >> Dovecot 1.1.20apple0.5 The 2012 Mac Pro Server shipped with 10.7.3. Did you seriously hack 10.6.8 onto it?

Re: Auto-archiving

2016-10-12 Thread @lbutlr
On 07 Oct 2016, at 09:18, Aki Tuomi wrote: > doveadm move -u jane Archive ALL BEFORE 30d That failed, but doveadm move -u jane Archive ALL mailbox '*' BEFORE 30d Appears to be going something…

Re: Adding secure POP3?

2017-04-13 Thread @lbutlr
On 2017-04-13 (05:11 MDT), "@lbutlr" <krem...@kreme.com> 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?

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

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-20 Thread @lbutlr
On 2017-04-13 (06:40 MDT), Teemu Huovila <teemu.huov...@dovecot.fi> wrote: > > On 13.04.2017 15:33, @lbutlr wrote: >> On 2017-04-13 (05:27 MDT), Aki Tuomi <aki.tu...@dovecot.fi> wrote: >>> >>> 4) you can use autoexpunge here, i guess. >> &g

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

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 >

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:

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*

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

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

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

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

Re: Dovecot and Letsencrypt certs

2017-09-08 Thread @lbutlr
On 08 Sep 2017, at 12:21, Ralph Seichter <m16+dove...@monksofcool.net> 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 modif

Re: Embeding a path in address extensions

2017-09-08 Thread @lbutlr
On 08 Sep 2017, at 12:19, @lbutlr <krem...@kreme.com> 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.

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

Re: password reset

2017-09-07 Thread @lbutlr
On Sep 7, 2017, at 2:33 PM, Ruben Safir <ru...@mrbrklyn.com> 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 i

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

Re: detect suspicious logins

2017-12-20 Thread @lbutlr
> On 19 Dec 2017, at 10:13, Matthew Broadhead > wrote: > > does anyone know of a linux module (maybe similar to fail2ban) that could be > installed which would monitor email logs (sign ins) and alert the user to any > suspicious activity on their account?

Re: Released Pigeonhole v0.5.0.rc1 for Dovecot v2.3.0.rc1.

2017-12-19 Thread @lbutlr
> On 18 Dec 2017, at 14:58, Stephan Bosch wrote: > > Here is the Pigeonhole release candidate that goes with the Dovecot > v2.3 release candidate. Of course, a large part of this release consists > of compatibility changes for Dovecot v2.3. Apart from that, not much >

Re: Released Pigeonhole v0.5.0.rc1 for Dovecot v2.3.0.rc1.

2017-12-19 Thread @lbutlr
On 19 Dec 2017, at 03:24, Larry Rosenman wrote: > As soon as possible after release. I'm the maintainer for pigeonhole, and > Adam Weinberger is the maintainer for dovecot (I'm AKA l...@freebsd.org). Oh good. Time to start diving in to pigeonhole :) -- Apple broke

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

Marks as read on mover to Archive

2018-05-12 Thread @lbutlr
How would I setup dovecot so that when messages are moved to the Archive mailbox, they are marked as read? Would it be similar to the imap-sieve for spam tagging? imapsieve_mailbox1_name = Junk imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_before =

Re: Marks as read on mover to Archive

2018-05-12 Thread @lbutlr
On 2018-05-12 (01:51 MDT), Tobi wrote: > > Does it not help to add > > addflag "\\Seen"; > > to your sieve script code? I don't know. I do not currently have any sieve script code for dealing with Archives, that's sort of what I was asking. -- Lady Astor: "If you were

Re: expiring mail from root's Maildirs?

2018-05-05 Thread @lbutlr
On 2018-05-05 (06:52 MDT), Benny Pedersen wrote: > >> And yet it is. > > in muttrc you miss ~ or $(HOME)/something No. >> Root has been aliased for decades. This has no impact on where and how >> mutt stores the mail it sends as root out of root’s crontab. > > root user can

Re: expiring mail from root's Maildirs?

2018-05-05 Thread @lbutlr
On 2018-05-05 (11:19 MDT), Aki Tuomi wrote: > > You could use tool like sudo or su to run mutt as non-root, instead of > running it as root? Maybe. Not sure if piping output in front to su will work, but I can certainly try it. -- "Making music should not be left to

Re: expiring mail from root's Maildirs?

2018-05-05 Thread @lbutlr
On 2018-05-05 (11:19 MDT), Aki Tuomi wrote: > > You could use tool like sudo or su to run mutt as non-root, instead of > running it as root? Thanks, that did work. Took a little, but no more sent mail in ~root. -- Vi Veri Veniversum Vivus Vici

Re: expiring mail from root's Maildirs?

2018-05-05 Thread @lbutlr
On 2018-05-05 (11:19 MDT), Larry Rosenman wrote: > > What happens if you put the following in /root/.muttrc: > Set record='/file/to/put/mail/in' I get a mail still owned by root. -- May you live in interesting times

expiring mail from root's Maildirs?

2018-05-04 Thread @lbutlr
I would like to delete old mail from root's sent mailbox but doveadm throws errors when I try to do this, not wanting to process root's mail at all (I am running the commands as root, naturally) # doveadm expunge -u root mailbox Sent SENTBEFORE 1-Apr-2018 doveadm(root): Error: Invalid settings

Re: Dovecot send duplicated certificates when using ssl_alt_cert

2018-05-17 Thread @lbutlr
On 2018-05-16 (08:54 MDT), Jean-Daniel Dupas wrote: > > My problem is that when connecting, dovecot includes 2 copies of Let's > Encrypt Authority X3 in the certificate chain. I think Dovecot 2.2 also has this issue, if I remember previous posts accurately. Recommendations

Autofile Junk for all users

2018-05-23 Thread @lbutlr
How would I get the rule if header :contains "X-spam-flag" "YES" { fileinto "Junk"; } To apply to all users mail at delivery time?

Re: Autofile Junk for all users

2018-05-23 Thread @lbutlr
On 2018-05-23 (08:17 MDT), André Rodier wrote: > Use the default scripts, works well for me. > > https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration#Visible_Default_Script > > The Dovecot wiki is really helpful, have a look on it ;-) Excellent, that's exactly what I want.

Sieve_default

2018-06-11 Thread @lbutlr
I created a sieve_default to move any spam-tagged messages into the Junk mailbox automatically, but it doesn’t appear to be working (though the other imapsieve_mailbox… scripts are working). From doveconf -n plugin { imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve

Re: Sieve_default

2018-06-15 Thread @lbutlr
On Jun 15, 2018, at 14:52, Reio Remma wrote: > > Did you try running /usr/lib/dovecot/sieve/sa-learn-spam.sh outside of the > sieve script? Yes. And that works not also works if I take out the global defaults declaration I added. What does not work at all is the drfefault.sieve action.

Re: Sieve_default

2018-06-13 Thread @lbutlr
> On 12 Jun 2018, at 01:23, Alex JOST wrote: > > Am 12.06.2018 um 01:01 schrieb @lbutlr: >> I created a sieve_default to move any spam-tagged messages into the Junk >> mailbox automatically, but it doesn’t appear to be working (though the other >> imapsieve_m

Re: Sieve_default

2018-06-13 Thread @lbutlr
On 13 Jun 2018, at 12:51, Sami Ketola wrote: > Are you sure your sieve even gets executed? Anything in the logs? can you > enable mail_debug=yes and try again? > Can you post your doveconf -n? I am not sure. I’ve made a couple of changes (put the default script and compiled script into their

Re: Sieve_default

2018-06-15 Thread @lbutlr
On 13 Jun 2018, at 16:14, @lbutlr wrote: > On 13 Jun 2018, at 12:51, Sami Ketola wrote: >> Are you sure your sieve even gets executed? Anything in the logs? can you >> enable mail_debug=yes and try again? >> Can you post your doveconf -n? > > I am not sure. I’ve ma

Re: How to log a Sieve match in Dovecot debug_log

2018-06-30 Thread @lbutlr
On 30 Jun 2018, at 03:28, Lukas wrote: > body :text :contains "crypto", > body :text :contains "sex", > body :text :contains "viagra" This is a very silly way to try to deal with spam. In fact, your own message to the list will be flagged by your rule. Actual spam

Re: How to log a Sieve match in Dovecot debug_log

2018-06-30 Thread @lbutlr
> On 30 Jun 2018, at 15:41, Lukas wrote: > > Sorry @lbutlr, this is a very silly answer to my question...! > My script is not the definite spam solution on my mail server, obviously. It doesn't matter. Triggering on specific words is not a spam solution. > So, if you can hel

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

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 <aki.tu...@dovecot.fi> wrote: > > > > On 27.10.2017 10:07, @lbutlr wrote: >> >>> On Oct 27, 2017, at 12:33 AM, Aki Tuomi <aki.tu...@dovecot.fi> wrote: >>> >>> >>> >>

Re: Adding Sieve to Roundcube

2017-12-29 Thread @lbutlr
On 29 Dec 2017, at 07:28, Stephan Bosch <step...@rename-it.nl> wrote: > Op 29-12-2017 om 15:21 schreef @lbutlr: >> I'm planning on adding support for sieve to Roundcube here in the near >> future and am looking for any recommendations on read-mes on how to do this. >>

Adding Sieve to Roundcube

2017-12-29 Thread @lbutlr
I'm planning on adding support for sieve to Roundcube here in the near future and am looking for any recommendations on read-mes on how to do this. I am planning on waiting until 2.3.0 hits Freebsd Ports -- No Sigs. Blame Apple.

Re: Setting up sieve with spam learning

2018-02-12 Thread @lbutlr
On 2018-02-12 (19:45 MST), Larry Rosenman wrote: > > Make sure you sievec the sieve global scripts. Id did miss that in the instructions for some reason, but it reports the same error. # sievec /usr/lib/dovecot/sieve/report-spam.sieve report-spam: line 7: error: pipe

doveadm with wildcard users?

2018-02-12 Thread @lbutlr
# 2.2.33.2 (d6601f4ec): If I do doveadm index -u user "*" for a local user, it works fine, but if I do doveadm -u "*@sqldomain.tld" "*" or doveadm -u "*@localaliasdomain.tld" "*" or doveadm -u "*@localdomain.tld" "*" or doveadm -u "u...@localdomain.tld" "*" it fails, … -u

Setting up sieve with spam learning

2018-02-12 Thread @lbutlr
Cribbing from the dovecot site I recently added the following lines to my dovecot.conf: managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include

Re: Setting up sieve with spam learning

2018-02-12 Thread @lbutlr
On 2018-02-12 (19:24 MST), @lbutlr <krem...@kreme.com> wrote: > > Cribbing from the dovecot site I recently added the following lines to my > dovecot.conf: > > managesieve_notify_capability = mailto > managesieve_sieve_capability = fileinto reject envelope encod

Re: doveadm with wildcard users?

2018-02-13 Thread @lbutlr
On 13 Feb 2018, at 00:11, Aki Tuomi wrote: > doveadm -u "*mask*" makes no sense. The “index” that was in the first line was dropped out of my further examples. But now where was there a “*mask*”. > what command are you trying to run? # doveadm index -u “*@sqldomain.tld"

Re: Setting up sieve with spam learning

2018-02-12 Thread @lbutlr
On 2018-02-12 (20:11 MST), @lbutlr <krem...@kreme.com> wrote: > > On 2018-02-12 (19:45 MST), Larry Rosenman <larry...@gmail.com> wrote: >> >> Make sure you sievec the sieve global scripts. > > Id did miss that in the instructions for some reason, but it repo

Re: doveadm with wildcard users?

2018-02-14 Thread @lbutlr
On 2018-02-13 (13:44 MST), Aki Tuomi wrote: > > Check dovecot logs why user listing returned an error. Auth process is > producing the error. Thanks, auth-worker(40200): Error: sql: Iterate query failed: Table 'postfix.users' doesn't exist Which is accurate, the

Sieve to process list mail based on list-ID

2018-02-15 Thread @lbutlr
Before I spend a lot of time trying to replicate a procmail script that automatically sorts list mail into mailboxes based on the List-ID header (and possibly some other data) I thought I'd check if someone had already done this for sieve. Basically, what I do now in procmail is 1. Get the

  1   2   3   4   5   6   >