Re: [Dovecot] deliver vs lda

2009-04-11 Thread Noel Butler
On Sun, 2009-04-12 at 14:08, Timo Sirainen wrote: > On Sun, 2009-04-12 at 13:56 +1000, Noel Butler wrote: > > > Hmm. I just realized. Once I implement LMTP server, it needs to read the > > > same settings as deliver. And perhaps it also needs some of its own > > > settings?.. So I'm thinking that

Re: [Dovecot] help with ldap config

2009-04-11 Thread Ricardo Kleemann
Hi, On Sat, 2009-04-11 at 11:43 -0700, Ricardo Kleemann wrote: auth_bind_userdn = uid=%u,ou=%d,dc=americasnet,dc=com ldap_version = 3 base = uid=%u,ou=%d,dc=americasnet,dc=com I don't think base should contain the uid=%u, part. I tried that, still same error.

Re: [Dovecot] deliver vs lda

2009-04-11 Thread Timo Sirainen
On Sun, 2009-04-12 at 13:56 +1000, Noel Butler wrote: > > Hmm. I just realized. Once I implement LMTP server, it needs to read the > > same settings as deliver. And perhaps it also needs some of its own > > settings?.. So I'm thinking that the whole protocol lda {} section > > should go away in dov

Re: [Dovecot] deliver vs lda

2009-04-11 Thread Noel Butler
On Sun, 2009-04-12 at 13:45, Timo Sirainen wrote: > > Hmm. I just realized. Once I implement LMTP server, it needs to read the > same settings as deliver. And perhaps it also needs some of its own > settings?.. So I'm thinking that the whole protocol lda {} section > should go away in dovecot-ex

Re: [Dovecot] deliver vs lda

2009-04-11 Thread Timo Sirainen
On Tue, 2009-04-07 at 14:01 -0400, Timo Sirainen wrote: > deliver is the binary name. but it's configured inside protocol lda {} > section. This is getting annoying, any thoughts on what would be a good > unifying name? Hmm. I just realized. Once I implement LMTP server, it needs to read the same

Re: [Dovecot] Can virtual mailboxes created automatically?

2009-04-11 Thread Xueron Nee
On Sat, 11 Apr 2009 22:09:02 -0400 Timo Sirainen wrote: > On Fri, 2009-04-10 at 13:06 +0800, Xueron Nee wrote: > > I set a virtual namespace, and for new users, there is no root dir for > > it. > . > > Apr 10 12:14:41 mail dovecot: IMAP(te...@xueron.com):Namespace 'virtual/': > > virtual: Ro

Re: [Dovecot] help with ldap config

2009-04-11 Thread Timo Sirainen
On Sat, 2009-04-11 at 11:43 -0700, Ricardo Kleemann wrote: > auth_bind_userdn = uid=%u,ou=%d,dc=americasnet,dc=com > ldap_version = 3 > base = uid=%u,ou=%d,dc=americasnet,dc=com I don't think base should contain the uid=%u, part. signature.asc Description: This is a digitally signed message par

Re: [Dovecot] Dovecot crash

2009-04-11 Thread Timo Sirainen
On Fri, 2009-04-10 at 08:17 +0200, wolfgang.frie...@desy.de wrote: > tonight dovecot 1.2beta4 crashed for the first time with an assertion > failed. See attached log file. Around that time nobody was logged in into > dovecot and there were no other mail deliveries going on. .. > istream-tee.c: li

Re: [Dovecot] Can virtual mailboxes created automatically?

2009-04-11 Thread Timo Sirainen
On Fri, 2009-04-10 at 13:06 +0800, Xueron Nee wrote: > I set a virtual namespace, and for new users, there is no root dir for > it. .. > Apr 10 12:14:41 mail dovecot: IMAP(te...@xueron.com):Namespace 'virtual/': > virtual: Root mail directory doesn't > exist:/home/data/te...@xueron.com/Maildir/vi

Re: [Dovecot] allow_nets and deliver + userdb lookup

2009-04-11 Thread Timo Sirainen
On Fri, 2009-04-10 at 16:49 +0400, Pavel Volkovitskiy wrote: > I'm trying to restrict imap logins to our internal network for several > users, but this breaks dovecot delivery too > > Even if i set allow_nets to NULL or 0.0.0.0/0 deliver exits with "Error: > Auth lookup returned failure" If you

Re: [Dovecot] deliver vs lda

2009-04-11 Thread Timo Sirainen
On Fri, 2009-04-10 at 07:40 -0400, Charles Marcus wrote: > Reading the Logging page on the wiki, it mentions if you don't want to > use your system syslogger, you can specify different log paths... > > Would it be possible to do both? For example, if I'm troubleshooting a > particular problem, I m

Re: [Dovecot] Issue with converting users from cyrus user.domain.com

2009-04-11 Thread Timo Sirainen
On Sat, 2009-04-11 at 19:53 -0600, Preston Lord wrote: > driver = mysql > connect = host=127.0.0.1 dbname=mailserver user=mailuser password= > default_pass_scheme = PLAIN-MD5 > password_query = SELECT email as user, password FROM view_users WHERE > email='%u'; > > > > I was able to get i

Re: [Dovecot] Issue with converting users from cyrus user.domain.com

2009-04-11 Thread Preston Lord
Hi Timo, I use: /etc/dovecot/dovecot-sql.conf driver = mysql connect = host=127.0.0.1 dbname=mailserver user=mailuser password= default_pass_scheme = PLAIN-MD5 password_query = SELECT email as user, password FROM view_users WHERE email='%u'; I was able to get it working if I changed t

Re: [Dovecot] Issue with converting users from cyrus user.domain.com

2009-04-11 Thread Timo Sirainen
On Sat, 2009-04-11 at 17:12 -0600, Preston Lord wrote: > I have been using cyrus for the past 6 years, but it is a pain to config. So > ... I just installed dovecot 1.0.15 on a new debian 4r7 box. > > In cyrus we were using usernames as "user.domain.tld". > > In dovecot I realize I can: > > auth

[Dovecot] Issue with converting users from cyrus user.domain.com

2009-04-11 Thread Preston Lord
I have been using cyrus for the past 6 years, but it is a pain to config. So ... I just installed dovecot 1.0.15 on a new debian 4r7 box. In cyrus we were using usernames as "user.domain.tld". In dovecot I realize I can: auth_username_translation = .@ But this converts user.domain.tld to u...@d

[Dovecot] help with ldap config

2009-04-11 Thread Ricardo Kleemann
Hi, I've been using courier with ldap and I'm trying to configure dovecot to do the same. I'm not exactly sure how to setup the ldap binds and filters... Here's my dovecot info: # 1.0.10: /etc/dovecot/dovecot.conf log_path: /var/log/dovecot.log log_timestamp: %Y-%m-%d %H:%M:%S login_dir: /var/r