postfix-queue taking a LONG time on large mails

2012-11-28 Thread Michael Holzt
Hi, I recently switched to postfix and thus am now using the postfix-queue plugin. Everything looked fine. But now I have noticed that sending a mail with a large attachment (e.g. 10 MB) causes the queue plugin to hang really really long on datapost, only after over two minutes I get the 250

Re: postfix-queue taking a LONG time on large mails

2012-11-28 Thread Michael Holzt
Anyone know what the reason for this might be? Is this a general problem of the postfix-queue plugin? The postfix-queue plugin uses a socket to the cleanup daemon. I'm not sure if the connection over the socket is slow (the cleanup daemon might be slow reading data from it) or if there is some

Alternative Postfix-Queue Plugin 'postfix-maildrop'

2012-11-28 Thread Michael Holzt
Hello everyone, considering what I wrote in my last mails, I have now written my own experimental queue plugin for postfix which will drop the mail into the postdrop-Spool and then notify the pickup daemon. With this plugin the queuing of a 10 MB mail will now only take three seconds. The

Re: Alternative Postfix-Queue Plugin 'postfix-maildrop'

2012-11-28 Thread Matt Simerson
It doesn't look like it would be very difficult to update your plugin so that it works using the drop-in method, and the old method as well. Perhaps with a config setting that lets people swap between the efficient -vs- paranoid method? I don't have a preference on this matter, but others

Re: Alternative Postfix-Queue Plugin 'postfix-maildrop'

2012-11-28 Thread Michael Holzt
It doesn't look like it would be very difficult to update your plugin so that it works using the drop-in method, and the old method as well. Perhaps with a config setting that lets people swap between the efficient -vs- paranoid method? I mentioned in my other mail that it probably makes