Re: [Dovecot] replication howto

2012-03-19 Thread Michael Grimm
Hi -- On 15.03.2012 22:05, Timo Sirainen wrote: On 15.3.2012, at 22.48, Michael Grimm wrote: Actually it's a bad idea to use root for ssh from a security point of view. A hacked root account isn't fun. Thus, normally one needs to explicitly change the config of the sshd daemon to allow root

[Dovecot] Accessing maildir snapshots through dovecot

2012-03-19 Thread Laurent CARON
Hi, I'm currently having a fairly simple setup: - users (real, not virtual) - Maildir storage (over NFS) - 1 namespace I'm currently trying to render the storage snapshots available through dovecot (to allow my users to browse their mail history). dovecot.conf: namespace { inbox = yes

Re: [Dovecot] bug uni_utf8_str_is_valid(vname)

2012-03-19 Thread Jernej Porenta
On Mar 16, 2012, at 2:14 PM, Timo Sirainen wrote: On 16.3.2012, at 11.09, Jernej Porenta wrote: Mar 6 13:37:17 machine dovecot: imap(username): Panic: file mail-storage.c: line 628 (mailbox_alloc): assertion failed: (uni_utf8_str_is_valid(vname)) .. We tried version 2.1.2, which

Re: [Dovecot] replication howto

2012-03-19 Thread Matteo Cazzador
Hi, i've a simple question, what do you mean for dovecot director setup? 'i've a doubt. The solution that i'm testing is using 3 mail server in different geoghrapic locations. An user can travel in varius location, and i want his imap mail reside on mail server in every locations. Sò i use you

[Dovecot] Building Dovecot RHEL RPMs with custom LDAP packages

2012-03-19 Thread Nikolaos Milas
Hi, We are (still) mainly using CentOS 5 (5.8 x86_64). As CentOS / RHEL 5 standard OpenLDAP packages are rather old (2.3.x), we've been using LTB OpenLDAP packages (http://ltb-project.org/wiki/download#openldap), which get installed in non-standard file system locations. So, I would like to

Re: [Dovecot] replication howto

2012-03-19 Thread /dev/rob0
On Mon, Mar 19, 2012 at 09:35:34AM +0100, Michael Grimm wrote: On 15.03.2012 22:05, Timo Sirainen wrote: On 15.3.2012, at 22.48, Michael Grimm wrote: Actually it's a bad idea to use root for ssh from a security point of view. A hacked root account isn't fun. Thus, normally one needs to

[Dovecot] Problem with sieve

2012-03-19 Thread Cédric Jeanneret
Hello List! I have a tiny-teeny problem with dovecot + sieve: it seems that the LDA doesn't run sieve, and thus doesn't filter my emails. Here's the sieve configuration: plugin { # Used by both the Sieve plugin and the ManageSieve protocol sieve=/var/local/vmail/%n/dovecot.sieve

Re: [Dovecot] Problem with sieve

2012-03-19 Thread Antoine Nguyen
2012/3/19 Cédric Jeanneret cjeanne...@internux.ch Hello List! I have a tiny-teeny problem with dovecot + sieve: it seems that the LDA doesn't run sieve, and thus doesn't filter my emails. Here's the sieve configuration: plugin { # Used by both the Sieve plugin and the ManageSieve

Re: [Dovecot] Building Dovecot RHEL RPMs with custom LDAP packages

2012-03-19 Thread /dev/rob0
On Mon, Mar 19, 2012 at 01:20:22PM +0200, Nikolaos Milas wrote: We are (still) mainly using CentOS 5 (5.8 x86_64). As CentOS / RHEL 5 standard OpenLDAP packages are rather old (2.3.x), we've been using LTB OpenLDAP packages (http://ltb-project.org/wiki/download#openldap), which get

Re: [Dovecot] bug uni_utf8_str_is_valid(vname)

2012-03-19 Thread Jernej Porenta
On Mar 19, 2012, at 10:58 AM, Jernej Porenta wrote: Mar 19 10:56:35 server dovecot: imap-login: Login: user=user, method=PLAIN, rip=193.2.1.110, lip=193.2.1.83, mpid=14732, secured Mar 19 10:56:40 server dovecot: imap(user): Panic: file mail-storage.c: line 628 (mailbox_alloc): assertion

Re: [Dovecot] Building Dovecot RHEL RPMs with custom LDAP packages

2012-03-19 Thread Nikolaos Milas
On 19/3/2012 2:32 μμ, /dev/rob0 wrote: ISTM that herein lies the whole problem. Why did you not rpmbuild your OpenLDAP? That would have avoided all further fuss. Thanks for the reply. First, how would I rpmbuild my openldap v2.4.x as a standard CentOS 5 package (i.e. replacing native

Re: [Dovecot] bug uni_utf8_str_is_valid(vname)

2012-03-19 Thread Timo Sirainen
On Mon, 2012-03-19 at 14:27 +0100, Jernej Porenta wrote: Mar 19 10:56:40 server dovecot: imap(user): Panic: file mail-storage.c: line 628 (mailbox_alloc): assertion failed: (uni_utf8_str_is_valid(vname)) It is the same. We will try 2.1.3 today and report the results... The home

Re: [Dovecot] Accessing maildir snapshots through dovecot

2012-03-19 Thread Timo Sirainen
On Mon, 2012-03-19 at 10:06 +0100, Laurent CARON wrote: I did the following modifications: dovecot.conf: namespace snaps-h0 { prefix = INBOX.EmailBackup.h0. hidden = no list = yes inbox = no location =

Re: [Dovecot] Problem managing mbox

2012-03-19 Thread Timo Sirainen
On Sat, 2012-03-17 at 20:42 +0100, PSTM wrote: Hello, I have a problem with dovecot. seems that do not erase mail that mail client request to be erased. Are you sure the clients have actually issued the EXPUNGE command, rather than simply marked the mail with \Deleted flag? And I have

Re: [Dovecot] importing plain mboxes to dovecot maildirs

2012-03-19 Thread Timo Sirainen
On Sat, 2012-03-17 at 18:29 +0100, Radim Kolar wrote: dsync(admin): Error: Failed to sync mailbox sent-mail-feb-2012: Mailbox GUIDs are not permanent without index files Well, you can work around if by letting it create indexes. Hm. Why exactly can't it create indexes? Do you have some

Re: [Dovecot] Accessing maildir snapshots through dovecot

2012-03-19 Thread Laurent CARON
On 19/03/2012 14:57, Timo Sirainen wrote: So the INBOX mails would be in /home/.snapshot/hourly.0/%u/Maildir/{cur| new} directories? The INBOX should be accessible via the INBOX.EmailBackup.h0 folder itself. If it's not, you may need to use a newer Dovecot version. It's not actually. Sorry

Re: [Dovecot] Building Dovecot RHEL RPMs with custom LDAP packages

2012-03-19 Thread /dev/rob0
On Mon, Mar 19, 2012 at 03:47:24PM +0200, Nikolaos Milas wrote: On 19/3/2012 2:32 μμ, /dev/rob0 wrote: ISTM that herein lies the whole problem. Why did you not rpmbuild your OpenLDAP? That would have avoided all further fuss. Thanks for the reply. First, how would I rpmbuild my openldap

Re: [Dovecot] Building Dovecot RHEL RPMs with custom LDAP packages

2012-03-19 Thread Nikolaos Milas
On 19/3/2012 5:28 μμ, /dev/rob0 wrote: So you are in fact using both the CentOS OpenLDAP and your own version? This does not sound good at all. :( I talked about migration, didn't I? (Helps in test environments too!) And there too, the better forum, with more of the skills you need, would

[Dovecot] INBOX cant be created

2012-03-19 Thread Radim Kolar
Inbox does not exists on disk, but following command sequence will not create it. 2 select INBOX 2 NO Mailbox doesn't exist: INBOX 3 create INBOX 3 NO [ALREADYEXISTS] Mailbox already exists: INBOX i think its bug

Re: [Dovecot] Accessing maildir snapshots through dovecot

2012-03-19 Thread Laurent CARON
On 19/03/2012 15:05, Laurent CARON wrote: On 19/03/2012 14:57, Timo Sirainen wrote: So the INBOX mails would be in /home/.snapshot/hourly.0/%u/Maildir/{cur| new} directories? The INBOX should be accessible via the INBOX.EmailBackup.h0 folder itself. If it's not, you may need to use a newer

Re: [Dovecot] INBOX cant be created

2012-03-19 Thread Radim Kolar
doveadm does not works too: sudo doveadm mailbox create -u admin INBOX doveadm(admin): Error: Can't create mailbox INBOX: Permission denied sudo doveadm mailbox create -u admin INBOX.2 (works)

Re: [Dovecot] 2.1: Error: Maildir filename has wrong S value, renamed the file from

2012-03-19 Thread Patrick Domack
I'm having this problem also, with a very very few users. But in my case the email isn't double gzip, just single like normal. Error: read(.../.Deleted Messages/cur/1331840112.M186676P27974.5013:2,) failed: Input/output error (uid=250) All I have to do is rename the file to add back the

Re: [Dovecot] INBOX cant be created

2012-03-19 Thread Alex Baule
doveadm(admin): Error: Can't create mailbox INBOX: Permission denied The INBOX exists but has a wrong owner. Em 19 de março de 2012 13:22, Radim Kolar h...@filez.com escreveu: doveadm does not works too: sudo doveadm mailbox create -u admin INBOX doveadm(admin): Error: Can't create mailbox

Re: [Dovecot] INBOX cant be created

2012-03-19 Thread Radim Kolar
doveadm(admin): Error: Can't create mailbox INBOX: Permission denied The INBOX exists but has a wrong owner. nope ponto# cd /var/mail ponto# mv admin/ admin.X ponto# doveadm mailbox create -u admin INBOX doveadm(admin): Error: Can't create mailbox INBOX: Permission denied but it might be

Re: [Dovecot] 2.1: Error: Maildir filename has wrong S value, renamed the file from

2012-03-19 Thread Ralf Hildebrandt
* Patrick Domack patric...@patrickdk.com: I'm having this problem also, with a very very few users. But in my case the email isn't double gzip, just single like normal. Error: read(.../.Deleted Messages/cur/1331840112.M186676P27974.5013:2,) failed: Input/output error (uid=250) All I

Re: [Dovecot] auth tcp socket, Authentication client gave a PID 7542 of existing connection

2012-03-19 Thread Alex Ha
On Fri, Mar 16, 2012 at 9:39 PM, Alex Ha alex.han...@gmail.com wrote: On Fri, Mar 16, 2012 at 9:14 PM, Timo Sirainen t...@iki.fi wrote: On 16.3.2012, at 22.00, Alex Ha wrote: dovecot: auth: Error: BUG: Authentication client gave a PID 7542 of existing connection Oh, right, PIDs of course

[Dovecot] Using plaintext auth and SSL

2012-03-19 Thread Jeff Simmons
I'm working with a company that presently has a Linux mailserver which all users have (no shell) accounts on. Mail is accessed via pop3 with plaintext authentication. They want to move to a system using imap with SSL. I'm building them a new server. I'd like to offer both for a while so we can

Re: [Dovecot] Using plaintext auth and SSL

2012-03-19 Thread Jeff Simmons
On Monday, March 19, 2012 04:16:46 pm you wrote: On 3/19/2012 4:04 PM, Jeff Simmons wrote: I'm working with a company that presently has a Linux mailserver which all users have (no shell) accounts on. Mail is accessed via pop3 with plaintext authentication. They want to move to a system

Re: [Dovecot] Using plaintext auth and SSL

2012-03-19 Thread Knute Johnson
On 3/19/2012 4:37 PM, Jeff Simmons wrote: On Monday, March 19, 2012 04:16:46 pm you wrote: On 3/19/2012 4:04 PM, Jeff Simmons wrote: I'm working with a company that presently has a Linux mailserver which all users have (no shell) accounts on. Mail is accessed via pop3 with plaintext

Re: [Dovecot] Using plaintext auth and SSL

2012-03-19 Thread Eliezer Croitoru
On 20/03/2012 01:37, Jeff Simmons wrote: On Monday, March 19, 2012 04:16:46 pm you wrote: On 3/19/2012 4:04 PM, Jeff Simmons wrote: I'm working with a company that presently has a Linux mailserver which all users have (no shell) accounts on. Mail is accessed via pop3 with plaintext

Re: [Dovecot] INBOX cant be created

2012-03-19 Thread Eliezer Croitoru
On 19/03/2012 20:23, Radim Kolar wrote: doveadm(admin): Error: Can't create mailbox INBOX: Permission denied The INBOX exists but has a wrong owner. nope ponto# cd /var/mail ponto# mv admin/ admin.X ponto# doveadm mailbox create -u admin INBOX doveadm(admin): Error: Can't create mailbox

Re: [Dovecot] Using plaintext auth and SSL

2012-03-19 Thread Eliezer Croitoru
On 20/03/2012 02:16, Eliezer Croitoru wrote: On 20/03/2012 01:37, Jeff Simmons wrote: On Monday, March 19, 2012 04:16:46 pm you wrote: On 3/19/2012 4:04 PM, Jeff Simmons wrote: I'm working with a company that presently has a Linux mailserver which all users have (no shell) accounts on. Mail

Re: [Dovecot] Using plaintext auth and SSL

2012-03-19 Thread Florian Zeitz
Am 20.03.2012 01:16, schrieb Eliezer Croitoru: On 20/03/2012 01:37, Jeff Simmons wrote: On Monday, March 19, 2012 04:16:46 pm you wrote: On 3/19/2012 4:04 PM, Jeff Simmons wrote: I'm working with a company that presently has a Linux mailserver which all users have (no shell) accounts on. Mail

Re: [Dovecot] Using plaintext auth and SSL

2012-03-19 Thread Gedalya
On 03/19/2012 07:37 PM, Jeff Simmons wrote: On Monday, March 19, 2012 04:16:46 pm you wrote: On 3/19/2012 4:04 PM, Jeff Simmons wrote: I'm working with a company that presently has a Linux mailserver which all users have (no shell) accounts on. Mail is accessed via pop3 with plaintext

Re: [Dovecot] Using plaintext auth and SSL

2012-03-19 Thread Gedalya
On 03/19/2012 07:37 PM, Jeff Simmons wrote: On Monday, March 19, 2012 04:16:46 pm you wrote: On 3/19/2012 4:04 PM, Jeff Simmons wrote: I'm working with a company that presently has a Linux mailserver which all users have (no shell) accounts on. Mail is accessed via pop3 with plaintext

[Dovecot] Dsync Dovecot

2012-03-19 Thread Jitendra Bhaskar
Hi guys, I am using dovecot-2.1.0 in centos 5.7, I configured dovecot with postfix in 2 system both system is having same configuration and os. I want to use dsync in mirror mode via ssh but I am not able to do it. When I followed the dsync wiki then I an unable to find the username : *dsync

Re: [Dovecot] Dsync Dovecot

2012-03-19 Thread Michescu Andrei
Hello Jitendra, I'm trying to do the same thing but I hit a wall as the sync seems to be doubling some emails in my case. My issues is still open with Timo (I HOPE!) As you seem to be stuck in an earlier stage here are my advices: 1) add the id_rsa to the .ssh folder to the user that runs the

[Dovecot] Per-user IMAP enable - is it possible?

2012-03-19 Thread Alexander Chekalin
Just wonder if it is possible to enable/disable IMAP4 on Dovecot (2.0.x as far) on per-user basis? The deal is simple: our policy is not to store a lot of mailing on mailserver (the user should store it locally), thus the 'use POP3' approach, but for a vary few users it is permitted to use

Re: [Dovecot] Per-user IMAP enable - is it possible?

2012-03-19 Thread Gedalya
On 3/20/2012 1:28 AM, Alexander Chekalin wrote: Just wonder if it is possible to enable/disable IMAP4 on Dovecot (2.0.x as far) on per-user basis? The deal is simple: our policy is not to store a lot of mailing on mailserver (the user should store it locally), thus the 'use POP3' approach,