[Dovecot] Trim trailing whitespace from username

2008-05-16 Thread David Jonas
Recently we changed Postfix to use Dovecot for our SASL authentication and we ran into trouble with some of our clients having extraneous spaces at the end of their usernames. The quick fix was to add a space to username_chars. The slightly longer fix was a pretty simple patch to Dovecot. I

Re: [Dovecot] Trim trailing whitespace from username

2008-05-16 Thread Timo Sirainen
On Fri, 2008-05-16 at 00:48 -0700, David Jonas wrote: Recently we changed Postfix to use Dovecot for our SASL authentication and we ran into trouble with some of our clients having extraneous spaces at the end of their usernames. The quick fix was to add a space to username_chars. The

[Dovecot] Looking for suggestions: How to strip attachments from mails

2008-05-16 Thread Patrick Nagel
Hi, I know this is not 100% on-topic, but I'll try anyway... I'm looking for a way to strip attachments from incoming mails on the server. The attachments should be stored on a file server (where users have access via SAMBA) and only a link to the file (UNC path) should remain in the mail

Re: [Dovecot] mysql index control allow nets

2008-05-16 Thread Evaggelos Balaskas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 timo thanks again (and again). but ... :( i attach my logs with mail_debug=yes i also attach my dovecot-sql.conf and my table too. I am reading from http://wiki.dovecot.org/UserDatabase that variable mail is overriding the default mail_location so

[Dovecot] Sieve plugins 1.0.3 and 1.1.5 released

2008-05-16 Thread Timo Sirainen
http://dovecot.org/releases/sieve/dovecot-sieve-1.0.3.tar.gz http://dovecot.org/releases/sieve/dovecot-sieve-1.0.3.tar.gz.sig http://dovecot.org/releases/sieve/dovecot-sieve-1.1.5.tar.gz http://dovecot.org/releases/sieve/dovecot-sieve-1.1.5.tar.gz.sig I've usually released new Sieve plugins at

Re: [Dovecot] Looking for suggestions: How to strip attachments from mails

2008-05-16 Thread Jason Fesler
I'm looking for a way to strip attachments from incoming mails on the server. http://detach.optimism.cc/ works in line with procmail or similiar. It is not a standalone server; but instead acts as a filter. I use it in front of my mailing lists, so that attachements are not sent out. I

[Dovecot] imap-login processes

2008-05-16 Thread Bryan Polk
First, thanks for this great product. We migrated from Courier last week with only small bumps along the way. We have a few hundred active users with a mix of pop3 and imap clients. The server is running on sparc Solaris 9. We're seeing a problem now with the number of imap-login processes

Re: [Dovecot] imap-login processes

2008-05-16 Thread Timo Sirainen
On Fri, 2008-05-16 at 11:38 -0400, Bryan Polk wrote: First, thanks for this great product. We migrated from Courier last week with only small bumps along the way. We have a few hundred active users with a mix of pop3 and imap clients. The server is running on sparc Solaris 9. We're

Re: [Dovecot] Trim trailing whitespace from username

2008-05-16 Thread David Jonas
Timo Sirainen wrote: On Fri, 2008-05-16 at 00:48 -0700, David Jonas wrote: Recently we changed Postfix to use Dovecot for our SASL authentication and we ran into trouble with some of our clients having extraneous spaces at the end of their usernames. The quick fix was to add a space to

Re: [Dovecot] imap-login processes

2008-05-16 Thread Bryan Polk
On Fri, 16 May 2008, Timo Sirainen wrote: How many imap processes do you have at that time? Each SSL connection uses up one imap-login process. One sure way to fix this would be to change to high-performance mode as described by http://wiki.dovecot.org/LoginProcess Currently 74 imap

Re: [Dovecot] imap-login processes

2008-05-16 Thread Timo Sirainen
On May 16, 2008, at 6:56 PM, Bryan Polk wrote: On Fri, 16 May 2008, Timo Sirainen wrote: How many imap processes do you have at that time? Each SSL connection uses up one imap-login process. One sure way to fix this would be to change to high-performance mode as described by

[Dovecot] Panic: IMAP(...): Trying to close mailbox INBOX with open transactions

2008-05-16 Thread Mike Abbott
I have been seeing this crash, which has been reported before but apparently not yet resolved. As with the previous reporters, I do not know how to reproduce it reliably. Dovecot version: 1.1.rc5 Operating system: Mac OS X 10.5.2 CPU architecture: x86 File system: HFS+ Activity: From the

Re: [Dovecot] imap-login processes

2008-05-16 Thread Joe Allesi
I tried switching to high-performance mode yesterday.. It seemed to end up with sort of the same results, though harder to diagnose. Each process I guess ended up hitting the login_process_size = 64 max and then stopped responding. We had this same problem, and switching to high-performance mode

Re: [Dovecot] imap-login processes

2008-05-16 Thread Timo Sirainen
On May 16, 2008, at 8:39 PM, Joe Allesi wrote: I tried switching to high-performance mode yesterday.. It seemed to end up with sort of the same results, though harder to diagnose. Each process I guess ended up hitting the login_process_size = 64 max and then stopped responding. We had

Re: [Dovecot] Panic: IMAP(...): Trying to close mailbox INBOX with open transactions

2008-05-16 Thread Timo Sirainen
On May 16, 2008, at 8:29 PM, Mike Abbott wrote: I have been seeing this crash, which has been reported before but apparently not yet resolved. As with the previous reporters, I do not know how to reproduce it reliably. Could you also post your dovecot -n output? PGP.sig Description:

Re: [Dovecot] imap-login processes

2008-05-16 Thread Bryan Polk
On Fri, 16 May 2008, Joe Allesi wrote: We had this same problem, and switching to high-performance mode helps. However, finding out which user or application is logging in, and controlling the end-user is the only way to fix it. In our case it was a multi-threaded application that used IMAP

Re: [Dovecot] imap-login processes

2008-05-16 Thread Frank Elsner
On Fri, 16 May 2008 14:47:05 -0400 (EDT) Bryan Polk wrote: On Fri, 16 May 2008, Joe Allesi wrote: We had this same problem, and switching to high-performance mode helps. However, finding out which user or application is logging in, and controlling the end-user is the only way to fix it.

Re: [Dovecot] imap-login processes

2008-05-16 Thread Evaggelos Balaskas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I hope something like this could help you : # Authentication Cache auth_cache_size = 10240 auth_cache_ttl = 18000 Bryan Polk wrote: On Fri, 16 May 2008, Frank Elsner wrote: Do you have a Web-Interface like SquirrelMail or Horde on the same

Re: [Dovecot] mysql index control allow nets

2008-05-16 Thread Evaggelos Balaskas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 everything is perfect. Evaggelos Balaskas wrote: timo thanks again (and again). but ... :( i attach my logs with mail_debug=yes i also attach my dovecot-sql.conf and my table too. I am reading from http://wiki.dovecot.org/UserDatabase