Re: [Dovecot] lmtp sometimes fails to deliver a message to all recipients

2012-04-09 Thread Timo Sirainen
On 4.4.2012, at 19.09, Artur Zaprzała wrote: lmtp(3344, foo@domain): Error: RU1WMnueeU9QDQABxjIODQ: sieve: msgid=unspecified: failed to store into mailbox 'INBOX': Message was expunged (guid) lmtp(3344, foo@domain): Error: RU1WMnueeU9QDQABxjIODQ: sieve: script

Re: [Dovecot] 2.1.3: Overly lax FETCH parsing

2012-04-09 Thread Timo Sirainen
On 5.4.2012, at 21.59, Michael M Slusarz wrote: While useful that Dovecot is more liberal about what it receives, 3501 seems pretty clear that incorrect FETCH parameters must return a BAD. I can verify that the above commands fail on Cyrus. It's a SHOULD, not a MUST: Servers SHOULD

Re: [Dovecot] Using a namespace for providing access to mail snapshots for user based on-demand restoration of email backups

2012-04-09 Thread Timo Sirainen
On 6.4.2012, at 1.46, Joseph Tam wrote: One other consideration (at least for me) is if the INBOX and personal mail folders are stored in two separate FS's. It would be nice to fuse the two sets of backups under the same namespace, but I don't know how the namespace prefix matching works and

Re: [Dovecot] Using a namespace for providing access to mail snapshots for user based on-demand restoration of email backups

2012-04-09 Thread Timo Sirainen
On 5.4.2012, at 20.02, Charles Marcus wrote: On 2012-04-05 12:37 PM, Tom Hendrikx t...@whyscream.net wrote: The first interesting point I'd see with this, is that you supply the mail client with a near endless supply of folders, which would take a lot of caching space on the clients end,

Re: [Dovecot] Using a namespace for providing access to mail snapshots for user based on-demand restoration of email backups

2012-04-09 Thread Timo Sirainen
On 5.4.2012, at 18.28, Charles Marcus wrote: The snapshots are stored with the following filesystem layout: /path/to/snapshotsdir/hourly.0 ... /path/to/snapshotsdir/hourly.4 /path/to/snapshotsdir/daily.0 .. The 'names' (hourly, daily, weekly, monthly, yearly) are arbitrary (this is a

Re: [Dovecot] Director (was: Hints for a NFS-Setup)

2012-04-09 Thread Timo Sirainen
On 6.4.2012, at 16.58, Patrick Westenberg wrote: Hi again, I tried to setup a test invironemnt like this: MTA --(lmtp)--\ /--(lmtp)-- backend1 --\ -- director -- -- NFS MTA --(lmtp)--/ \--(lmtp)-- backend2 --/

Re: [Dovecot] distributed mdbox

2012-04-09 Thread Timo Sirainen
Yeah, not caching then. I know Glusterfs people implemented some fixes/workarounds to make Dovecot work better. I don't know if all of those fixes are in the public glusterfs. On 6.4.2012, at 18.39, James Devine wrote: As it turns out I can duplicate this problem with a single dovecot server

Re: [Dovecot] POP3 dele to Trash?

2012-04-09 Thread Timo Sirainen
On 7.4.2012, at 3.10, Kelsey Cummings wrote: On 04/06/12 16:40, Kelsey Cummings wrote: Has anyone already done this? Should this be possible via a plugin? I see the deleted-to-trash imap plugin. We are using Maildir if it makes a difference. Of course, this is exactly what the Lazy

Re: [Dovecot] Setting ACL for master user after login

2012-04-09 Thread Timo Sirainen
On 7.4.2012, at 6.48, PL MB wrote: I'd like to log in to normal user accounts as a master user but retain the normal users' ACLs. The Master Users page on the Dovecot 1.x wiki (1) says that I can set the master user's ACLs in a postlogin script. The documentation for master users on the

Re: [Dovecot] Director pop-login and imap-login processes exiting on signal 11

2012-04-09 Thread Timo Sirainen
On 7.4.2012, at 10.13, Andy Dills wrote: Apr 7 02:18:05 mail-out06 dovecot: pop3-login: Fatal: master: service(pop3-login): child 75029 killed with signal 11 (core not dumped - set service pop3-login { drop_priv_before_exec=yes }) v2.1.3 proxying was buggy with SSL connections. Probably

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Timo Sirainen
On 5.4.2012, at 15.59, Charles Marcus wrote: Does anyone know if the use of LMTP (or even the dovecot LDA) still loses the x-original-to header that the postfix vda adds and that I rely heavily on (since I use a lot of aliases), and if it does, is there any solution to get the original

Re: [Dovecot] Outlook (2010) - Dovecot (IMAP) 10x slower with high network load and many folders

2012-04-09 Thread Stuart Henderson
On 2012-04-06, Thomas von Eyben thomasvoney...@gmail.com wrote: I am seeing a 10x as slow performance when trying to complete a send/receive from an Outlook 2010 client to Dovecot via IMAP, but only when the LAN is fully loaded with other traffic, EG file copying. It seems the problem is when

[Dovecot] Director simplification?

2012-04-09 Thread Timo Sirainen
An idea I just had: Director basically works by assigning the backend IP address by: ip = vhosts[ md5(username) mod vhosts_count ].ip The rest of director is about what happens when vhosts[] or vhosts_count changes. What about instead doing this on IP address level? ip = ip_pool[

[Dovecot] v2.1.4 released

2012-04-09 Thread Timo Sirainen
http://dovecot.org/releases/2.1/dovecot-2.1.4.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.4.tar.gz.sig + Added mail_temp_scan_interval setting and changed its default value from 8 hours to 1 week. + Added pop3-migration plugin for easily doing a transparent

[Dovecot] v2.0.20 released

2012-04-09 Thread Timo Sirainen
http://dovecot.org/releases/2.0/dovecot-2.0.20.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.20.tar.gz.sig + doveadm user: Added -m parameter to show some of the mail settings. - doveadm import didn't import messages' flags - Make sure IMAP clients can't create

Re: [Dovecot] Director pop-login and imap-login processes exiting on signal 11

2012-04-09 Thread Andy Dills
On Mon, 9 Apr 2012, Timo Sirainen wrote: On 7.4.2012, at 10.13, Andy Dills wrote: Apr 7 02:18:05 mail-out06 dovecot: pop3-login: Fatal: master: service(pop3-login): child 75029 killed with signal 11 (core not dumped - set service pop3-login { drop_priv_before_exec=yes }) v2.1.3

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Charles Marcus
On 2012-04-09 3:33 AM, Timo Sirainen t...@iki.fi wrote: On 5.4.2012, at 15.59, Charles Marcus wrote: Does anyone know if the use of LMTP (or even the dovecot LDA) still loses the x-original-to header that the postfix vda adds and that I rely heavily on (since I use a lot of aliases), and if it

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Timo Sirainen
On 9.4.2012, at 15.50, Charles Marcus wrote: LMTP adds a new Delivered-To:rcpt-to@address header when there is a single RCPT TO. You can force a single RCPT TO from Postfix side by setting lmtp_destination_recipient_limit=1. LMTP doesn't add/remove/change X-Original-To: header. Ok, thanks

Re: [Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

2012-04-09 Thread Charles Marcus
On 2012-04-09 8:53 AM, Timo Sirainen t...@iki.fi wrote: I guess X-Original-To is the same address as what Postfix sees as the original RCPT TO address before alias expansion and such? In that case, see my today's mail in Postfix list. Yep... and hoping that you and Wietse can work out some way

[Dovecot] mount

2012-04-09 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a Dovecot installation on CentOS 5 where I sometimes mount external fs in /mnt Every Dovecot data is in local / file system, nothing is mounted elswhere After upgrading to 1.2.4 I rebooted the system for other reasons and at startup I got

[Dovecot] Username from rfc822Name subject alternative name

2012-04-09 Thread Бранко Мајић
Hello, I'm looking into adding support for extracting the username from client certificate's rfc822Name (from the subjectAltName extension). The question I have is what would be the best approach to do this? Current implementation has a kind of clean code since it just goes through the

Re: [Dovecot] mount

2012-04-09 Thread Timo Sirainen
On 9.4.2012, at 16.44, Luigi Rosa wrote: I have a Dovecot installation on CentOS 5 where I sometimes mount external fs in /mnt Every Dovecot data is in local / file system, nothing is mounted elswhere .. Is there a way toi tell Dovecot to ignore /mnt ? doveadm mount add /mnt ignore

Re: [Dovecot] mount

2012-04-09 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 09/04/12 15:57: Is there a way toi tell Dovecot to ignore /mnt ? doveadm mount add /mnt ignore Thanks, next time I will RTFM first. Ciao, luigi - -- / +--[Luigi Rosa]-- \ fortune cookie [UNIX] n. A random

[Dovecot] Multiply mailboxes vs one huge

2012-04-09 Thread Alexander Chekalin
Hello, as I need to store a lot of messages on my IMAP server (order of 900K-1000K; this is an archive for some time, maybe a year or so), I see some slowness in dealing with such a huge amount. I mainly need to do searches like get all messages from us...@domain1.com to us...@domain2.tld

Re: [Dovecot] Multiply mailboxes vs one huge

2012-04-09 Thread Timo Sirainen
On 9.4.2012, at 17.58, Alexander Chekalin wrote: as I need to store a lot of messages on my IMAP server (order of 900K-1000K; this is an archive for some time, maybe a year or so), I see some slowness in dealing with such a huge amount. I mainly need to do searches like get all messages

[Dovecot] per user sieve after filters

2012-04-09 Thread Andre Rodier
Hello, Thanks for dovecot, as it's still the best mail server. I'd like to use per users sieve_after scripts. Can I put in my dovecot config file, something like that: sieve_after = %h/Mails/Sieve/After/ It would be very useful for me, as I'd like to add vacation script to be executed from

Re: [Dovecot] per user sieve after filters

2012-04-09 Thread Stephan Bosch
On 4/9/2012 6:26 PM, Andre Rodier wrote: Hello, Thanks for dovecot, as it's still the best mail server. I'd like to use per users sieve_after scripts. Can I put in my dovecot config file, something like that: sieve_after = %h/Mails/Sieve/After/ It would be very useful for me, as I'd like

Re: [Dovecot] Better to use a single large storage server or multiple smaller for mdbox?

2012-04-09 Thread Emmanuel Noobadmin
On 4/9/12, Stan Hoeppner s...@hardwarefreak.com wrote: So it seems you have two courses of action: 1. Identify individual current choke points and add individual systems and storage to eliminate those choke points. 2. Analyze your entire workflow and all systems, identifying all choke

Re: [Dovecot] Multiply mailboxes vs one huge

2012-04-09 Thread Alexander Chekalin
Hello, Timo, I feel a bit unsure about which 'date' I mean, since I always consider the only date from Date: header. But which value is used as INTERNALDATE then? As soon as I use (for now) maildir storage type, all the metadata are stored in messages. So I expect Dovecot somehow parse and

Re: [Dovecot] v2.1.4 released - broken

2012-04-09 Thread Marc Perkel
I'm seeing this immediately after upgrading from 2.1.3 Apr 09 18:22:43 imap(ch...@powerpage.org): Error: user ch...@powerpage.org: Initialization failed: Initializing mail storage from mail_location setting failed: Home directory not set for user. Can't expand ~/ for mail root dir in:

[Dovecot] Authentication mechanism and Password scheme

2012-04-09 Thread Костырев Александр Алексеевич
Good day! I'm just trying to figure out that my understanding of subject is correct. So, if I want to store passwords in my database encrypted with SSHA512 scheme, my only choice for Authentication mechanism is plaintext? Thanks in advance! -- С уважением, Костырев Александр системный

Re: [Dovecot] Better to use a single large storage server or multiple smaller for mdbox?

2012-04-09 Thread Stan Hoeppner
On 4/9/2012 2:15 PM, Emmanuel Noobadmin wrote: Unfortunately, the usual kind of customers we have here, spending that kind of budget isn't justifiable. The only reason we're providing email services is because customers wanted freebies and they felt there was no reason why we can't give them

Re: [Dovecot] v2.1.4 released - broken

2012-04-09 Thread Gerhard Wiesinger
On 10.04.2012 03:28, Marc Perkel wrote: I'm seeing this immediately after upgrading from 2.1.3 Apr 09 18:22:43 imap(ch...@powerpage.org): Error: user ch...@powerpage.org: Initialization failed: Initializing mail storage from mail_location setting failed: Home directory not set for user.