Re: [Dovecot] Crash in v1.2.3: istream.c: assertion failed on line 99

2009-08-16 Thread Timo Sirainen
On Aug 17, 2009, at 2:01 AM, Phillip Macey wrote: On 17/08/2009 3:36 PM, Timo Sirainen wrote: On Aug 17, 2009, at 1:31 AM, Phillip Macey wrote: Also you could check if you have any mails with CRs in them: perl -ne 's/\r$//;print if /\r/' * This didn't print anything - I was sort of expectin

Re: [Dovecot] Crash in v1.2.3: istream.c: assertion failed on line 99

2009-08-16 Thread Phillip Macey
On 17/08/2009 3:36 PM, Timo Sirainen wrote: On Aug 17, 2009, at 1:31 AM, Phillip Macey wrote: Also you could check if you have any mails with CRs in them: perl -ne 's/\r$//;print if /\r/' * This didn't print anything - I was sort of expecting it to at least print something (especially since

Re: [Dovecot] How to disable system users from receiving mail?

2009-08-16 Thread Benny Pedersen
On Sat, August 15, 2009 05:43, Paul H Park wrote: > I know that login can be disable for system users and groups, but how do I > refuse email for > system groups? this have nothing to do with dovecot imho ? if mta is postfix remove mydestination domains to virtual domains, eccept localhost an

Re: [Dovecot] GSSAPI Authentication in v1.2.1

2009-08-16 Thread Phillip Macey
On 13/08/2009 5:55 PM, Phillip Macey wrote: On 8/08/2009 2:50 AM, Timo Sirainen wrote: Does it help if you increase #define LOGIN_MAX_INBUF_SIZE 4096 to e.g. 8192 in src/login-common/client-common.h? I also needed to change src/master/master-login-interface.h #define MASTER_LOGIN_MAX_DATA_SI

Re: [Dovecot] Crash in v1.2.3: istream.c: assertion failed on line 99

2009-08-16 Thread Timo Sirainen
On Aug 17, 2009, at 1:31 AM, Phillip Macey wrote: Also you could check if you have any mails with CRs in them: perl -ne 's/\r$//;print if /\r/' * This didn't print anything - I was sort of expecting it to at least print something (especially since your update seemed to fix the crash...)

Re: [Dovecot] Crash in v1.2.3: istream.c: assertion failed on line 99

2009-08-16 Thread Phillip Macey
On 15/08/2009 3:17 AM, Timo Sirainen wrote: Sorry about the long wait for a reply. The weekend and life away from a computer/work called :-) See if this helps: http://hg.dovecot.org/dovecot-1.2/rev/4c42e72a3954 This seems to fix it - the process does not crash any more when I use either t

Re: [Dovecot] Postfix : lda problem

2009-08-16 Thread Benny Pedersen
On Sun, August 16, 2009 16:31, denis wrote: > The mails are stored under www-data:www-data if that is apache user then you have open file system for remote web users to all you mails even if thay dont login ! dont save your mails with apache user > in place of www-data:gid. > The parameter vi

Re: [Dovecot] Postfix : lda problem

2009-08-16 Thread Benny Pedersen
On Sat, August 15, 2009 18:52, denis wrote: > Fatal: setgid(33(www-data)) failed with euid=8(mail), gid=8(mail), > egid=8(mail): Operation not permitted postfix virtual and dovecot must be friends on the uid and gid, else permission denied this one is not that hard to solve :) id mail set th

Re: [Dovecot] Postfix : lda problem

2009-08-16 Thread Benny Pedersen
On Sat, August 15, 2009 15:48, Thomas Leuxner wrote: > mydestination = $myhostname, localhost.$mydomain > virtual_mailbox_domains = altern.domainepublic.net, > vacarme.domainepublic.net, mail.domainepublic.net i would not include $myhostname in mydestination, move this also to virtual if mail i

Re: [Dovecot] Postfix : lda problem

2009-08-16 Thread denis
Charles Marcus a écrit : >> dovecot unix - n n - - pipe >> flags=DRhu user=www-data:www-data argv=/usr/lib/dovecot/deliver -d >> $(recipient) >> > > Postfix is chrooted, dovecot LDA is not... > > I think you have other problems, but this is definitely a major

Re: [Dovecot] Postfix : lda problem

2009-08-16 Thread denis
Thomas Leuxner a écrit : > > Am 15.08.2009 um 18:52 schrieb denis: >> virtual_gid_maps = proxy:mysql:/etc/postfix/mygid.cf >> virtual_uid_maps = static:33 > You need to match the groups used by deliver in the "master.cf" > (mail/mail) or change them there. Try > > virtual_gid_maps = static:8 > virt

Re: [Dovecot] Quota question.

2009-08-16 Thread Tom Diehl
On Thu, 13 Aug 2009, Timo Sirainen wrote: On Thu, 2009-08-13 at 10:31 -0400, Tom Diehl wrote: What is the proper way to get the quota in the database to reflect what is actually in the users mailbox? .. quota: dict:user::proxy::quotadict .. quotadict: mysql:/etc/dovecot/dovecot-dict-q

Re: [Dovecot] can't deliver with Kerberos username

2009-08-16 Thread Timo Sirainen
On Aug 16, 2009, at 3:14 AM, Nikolay Shopik wrote: I don't know much about Kerberos, so I've no idea what would be the proper way to solve this. A) This means I have to keep file with all username which are exist in Kerberos realm? This is little confusing because http://wiki.dovecot.org/Au

Re: [Dovecot] can't deliver with Kerberos username

2009-08-16 Thread Nikolay Shopik
On 16.08.2009 11:11, Timo Sirainen wrote: On Aug 16, 2009, at 2:57 AM, Nikolay Shopik wrote: passdb: driver: passwd-file args: /etc/dovecot/passwd What do the usernames look like in this file? Set auth_debug=yes, what does deliver log then? Usernames are with domain - sho...@inblock.ru{plain

Re: [Dovecot] can't deliver with Kerberos username

2009-08-16 Thread Timo Sirainen
On Aug 16, 2009, at 2:57 AM, Nikolay Shopik wrote: passdb: driver: passwd-file args: /etc/dovecot/passwd What do the usernames look like in this file? Set auth_debug=yes, what does deliver log then? Usernames are with domain - sho...@inblock.ru{plain}password in file 15:34:

Re: [Dovecot] can't deliver with Kerberos username

2009-08-16 Thread Nikolay Shopik
On 16.08.2009 4:29, Timo Sirainen wrote: On Fri, 2009-08-14 at 22:06 +0400, Nikolay Shopik wrote: I've been trying to use Kerberos and PLAIN text file for authentication. I've setup deliver in postfix master.cf and make sure correct username are expanded but deliver is always told me "user unkno