Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Timo Sirainen
On 29.1.2010, at 7.57, Luigi Rosa wrote: > Timo Sirainen said the following on 29/01/10 06:48: > >> The main potential problem with that is that if a message's flag is >> changed, the filename changes so it's now stored twice in the backup >> server. So when restoring mails, be sure not to restor

Re: [Dovecot] How do I make dovecot not use sslv2 for pop?

2010-01-28 Thread Timo Sirainen
On 29.1.2010, at 9.23, Andreas Schulze wrote: >> From: Timo Sirainen >> Subject: Re: [Dovecot] How do I make dovecot not use sslv2 for pop? >> Message-ID: <1264724551.22202.139.ca...@hurina> >> >> Anyway.. I guess I should do something about this. Not really sure what, >> though. > Timo, > > yo

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Nikita Koshikov
On Thu, 28 Jan 2010 13:07:32 +0500 CoolAtt NNA wrote: > > Hi All.. > > Am working on continous backup of mailboxes using rsync(for e.g by running > rsync every 2 min) > > Things gets more complicated when users create Subfolders in INBOX , SENT , > etc.. > > If anyone among you did that plz

Re: [Dovecot] How do I make dovecot not use sslv2 for pop?

2010-01-28 Thread Andreas Schulze
> From: Timo Sirainen > Subject: Re: [Dovecot] How do I make dovecot not use sslv2 for pop? > Message-ID: <1264724551.22202.139.ca...@hurina> > > Anyway.. I guess I should do something about this. Not really sure what, > though. Timo, you can simply stop supporting SSLv2. Nobody really needs sec

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 29/01/10 07:39: > Create a new folder like the following ?? > > vmail/coolatt/Maildir/restored-emails Actually vmail/coolatt/Maildir/.restored-emails would be better :) Done that, you copy from the folder to be re

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread CoolAtt NNA
Am using Dovecot & the maildir format. Create a new folder like the following ?? vmail/coolatt/Maildir/restored-emails > Date: Fri, 29 Jan 2010 07:20:37 +0100 > From: li...@luigirosa.com > To: dovecot@dovecot.org > Subject: Re: [Dovecot] Anyone successfully setup Continous Backup of > mail

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 29/01/10 07:18: > It means if I create a new mailbox and I restore the emails at mail > level(individual files) ,will it work correctly? > And if I restore the same mail to an existing mailbox ?? Not a new mailbox,

Re: [Dovecot] maildir on zfs (was: mailbox format w/ separate headers/data)

2010-01-28 Thread Charles Sprickman
On Jan 22, 2010, at 9:22 PM, Frank Cusack wrote: On January 22, 2010 9:03:42 PM -0500 Charles Sprickman wrote: Sorry for the tangent, You should probably start a new thread when changing the subject. Then you don't have to be sorry. :) I figured I was already drifting OT for this lis

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread CoolAtt NNA
It means if I create a new mailbox and I restore the emails at mail level(individual files) ,will it work correctly? And if I restore the same mail to an existing mailbox ?? Thanks CoolAtt > Date: Fri, 29 Jan 2010 06:56:06 +0100 > From: li...@luigirosa.com > To: dovecot@dovecot.org > Subjec

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 29/01/10 06:48: > The main potential problem with that is that if a message's flag is > changed, the filename changes so it's now stored twice in the backup > server. So when restoring mails, be sure not to restore

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 29/01/10 06:47: > Can you please explain how you do the restore? I always restore at folder level, not mail level: in this case is the user that choose what to restore and I don't need to read the user's mail. I cre

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Timo Sirainen
On Fri, 2010-01-29 at 10:21 +0500, CoolAtt NNA wrote: > > Hi Alex, > > I mirror the mailboxes as follows: > > rsync -avt --log-file=$log_file /home/vmail/ 10.0.0.x:/home/vmail > I run it in a script for e,g every 1 min. > By doing so if an email is deleted on the live server it still remain on t

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread CoolAtt NNA
Hi Luigi, Thats great. Can you please explain how you do the restore? I plan to do restore of 1 or more mail files. If I simply copy a mailfile e.g "MailDir/cur/my-email-file:2,S" to "MailDir/cur/" on the live system, are there issues associated with it ? Thanks CoolAtt

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CoolAtt NNA said the following on 29/01/10 06:21: > rsync -avt --log-file=$log_file /home/vmail/ 10.0.0.x:/home/vmail > I run it in a script for e,g every 1 min. > By doing so if an email is deleted on the live server it still remain on the > backup

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread CoolAtt NNA
Hi Alex, I mirror the mailboxes as follows: rsync -avt --log-file=$log_file /home/vmail/ 10.0.0.x:/home/vmail I run it in a script for e,g every 1 min. By doing so if an email is deleted on the live server it still remain on the backup server. Then I give each mail file a retention period of n

Re: [Dovecot] index location

2010-01-28 Thread Timo Sirainen
On 29.1.2010, at 3.54, Dave Brenner wrote: > The only unexpected thing I ran into is that the full client root path is > still required for the expire and quota plugins. So, if some clients use a > blank root, while others use ~/mail, ~someuser/mail or mail/, you have to > allow for all of the

Re: [Dovecot] index location

2010-01-28 Thread Dave Brenner
On 1/28/2010 12:59 PM, Timo Sirainen wrote: The idea is that you should make everything work with the default prefix="" namespace and mail_location=mbox:~/mail. So your subscriptions should have e.g. "Spam" without prefix. Your autocreate rules should have "Spam" without prefix. After all that w

Re: [Dovecot] How do I make dovecot not use sslv2 for pop?

2010-01-28 Thread Rob Middleton
On 29/01/2010 11:22 AM, Timo Sirainen wrote: On Thu, 2010-01-28 at 15:23 -0800, Patrick Horgan wrote: Just a bump, still have the problem, why would dovecot support sslv2 for pop, but not for imap, when it's configured to not support sslv2 at all? I don't know why your nmap run woul

Re: [Dovecot] How do I make dovecot not use sslv2 for pop?

2010-01-28 Thread Timo Sirainen
On Thu, 2010-01-28 at 15:23 -0800, Patrick Horgan wrote: > Just a bump, still have the problem, why would dovecot support sslv2 for > pop, but not for imap, when it's configured to not support sslv2 at all? I don't know why your nmap run would have shown only one of them supporting SSLv2, it sh

Re: [Dovecot] How do I make dovecot not use sslv2 for pop?

2010-01-28 Thread Patrick Horgan
Patrick Horgan wrote: From nmap: 995/tcp open ssl/pop3 Dovecot pop3d |_ sslv2: server still supports SSLv2 |_ pop3-capabilities: USER CAPA UIDL PIPELINING RESP-CODES TOP SASL(PLAIN LOGIN) pop3 allows SSLv2, imap doesn't. In my dovecot.conf I have: ssl_cipher_list = ALL:!LOW:!SSLv2 at

Re: [Dovecot] index location

2010-01-28 Thread Timo Sirainen
On Thu, 2010-01-28 at 12:55 -0800, Dave Brenner wrote: > On 1/27/2010 1:25 PM, Timo Sirainen wrote: > > > Did you read http://wiki.dovecot.org/Namespaces > > I've been tinkering with it and have not yet gotten it to do exactly > what I want. Adding the sample namespaces for UW backward compatib

Re: [Dovecot] index location

2010-01-28 Thread Dave Brenner
On 1/27/2010 1:25 PM, Timo Sirainen wrote: Did you read http://wiki.dovecot.org/Namespaces I've been tinkering with it and have not yet gotten it to do exactly what I want. Adding the sample namespaces for UW backward compatibility causes the client to show the full ~/mail path in the subsc

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Seth Mattinen
On 1/28/10 12:07 AM, CoolAtt NNA wrote: > > Hi All.. > > Am working on continous backup of mailboxes using rsync(for e.g by running > rsync every 2 min) > > Things gets more complicated when users create Subfolders in INBOX , SENT , > etc.. How? > If anyone among you did that plz guide & ad

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Alexander Hoogerhuis
On 28.01.2010 09:07, CoolAtt NNA wrote: Hi All.. Am working on continous backup of mailboxes using rsync(for e.g by running rsync every 2 min) Things gets more complicated when users create Subfolders in INBOX , SENT , etc.. If anyone among you did that plz guide& advise. You don't stat

Re: [Dovecot] virtual users with mysql

2010-01-28 Thread Andre Hübner
We use mysql auth and support username or usern...@domain.com for logins. Perhaps you just need to edit the auth_username_chars variable in the dovecot config to allow @ symbol in usernames? sorry, is already solved. was just a question of the correct sql-query. to easy to see it ;) i think i

[Dovecot] assertion mail-transaction-log-view.c

2010-01-28 Thread David Halik
I'm not sure how useful this is with optimization turned back on, but here it is anyway. This was just a one off that happened last night: Jan 27 20:49:05 gehenna17.rutgers.edu dovecot: IMAP(user): fscking index file /rci/nqu/rci/u2/user/dovecot/.INBOX/dovecot.index Jan 27 20:49:05 gehenna17.

Re: [Dovecot] virtual users with mysql

2010-01-28 Thread Justin Krejci
We use mysql auth and support username or usern...@domain.com for logins. Perhaps you just need to edit the auth_username_chars variable in the dovecot config to allow @ symbol in usernames? -Original Message- From: dovecot-bounces+jkrejci=usinternet@dovecot.org [mailto:dovecot-bounce

Re: [Dovecot] Question about Pigeonhole for Dovecot v2.0 revision 1223:67f7f59671e8

2010-01-28 Thread Jonathan Siegle
On Jan 28, 2010, at 11:54 AM, Stephan Bosch wrote: > Jonathan Siegle wrote: >> On Jan 28, 2010, at 11:42 AM, Stephan Bosch wrote: >>> Jonathan Siegle wrote: I'm looking for documentation on the testsuite program. The most useful piece would be a sample scriptfile. >>> All test scripts

Re: [Dovecot] Question about Pigeonhole for Dovecot v2.0 revision 1223:67f7f59671e8

2010-01-28 Thread Stephan Bosch
Jonathan Siegle wrote: On Jan 28, 2010, at 11:42 AM, Stephan Bosch wrote: Jonathan Siegle wrote: I'm looking for documentation on the testsuite program. The most useful piece would be a sample scriptfile. All test scripts are located in the tests/ directory. Ah there they are. Ok thanks.

Re: [Dovecot] Question about Pigeonhole for Dovecot v2.0 revision 1223:67f7f59671e8

2010-01-28 Thread Jonathan Siegle
On Jan 28, 2010, at 11:42 AM, Stephan Bosch wrote: > Jonathan Siegle wrote: >> I'm looking for documentation on the testsuite program. The most useful >> piece would be a sample scriptfile. > > All test scripts are located in the tests/ directory. > Ah there they are. Ok thanks. > The vnd.

Re: [Dovecot] Question about Pigeonhole for Dovecot v2.0 revision 1223:67f7f59671e8

2010-01-28 Thread Stephan Bosch
Jonathan Siegle wrote: I'm looking for documentation on the testsuite program. The most useful piece would be a sample scriptfile. What exactly do you want to know? The testsuite is invoked with `make test', so you can check the top-level Makefile.am for usage of the testsuite tool. It also p

[Dovecot] Question about Pigeonhole for Dovecot v2.0 revision 1223:67f7f59671e8

2010-01-28 Thread Jonathan Siegle
I'm looking for documentation on the testsuite program. The most useful piece would be a sample scriptfile. smime.p7s Description: S/MIME cryptographic signature

Re: [Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread Stewart Dean
The answer, if you can sell the cost, might be network storage. Most of them provide the capability of take inode snapshots CoolAtt NNA wrote: Hi All.. Am working on continous backup of mailboxes using rsync(for e.g by running rsync every 2 min) Things gets more complicated when users create

Re: [Dovecot] failed to stat user's sieve script

2010-01-28 Thread Nick Lunt
Hi Anton that's done the trick, thanks very much. Nick. __ Information from ESET NOD32 Antivirus, version of virus signature database 4813 (20100128) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: [Dovecot] failed to stat user's sieve script

2010-01-28 Thread Anton Dollmaier
Hi, Jan 28 13:26:15 deliver(root): Error: chdir(/root) failed: Permission denied dovecot cannot store mails to /root, use an alias in your MTA to redirect mails to another user. best regards, Anton

Re: [Dovecot] failed to stat user's sieve script

2010-01-28 Thread Nick Lunt
fix this problem then ? My setup is very basic but thing's are not working. Obviously I'm doing something wrong, but what ? Thanks Nick. __ Information from ESET NOD32 Antivirus, version of virus signature database 4813 (20100128) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: [Dovecot] failed to stat user's sieve script

2010-01-28 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 28 Jan 2010, Nick Lunt wrote: Jan 28 13:26:15 deliver(root): Error: stat(/root/Maildir/tmp) failed: Permission denied (euid=99(nobody) egid=99(nobody) missing +x perm: /root) I cannot send email to the root user on the box. IMHO, neithe

Re: [Dovecot] Cannot get dovecot-sieve to work

2010-01-28 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 28 Jan 2010, Nick Lunt wrote: mail_access_groups: mail mail_privileged_group: mail Won't work with deliver, maybe only if it is SUID. = If Dovecot is the only process accessing /var/mail/file, you could: a) use another location for

Re: [Dovecot] Cannot get dovecot-sieve to work

2010-01-28 Thread Nick Lunt
tion for INBOX, > b) use flock. Hi Steffan thank you for the pointers, however I have decided to move over to postfix. I have sent a message with a new error to the list. Thanks Nick __ Information from ESET NOD32 Antivirus, version of virus signature database 4813 (20100128) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: [Dovecot] Cannot get dovecot-sieve to work

2010-01-28 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 28 Jan 2010, Nick Lunt wrote: Here is what I have put in sendmail.cf Mdovecot, P=/usr/libexec/dovecot/deliver, F=DFMPhnu9, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrFromSMTP, T=DNS/RFC822/X-Unix,

[Dovecot] failed to stat user's sieve script

2010-01-28 Thread Nick Lunt
OD32 Antivirus, version of virus signature database 4813 (20100128) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: [Dovecot] Cannot get dovecot-sieve to work

2010-01-28 Thread Nick Lunt
xec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 lda: postmaster_address: r...@localhost m

[Dovecot] virtual users with mysql

2010-01-28 Thread Andre Hübner
Hello List, we use in our system cryptical Usernames for dovecot etc. and authenticate users against shadow/passwd User abcde is loging in and gets data from /var/spool/mail/abcde and /home/popuser/abcde Now we want to make it possible that users can log in also with emailadresses. I tried do

Re: [Dovecot] Dovecot 2.0 authentication will not work with Exim [patch]

2010-01-28 Thread Kirill Miazine
* Kirill Miazine [2010-01-28 10:25]: Just a notice to those of you who use Dovecot authentication with Exim. In Dovecot 2.0 authentication server will send a new keyword, COOKIE. This will cause Exim to abort it's authentication request. I submitted a bug and patch to Exim to fix this, the patc

[Dovecot] Dovecot 2.0 authentication will not work with Exim [patch]

2010-01-28 Thread Kirill Miazine
Just a notice to those of you who use Dovecot authentication with Exim. In Dovecot 2.0 authentication server will send a new keyword, COOKIE. This will cause Exim to abort it's authentication request. I submitted a bug and patch to Exim to fix this, the patch is here: http://km.krot.org/cod

Re: [Dovecot] Cannot get dovecot-sieve to work

2010-01-28 Thread Nick Lunt
Information from ESET NOD32 Antivirus, version of virus signature database 4812 (20100128) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

[Dovecot] Anyone successfully setup Continous Backup of mailboxes using rsync ?

2010-01-28 Thread CoolAtt NNA
Hi All.. Am working on continous backup of mailboxes using rsync(for e.g by running rsync every 2 min) Things gets more complicated when users create Subfolders in INBOX , SENT , etc.. If anyone among you did that plz guide & advise. Thanks CoolAtt