Re: [Dovecot] finding messages deleted before timespec

2012-09-04 Thread Sven Hartge
Dennis Guhl wrote: > On Mon, Sep 03, 2012 at 01:31:18PM +0200, Sven Hartge wrote: >> Hi! >> I want to use this to expunge all DELETED messages which have been in >> that state for 24h or longer. > http://wiki2.dovecot.org/Tools/Doveadm/Expunge Yes, I know about doveadm

Re: [Dovecot] finding messages deleted before timespec

2012-09-04 Thread Sven Hartge
Timo Sirainen wrote: > On 3.9.2012, at 14.31, Sven Hartge wrote: >> I want to use this to expunge all DELETED messages which have been in >> that state for 24h or longer. > Dovecot doesn't keep track of that information, so you can't. I suspected this. Would

Re: [Dovecot] Error: User doesn't have home dir set, disabling duplicate database

2012-09-16 Thread Sven Hartge
Carsten Laun-De Lellis wrote: > user_attrs = home=/vmail/%d/%n,=uid=5000,=gid=5000 This should be user_attrs = =home=/vmail/%d/%n,=uid=5000,=gid=5000 You need the = before "home" like you did with "uid" and "gid" because you are not assigning any LDAP attribute to home but are construction

[Dovecot] Dovecot 2 and TCP-Keepalive

2012-10-20 Thread Sven Hartge
Hi! I am about to migrate a perdition-based IMAP/POP3 proxy to Dovecot. Unfortunately some users are behind a firewall/NAT setup which throws away seemingly idle TCP connections sooner than the established default of 24 hours (more likely after 30 minutes ...) resulting in all kinds of weird clie

Re: [Dovecot] Dovecot 2 and TCP-Keepalive

2012-10-20 Thread Sven Hartge
Timo Sirainen wrote: > On 20.10.2012, at 19.39, Sven Hartge wrote: >> My question is: does Dovecot2 use TCP-Keepalive on its sockets per >> default or do I need to enable it some way I have not yet discovered? > It's the default yes. Of course Linux's default keepa

Re: [Dovecot] Creating Maildir and populating with emails via external Python process

2012-10-25 Thread Sven Hartge
Bradley Rintoul wrote: > I'm using Dovecot to provide IMAP services for Thunderbird clients. > The user's mail is stored in Maildir format and the individual emails > which the user "receives" are actually downloaded and put into the > Maildir "repository" using a Python email client (POP3 client

Re: [Dovecot] POLL: v2.2 to allow one mail over quota?

2012-10-29 Thread Sven Hartge
Timo Sirainen wrote: > Currently if user is 1MB under quota and someone tries to deliver mail > that is over 1MB, Dovecot rejects the mail. But smaller mails aren't > rejected probably for days. So user might not even realize that they > didn't receive one of the mails. Also having a user "almost

Re: [Dovecot] POLL: v2.2 to allow one mail over quota?

2012-10-29 Thread Sven Hartge
Noel Butler wrote: > On Mon, 2012-10-29 at 22:39 +0200, Timo Sirainen wrote: >> So what do you think about v2.2 allowing delivery of one last mail even if >> it brings the user over quota? > +1 only if configurable, and with an additional configurable quota > percentage value option for those

Re: [Dovecot] users mail folders have to be subscribed

2012-11-18 Thread Sven Hartge
Andre Bischof wrote: > 2012/11/18 Daniel Parthey >> Unsubscribed mailboxes are not shown in thunderbird, while subscriptions >> being stored server side, not in your local thunderbird. > thank you, I guess that will be helpful - but before trying it, I > would like to get one thing clear, which

Re: [Dovecot] shared mailboxes and indexes

2012-11-23 Thread Sven Hartge
Timo Sirainen wrote: > On 23.11.2012, at 13.27, Alessio Cecchi wrote: >> Il 23/11/2012 08:07, Timo Sirainen ha scritto: >>> BTW. Do you have multiple Dovecot backend servers? Director works >>> only when you're not using shared mailboxes.. >> I'm not happy to hear that, so if today we are runn

Re: [Dovecot] SSL certificates

2012-11-23 Thread Sven Hartge
The Doctor wrote: > Who is the best CA Certificate provider for Dovecot? What do you mean by "best"? Grüße, Sven. -- Sigmentation fault. Core dumped.

Re: [Dovecot] shared mailboxes and indexes

2012-11-26 Thread Sven Hartge
Timo Sirainen wrote: > On 23.11.2012, at 17.53, Sven Hartge wrote: >>>>> BTW. Do you have multiple Dovecot backend servers? Director works >>>>> only when you're not using shared mailboxes.. >> >>> You can't reliably do it if the mailbo

Re: [Dovecot] shared mailboxes and indexes

2012-11-28 Thread Sven Hartge
Timo Sirainen wrote: > On 27.11.2012, at 3.24, Sven Hartge wrote: >>> For implementing shared mailboxes between all user servers, I think >>> what would need to be developed is: >> >>>> imapc_host = m-st-sh-01.example.com >>>> imapc_master

Re: [Dovecot] Missing Emails

2012-12-27 Thread Sven Hartge
David Morsberger wrote: > I reported a problem with disappearing emails on my Apple Mountain > Lion server. Not sure if it ever stopped but I do know it is happening > again. > Help This is a company email server. They live and die by their > emails. > Emails show up in inbox and then disa

Re: [Dovecot] POLL: v2.2 to allow one mail over quota?

2013-02-10 Thread Sven Hartge
Timo Sirainen wrote: > How about this, added to hg: > plugin { > # LDA/LMTP allows saving the last mail to bring user from under quota to > # over quota, if the quota doesn't grow too high. Default is to allow as > # long as quota will stay under 10% above the limit. Also allowed e.g. 10M. >

Re: [Dovecot] last login timestamp

2013-04-29 Thread Sven Hartge
Oscar A. Jara wrote: > Hello, I am settiing up a dovecot (imap, pop, sieve, lda) + openldap > infrastructure. I need to store the timestamp of the last login of > each user in an attribute of its corresponding ldap object. I could > not find a way of doing this through configuration options so I

[Dovecot] verbose_proctitle cuts dsync to proctitle to "dsyn"

2013-08-27 Thread Sven Hartge
Hi Timo, little cosmetic bug report: using "verbose_proctitle = yes" shortens the proctitle of dsync to just "dsyn". Example: Note the whitespace instead of the 'c' in the proctitle: root@m-st-01:~# ps auwwwx | grep [d]syn virtmail 18141 13.0 0.1 49916 7952 pts/6R+ 00:49 0:00 dsyn

Re: [Dovecot] Upgrade from 2.1 to 2.2 on Debian

2013-10-20 Thread Sven Hartge
Lucas Rothamel - Eye Catching Webdesign wrote: > I am currently running Dovecot 2.1 on current Debian and need to upgrade > to 2.2 to use the replication features. > I understand that I therefore need to compile Dovecot myself. No. Just use the excellent packages from http://xi.rename-it.nl/de

Re: [Dovecot] Upgrade from 2.1 to 2.2 on Debian

2013-10-20 Thread Sven Hartge
Gedalya wrote: > On 10/20/2013 05:39 PM, Sven Hartge wrote: >> Lucas Rothamel - Eye Catching Webdesign >> wrote: >>> I am currently running Dovecot 2.1 on current Debian and need to >>> upgrade to 2.2 to use the replication features. I understand that I >

Re: [Dovecot] zlib config questions

2013-12-06 Thread Sven Hartge
Terry Barnum wrote: > I'm curious how many people here use the zlib plugin. Is it common or > is drive space cheap enough that it's not worth it to run the risk of > potential problems? HDD space may be cheap, but is also slow, therefor IOPS are very expensive. I compress the mail using zlib,

Re: [Dovecot] SQL as a storage backend

2013-12-06 Thread Sven Hartge
Zachary Sturgeon wrote: > I am researching using dovecot with an SQL database as the storage > backend. From what I've read, dovecot only supports mbox style file > storage, but I'd like to investigate the possibility of using a > database instead. > According to > http://dovecot.org/pipermail/

Re: [Dovecot] Sizing MTA servers

2014-01-17 Thread Sven Hartge
Adrian Zaugg wrote: > Am 17.01.14 10:53 schrieb Stan Hoeppner: >> On 1/16/2014 6:56 PM, Murray Trainer wrote: >> MTA = disk. Always has always will. Disk throughput is always the >> critical factor for queue performance, and an MTA is little more than a >> queue. Which makes it surprising that

Re: [Dovecot] Architecture for large Dovecot cluster

2014-01-24 Thread Sven Hartge
Stan Hoeppner wrote: > Sven, why didn't you chime in? Your setup is similar scale and I > think your insights would be valuable here. Or maybe you could repost > your last on this topic. Or was that discussion off list? I can't > recall. Rather busy right now with a large scale Identity Mana

Re: [Dovecot] Architecture for large Dovecot cluster

2014-01-28 Thread Sven Hartge
Joseph Tam wrote: > Sven Hartge wrote: >> Interesting datapoint: NetApp Deduplication did only recover about 1% >> of storage space with mdbox-based mail storage, while on an >> maildir-based mail storage, the rate was about 15%. (This was tested >> with a copy of rea

Re: [Dovecot] Send and Bounced mail not appearing, depending on mail client

2014-03-05 Thread Sven Hartge
Dominique wrote: > I just installed Dovecot2 on Ubuntu 12.04 server with postfix and > postfixadmin. I am using virtual users and virutal domains. When > using Thunderbird, Roundcubemail,iOS mail application on an iPad2 or > Kmail n Android, all mail sent and bounce shows up. > However, when us

Re: [Dovecot] Corrupted Mail?

2014-05-28 Thread Sven Hartge
Larry Stone wrote: > On May 28, 2014, at 2:03 AM, Arthur Dent wrote: >> DELIVER=/usr/libexec/dovecot/deliver >> DESTDIR=/home/mark/mail/ >> :0 w >> * ^List-Id:.*users.lists.fedoraproject.org >> | $DELIVER -m $DESTDIR/MLists/Fedora > But that’s not exactly what was suggested above. It’s missing

Re: [Dovecot] Change to Maildir format

2014-05-29 Thread Sven Hartge
Arthur Dent wrote: > 2) Switching to maildir, should the new delivery line now read: > | /usr/libexec/dovecot/deliver -d mark -m .MLists.Fedora/ > (i.e. a dot before and after MLists and a trailing slash)? That depends on the namespace configuration in dovecot. An excerpt from the output of "d

Re: If local Dovecot stops working, check lo

2014-07-13 Thread Sven Hartge
Nick Edwards wrote: > On 7/12/14, Steve Litt wrote: >> experience with Debian Wheezy is that lo "goes down" a lot, so this >> is one of the first things I do when odd stuff happens. > Use a better operating system then, I've used at work and home, suse, > opensuse, rhel, centos, slackware and

Re: mail_location hashing & lowercasing?

2014-08-30 Thread Sven Hartge
Ralf Hildebrandt wrote: > Currently, I'm using > mail_location = mdbox:/var/spool/mail/%Ld/%Ln/mdbox > Now I want to add a partitioning (so I don'T have all directories in > one single directory), but can't find the right syntax: > mail_location = mdbox:/var/spool/mail/%Ld//%Ln/mdbox > It seem

Re: mail_location hashing & lowercasing?

2014-08-31 Thread Sven Hartge
Ralf Hildebrandt wrote: > * Sven Hartge : >> I have home=/srv/mail/%2NLn/%2.16NLn/%Ln/ in my auth-ldap.conf.ext and >> this gives me a path like this: /srv/mail/0/08/myusername >> >> I use version 2.2.13 of dovecot. > I'm on 2.1.17 :( %N could be a 2.2 fea

Re: Thunderbird ignores some folders

2014-10-03 Thread Sven Hartge
dovecot.pk...@dfgh.net wrote: > we are using Dovecot 2.2.7 and all of our users are using Thunderbird > as their mail client. Some of them additionally use their iPad/iPhone > and a very few an Android Mail-Client. > Now one user noticed that two of his mail folders disappeared. He > first believ

Re: Migrating to Dovecot EE

2014-10-10 Thread Sven Hartge
Philipp Resch wrote: > I am currently running dovecot 2.2.9 on my Debian Wheezy system. As > this version is a bit outdated and I'm not too keen on compiling > Dovecot myself I was thinking about moving to the Dovecot EE > repository. I already have access to the repository, and now before I > s

Re: last_login plugin with MySQL

2014-10-18 Thread Sven Hartge
Luigi Rosa wrote: > I was expecting an UPDATE...WHERE but I got this: > INSERT INTO mailbox (lastlogin,username) VALUES ('1413647370','username') ON > DUPLICATE KEY UPDATE lastlogin='1413647370' > This is not very useful if I want a `lastlogin` field of the `mailbox` table > updated on every lo

Re: last_login plugin with MySQL

2014-10-18 Thread Sven Hartge
Luigi Rosa wrote: > Sven Hartge wrote on 18/10/2014 18:07: >> This SQL query looks correct to me. It INSERTs a new row for a >> username if one does not already exist but UPDATEs it if there is >> already such a row. > My fault: I didn't know this SQL synt

Re: zlib, mdbox and spam filtering scripts

2014-12-19 Thread Sven Hartge
Philon wrote: > How are your spam/ham training routines? How do you feed SA? You have to use "doveadm fetch" to retrieve messages to feed into Spamassassin. Grüße, Sven. -- Sigmentation fault. Core dumped.

Re: zlib, mdbox and spam filtering scripts

2014-12-22 Thread Sven Hartge
Philon wrote: > I also looked into Sven’s advice (Danke!) about doveadm fetch. I just > came across this script here: > https://git.mnt-tech.fr/admintools.git/raw/master/blacklist.sh. It > does much more than just fetch, but for me it was a good reference for > retrival of mails using doveadm. M

<    1   2