Re: [Dovecot] Courier to Dovecot migration script issue

2012-04-04 Thread xnasx
Thank you! I really don't know what I made, but now all works fine with Thunderbird and Outlook 2007. But something strange: 'uidvalidity' are the same for both servers, but UIDs of mesages are not: Courier: d fetch 1:* uid * 1 FETCH (UID 64295) * 2 FETCH (UID 64296) * 3 FETCH (UID 64297)

Re: [Dovecot] imapsync, namespaces and Dovecot 2.x

2012-04-04 Thread Aleix Dorca
El 04/04/2012, a les 3:49, Timo Sirainen va escriure: On 2.4.2012, at 19.11, Aleix Dorca wrote: I recently tried to migrate from Exchange using imapsync. It didn't work because it complained that dovecot had no namespace capablity. After looking through Dovecot's config files I found that

Re: [Dovecot] Backtrace on mdbox index

2012-04-04 Thread Jean Michel
Almost 100%, while running force-resync got this message this time: doveadm(acc@domain): Error: Log synchronization error at seq=49,offset=3876 for /storage/3/bd/05/server1/users/domain/cache/storage/dovecot.map.index: Broken extension introduction: Record alignment is too large

[Dovecot] Proxy and SSO (single sign-on)

2012-04-04 Thread Miguel Tormo
Hello, I have a running setup with a dovecot imap4/pop3 proxy to a few dovecot backend servers which actually store the mailboxes. This is running smoothly and allows me to transparently distribute mailboxes. I'm using some extrafield configured in the LDAP passdb. However, now I would like to

Re: [Dovecot] Backtrace on mdbox index

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 14.08, Jean Michel wrote: doveadm(acc@domain): Panic: file mail-storage.c: line 787 (mailbox_check_mismatching_separators): assertion failed: (strncmp(vname, ns-prefix, ns-prefix_len-1) == 0) That's a bit strange. Can you get a core of it? http://dovecot.org/bugreport.html

Re: [Dovecot] Proxy and SSO (single sign-on)

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 14.18, Miguel Tormo wrote: I have a running setup with a dovecot imap4/pop3 proxy to a few dovecot backend servers which actually store the mailboxes. This is running smoothly and allows me to transparently distribute mailboxes. I'm using some extrafield configured in the

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Patrick Westenberg
Timo Sirainen schrieb: On Fri, 2012-03-30 at 21:37 +0200, Patrick Westenberg wrote: MTA --(lmtp)--\ /--(lmtp)-- backend1 --\ -- director -- -- NFS MTA --(lmtp)--/ \--(lmtp)-- backend2 --/ IMAP-User -- frontend1 --\

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 14.38, Patrick Westenberg wrote: Timo Sirainen schrieb: On Fri, 2012-03-30 at 21:37 +0200, Patrick Westenberg wrote: MTA --(lmtp)--\ /--(lmtp)-- backend1 --\ -- director -- -- NFS MTA --(lmtp)--/

Re: [Dovecot] Proxy and SSO (single sign-on)

2012-04-04 Thread Miguel Tormo
El Miércoles, 4 de Abril de 2012 13:21:33 Timo Sirainen escribió: On 4.4.2012, at 14.18, Miguel Tormo wrote: I have a running setup with a dovecot imap4/pop3 proxy to a few dovecot backend servers which actually store the mailboxes. This is running smoothly and allows me to

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Patrick Westenberg
Timo Sirainen schrieb: Another director. They're meant to connect to each others and do LB/HA. But what about my MTAs? How can I tell my two postfix servers that there are two directors and it should/can use the other one if the first is down? Now I use relay_transport =

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 15.02, Patrick Westenberg wrote: Timo Sirainen schrieb: Another director. They're meant to connect to each others and do LB/HA. But what about my MTAs? How can I tell my two postfix servers that there are two directors and it should/can use the other one if the first is

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Jerry
On Wed, 4 Apr 2012 15:06:29 +0300 Timo Sirainen articulated: On 4.4.2012, at 15.02, Patrick Westenberg wrote: Timo Sirainen schrieb: Another director. They're meant to connect to each others and do LB/HA. But what about my MTAs? How can I tell my two postfix servers that there

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 15.29, Jerry wrote: Now I use relay_transport = lmtp:unix:private/dovecot-lmtp. Even if I change this to lmtp:tcp:1.2.3.4:24 it is still only one director. I don't know if Postfix supports that. Typically people use a load balancer (cluster). Perhaps posting on the

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Patrick Domack
Quoting Timo Sirainen t...@iki.fi: On 4.4.2012, at 15.29, Jerry wrote: Now I use relay_transport = lmtp:unix:private/dovecot-lmtp. Even if I change this to lmtp:tcp:1.2.3.4:24 it is still only one director. I don't know if Postfix supports that. Typically people use a load balancer

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Patrick Westenberg
Timo Sirainen schrieb: where lmtp.example.com expands to your two IP addresses. DNS server handles load balancing by returning IPs in round robin and Postfix handles fallbacking to the second IP if the first one doesn't work. Dovecot has similar behavior in several places. As far as I

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 16.04, Patrick Westenberg wrote: Timo Sirainen schrieb: where lmtp.example.com expands to your two IP addresses. DNS server handles load balancing by returning IPs in round robin and Postfix handles fallbacking to the second IP if the first one doesn't work. Dovecot has

[Dovecot] Modifying LDAP search results for user_attrs

2012-04-04 Thread Patrick Ben Koetter
I need to authenticate users via LDAP either by mailaddress or login name. In both cases the mailbox location is /src/mail/%d/%n. I can easily deduct that path from the mailaddress, but not so from the login name. Can I get the mail address as part of fetching user_attrs and modify it on the fly?

Re: [Dovecot] Modifying LDAP search results for user_attrs

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 16.10, Patrick Ben Koetter wrote: I need to authenticate users via LDAP either by mailaddress or login name. In both cases the mailbox location is /src/mail/%d/%n. I can easily deduct that path from the mailaddress, but not so from the login name. If you have something like

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Patrick Domack
Quoting Timo Sirainen t...@iki.fi: On 4.4.2012, at 16.04, Patrick Westenberg wrote: Timo Sirainen schrieb: where lmtp.example.com expands to your two IP addresses. DNS server handles load balancing by returning IPs in round robin and Postfix handles fallbacking to the second IP if the

Re: [Dovecot] Hints for a NFS-Setup

2012-04-04 Thread Timo Sirainen
On 4.4.2012, at 16.57, Patrick Domack wrote: Quoting Timo Sirainen t...@iki.fi: On 4.4.2012, at 16.04, Patrick Westenberg wrote: Timo Sirainen schrieb: where lmtp.example.com expands to your two IP addresses. DNS server handles load balancing by returning IPs in round robin and

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

2012-04-04 Thread Artur Zaprzała
Timo Sirainen wrote: On 2.4.2012, at 18.45, Artur Zaprzała wrote: Running strace on lmtp reveals that when lmtp delivers a message to multiple recipients it saves the message to a file in the first mailbox and hard links that file to other mailboxes. But when in the meantime of delivery that

[Dovecot] Listener not binding to port

2012-04-04 Thread Mike Jones!
Hello. Dovecot is not binding or listening on port 993 when I start it. $ sudo netstat -tlnp | grep -c 993 0 Dovecot starts fine and runs without complaints. $ sudo service dovecot restart Restarting IMAP/POP3 mail server: dovecot. $ sudo tail /var/log/mail.log Apr 4 13:42:39 mwjones

Re: [Dovecot] Modifying LDAP search results for user_attrs

2012-04-04 Thread Christoph Bussenius
On 2012-04-04 15:10, Patrick Ben Koetter wrote: Or would I be able to modify this with a post-login script? Just one note: as far as I know, if your mail directory depends on a post-login script, it might be tricky to get LMTP or doveadm commands to work properly. Cheers, Christoph

Re: [Dovecot] Listener not binding to port

2012-04-04 Thread Eliezer Croitoru
you should configure imap\pop3 services as far as i remeber... Regards, Eliezer On 04/04/2012 20:52, Mike Jones! wrote: Hello. Dovecot is not binding or listening on port 993 when I start it. $ sudo netstat -tlnp | grep -c 993 0 Dovecot starts fine and runs without complaints. $ sudo