[Dovecot] failed: Cannot allocate memory

2010-01-29 Thread Philipp Snizek
Hi when I try to index messages using squat on a 26'000 emails mailbox I get the below errors at the point dovecot says "* OK Mailbox indexing finished". 2010-01-30 08:12:50 sleipnir local7.err dovecot IMAP(s...@dom.com): read(/var/tmp/dovecot/spam/indexes/.INBOX_score20/dovecot.index.searc

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

2010-01-29 Thread L.M.J
Le Thu, 28 Jan 2010 13:07:32 +0500, CoolAtt NNA a écrit : > 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. I

[Dovecot] Authentication failure (password mismatch?)

2010-01-29 Thread Wade Smart
I setup dovecot on my laptop to practice on. I was following some of the information on this page: https://help.ubuntu.com/community/PostfixVirtualMailBoxClamSmtpHowto#Testing Your Setup I created the in this format: user:{plain}pass:1000:1000::/home/user::userdb_mail=maildir:~/Maildir for us

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

2010-01-29 Thread Patrick Horgan
Timo Sirainen wrote: So I guess what happens is that OpenSSL advertises that it supports SSLv2. But then the ssl_cipher_list's !SSLv2 doesn't let the SSLv2 handshake actually go through. So it's not really possible to use SSLv2. You can verify this with: openssl s_client -ssl2 -connect localhost

Re: [Dovecot] Want to have some users with Maildir, some with mbox

2010-01-29 Thread WJCarpenter
http://wiki.dovecot.org/Migration/MailFormat shows a bunch of scripts, one of them claims to preserve UIDs. Does anyone here have direct successful experience with this? I only asked about this because a comment on that same page says, "None of the solutions described below preserve th

Re: [Dovecot] Want to have some users with Maildir, some with mbox

2010-01-29 Thread Timo Sirainen
On 30.1.2010, at 1.39, WJCarpenter wrote: > So, what is the answer for pre-2.0 folks who want to do mbox->Maildir > conversion? I have not yet found a script that claims to preserve UIDs. Is > there one that people use? http://wiki.dovecot.org/Migration/MailFormat shows a bunch of scripts, on

Re: [Dovecot] Want to have some users with Maildir, some with mbox

2010-01-29 Thread WJCarpenter
BTW. Are you also using a script that preserves IMAP UIDs? Otherwise IMAP clients will re-download all the mail. Does the "convert" plugin preserve the UIDs? The wiki implies that it doesn't, but I thought maybe since it's implemented as a plugin that maybe it does (or that maybe th

Re: [Dovecot] Want to have some users with Maildir, some with mbox

2010-01-29 Thread Timo Sirainen
On 30.1.2010, at 0.26, WJCarpenter wrote: > >> BTW. Are you also using a script that preserves IMAP UIDs? Otherwise IMAP >> clients will re-download all the mail. > > Does the "convert" plugin preserve the UIDs? The wiki implies that it > doesn't, but I thought maybe since it's implemented as

Re: [Dovecot] Want to have some users with Maildir, some with mbox

2010-01-29 Thread WJCarpenter
BTW. Are you also using a script that preserves IMAP UIDs? Otherwise IMAP clients will re-download all the mail. Does the "convert" plugin preserve the UIDs? The wiki implies that it doesn't, but I thought maybe since it's implemented as a plugin that maybe it does (or that maybe the cautio

Re: [Dovecot] Not understanding namespaces

2010-01-29 Thread Timo Sirainen
On Fri, 2010-01-29 at 16:18 -0500, Stewart Dean wrote: > > Timo Sirainen wrote: > > Maybe your main confusion comes from Thunderbird's settings. It has almost > > nothing to do with Dovecot's namespaces. > Golly! > > > The namespace configuration in TB is mostly a workaround for some servers.

Re: [Dovecot] Dovecot SSL issues

2010-01-29 Thread Eric Rostetter
Quoting Tom Hendrikx : * Trying protocol imap/ssl, Port 993: If you use imap/ssl/novalidate-cert it will ignore the mismatch. From what I understand, it doesn't like the certificate. The cerificate is fine, just a hostname mismatch as Tom Hendrikx said. This error is harmless, but yo

Re: [Dovecot] Want to have some users with Maildir, some with mbox

2010-01-29 Thread Timo Sirainen
On Fri, 2010-01-29 at 16:04 -0500, Stewart Dean wrote: > Questions: > 1) What does explicitly specifying MAIL this way override? The > dovecot.conf mail_location variable? Yes. > 2) My mail_location var is defined as: > > mail_location: mbox:~/mail:INBOX=/var/spool/mail/%u:INDEX=/var/dcindx/%u

Re: [Dovecot] Not understanding namespaces

2010-01-29 Thread Stewart Dean
Timo Sirainen wrote: Maybe your main confusion comes from Thunderbird's settings. It has almost nothing to do with Dovecot's namespaces. Golly! The namespace configuration in TB is mostly a workaround for some servers. I guess you've read http://wiki.dovecot.org/Namespaces? Again and a

[Dovecot] Want to have some users with Maildir, some with mbox

2010-01-29 Thread Stewart Dean
Want to have some users with Maildir, some with mbox, as I migrate from mbox format to maildir over the space of a month. After everyone is converted to maildir, I'll change the mail_location in dovecot.conf. During the interim, can I use the Custom mailbox location script (at the bottom of t

Re: [Dovecot] Not understanding namespaces

2010-01-29 Thread Timo Sirainen
On 29.1.2010, at 22.25, Stewart Dean wrote: > - Is it that you can define multiple namespaces in dovecot.conf and then > specify which of these you use in the TBird server settings? > - What is the syntax of the TBird namespace specification? Maybe your main confusion comes from Thunderbird's se

[Dovecot] Not understanding namespaces

2010-01-29 Thread Stewart Dean
I have been diligently reading about namespace in the DC doc and what I can find in Google. Like the blind men and the elephant, I see the nature of some individual bits of namespace, some syntax and the overall purpose (overriding defaults and providing extensions), but I don't see the whole

Re: [Dovecot] sieve script

2010-01-29 Thread Stephan Bosch
Lampa wrote: 2010-01-29T19:52:15.876551+01:00 hermes dovecot: deliver(u...@domain.tld): sieve: main_script: line 6: number of redirect actions exceeds policy limit 2010-01-29T19:52:15.881478+01:00 hermes dovecot: deliver(centrumrea...@remax-czech.cz): sieve: execution of script /home/mail/domain.

Re: [Dovecot] sieve script

2010-01-29 Thread Lampa
2010-01-29T19:52:15.876551+01:00 hermes dovecot: deliver(u...@domain.tld): sieve: main_script: line 6: number of redirect actions exceeds policy limit 2010-01-29T19:52:15.881478+01:00 hermes dovecot: deliver(centrumrea...@remax-czech.cz): sieve: execution of script /home/mail/domain.tld/user/.dovec

Re: [Dovecot] dovecot auth feature request

2010-01-29 Thread Frank Cusack
On January 29, 2010 7:11:59 PM +0200 Timo Sirainen wrote: On Fri, 2010-01-29 at 12:01 -0500, Frank Cusack wrote: when i try to run dovecot for SASL support only, with literally just this configuration: protocols = none ssl = no I suppose you didn't mean to include "ssl=no" above? yes, sorr

Re: [Dovecot] mdbox, dsync

2010-01-29 Thread Dave McGuire
On Jan 29, 2010, at 11:59 AM, Frank Cusack wrote: Anyway, let's hope it doesn't now corru. d...@...x>. LOST CARRIER huh? soda -> keyboard -- Dave McGuire Port Charlotte, FL

Re: [Dovecot] dovecot auth feature request

2010-01-29 Thread Timo Sirainen
On Fri, 2010-01-29 at 12:01 -0500, Frank Cusack wrote: > when i try to run dovecot for SASL support only, with literally just > this configuration: > > protocols = none > ssl = no I suppose you didn't mean to include "ssl=no" above? > Error: ssl_cert_file: Can't use /etc/ssl/certs/dovecot.pem: N

Re: [Dovecot] mdbox, dsync

2010-01-29 Thread Timo Sirainen
On Fri, 2010-01-29 at 11:59 -0500, Frank Cusack wrote: > On January 29, 2010 6:53:10 PM +0200 Timo Sirainen wrote: > > Anyway, let's hope it doesn't now corru. d...@...x>. > LOST CARRIER I wonder if they even offer Internet over phone lines nowadays in Finland .. :) signature.asc Description:

[Dovecot] dovecot auth feature request

2010-01-29 Thread Frank Cusack
when i try to run dovecot for SASL support only, with literally just this configuration: protocols = none ssl = no auth default { mechanisms = plain login passdb passwd-file { args = /etc/dovecot/passwd } socket listen { client { path = /var/spool/postfix/private/auth mode =

Re: [Dovecot] mdbox, dsync

2010-01-29 Thread Frank Cusack
On January 29, 2010 6:53:10 PM +0200 Timo Sirainen wrote: Anyway, let's hope it doesn't now corru. d...@...x>. LOST CARRIER huh?

[Dovecot] mdbox, dsync

2010-01-29 Thread Timo Sirainen
I finally migrated my mails from mbox format to mdbox format using dsync: 1. Stop dovecot, wait a few seconds for processes to die 2. dsync convert mdbox:~/mdbox 3. Change mail_location to mdbox:~/mdbox 4. Check that no new mails arrived during conversion (alternatively I could have just run dsync

Re: [Dovecot] Does anyone know a good Dovecot hoster in europe?

2010-01-29 Thread Timo Sirainen
On Fri, 2010-01-29 at 11:47 +0100, Johannes wrote: > Since dovecot seems to get a fair amount of funding > from finnish companies I thought there should be a good > hoster among them. Actually it doesn't. It used to get some, but that was years ago. I'm not aware of any European Dovecot hosting pr

Re: [Dovecot] maildir on zfs

2010-01-29 Thread Frank Cusack
On January 29, 2010 1:19:33 AM -0500 Charles Sprickman wrote: Anyhow, if I find more places to run ZFS in production and it seems stable enough, I'd like to try getting it running on my big mailserver at some point. Backing up from UFS to ZFS using rsync is fine, but ZFS send/recv looks like a

Re: [Dovecot] sieve script

2010-01-29 Thread Stephan Bosch
Lampa wrote: Hello, after qmail migration need convert some .procmailrc scripts. Found converter procmail -> sieve, but i'm not sure of quality of conversion. My script: --- if header :contains "from" ["u...@domain1.tld", "us...@domain2.tld", "us...@domain3.tld"] { redirect

Re: [Dovecot] sieve script

2010-01-29 Thread Lampa
2010/1/29 Steffen Kaiser : >> My script: >> --- >> if header :contains "from" ["u...@domain1.tld", "us...@domain2.tld", >> "us...@domain3.tld"] { >>       redirect "f...@bar.tld"; >>       redirect "f...@bar.tld"; >> >>       redirect "fo...@bar.tld"; >> } else { >>       keep; >>

Re: [Dovecot] Master user and proxying

2010-01-29 Thread Oli Schacher
> [ID 583609 > mail.info] auth(default): passdb(pierre,127.0.0.1,master): Master user > logging in as acco...@test.fr*pierre sounds like your proxy tries to login to destination as acco...@test.fr*pierre*pierre . Which of those two sql statements did u use for this log? "'%u*pierre' as destuser" o

Re: [Dovecot] sieve script

2010-01-29 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 29 Jan 2010, Lampa wrote: My script: --- if header :contains "from" ["u...@domain1.tld", "us...@domain2.tld", "us...@domain3.tld"] { redirect "f...@bar.tld"; redirect "f...@bar.tld"; redirect "fo...@bar.

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

2010-01-29 Thread Rob Middleton
On 29/01/2010 6:56 PM, Timo Sirainen wrote: 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

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

2010-01-29 Thread Alexander Hoogerhuis
On 29.01.2010 08:59, Timo Sirainen wrote: 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 resto

Re: [Dovecot] Courier-to-Dovecot-migration: Outlook downloads all Mails again

2010-01-29 Thread Julio C. Ortega
El 29/01/10 07:22, Werner escribió: > >> If so, Outlook 2000 won't download all messages again if we do the migration >> because >> POP3/SMTP-Server remains the same. Can anybody confirm this? > > Hi again, > > Found on the dovecot-Website: > > "Some clients re-download all mails if you change

Re: [Dovecot] Courier-to-Dovecot-migration: Outlook downloads all Mails again

2010-01-29 Thread Werner
> If so, Outlook 2000 won't download all messages again if we do the migration > because > POP3/SMTP-Server remains the same. Can anybody confirm this? Hi again, Found on the dovecot-Website: "Some clients re-download all mails if you change the hostname in the client configuration. Be aware

[Dovecot] Master user and proxying

2010-01-29 Thread BaQs
Hello list, Still need your help configuring proxy infrastructure. Today, I really struggle configuring master passwords forwarding. What I want: master user can connect to any other account, on proxy. Could please somebody help me, I read both articles about this on wiki, but still can

Re: [Dovecot] Dovecot SSL issues

2010-01-29 Thread Tom Hendrikx
Spyros Tsiolis wrote: > * Trying protocol imap/ssl, Port 993: > > ERROR - The server returned the following error message: > > SECURITY PROBLEM: insecure server advertised AUTH=PLAINCertificate > failure for localhost: self signed certificate: > /C=GR/ST=Kerkyra

[Dovecot] sieve script

2010-01-29 Thread Lampa
Hello, after qmail migration need convert some .procmailrc scripts. Found converter procmail -> sieve, but i'm not sure of quality of conversion. My script: --- if header :contains "from" ["u...@domain1.tld", "us...@domain2.tld", "us...@domain3.tld"] { redirect "f...@bar.tld";

[Dovecot] Dovecot SSL issues

2010-01-29 Thread Spyros Tsiolis
Hello all, successfully managed to make dovecot work with horde (http://www.horde.org) and another MTA (SMTP/POP3). I have this nagging issue with dovecot though (I suspect - it's dovecot and not the rest of the packages, please read on): There is this special page one goes, that check if everyt

[Dovecot] Courier-to-Dovecot-migration: Outlook downloads all Mails again

2010-01-29 Thread Werner
Hi everybody, I'm currently playing through the migration from Courier to dovecot. I've converted the User's Maildir with 'courier-dovecot-migrate.pl'. Outlook 2003 is configured to access the Mailbox via POP3, the option "Leave a copy of messages on the server" is activated. But: after the mig

[Dovecot] Does anyone know a good Dovecot hoster in europe?

2010-01-29 Thread Johannes
Hi, though I am not sure this is the right place to ask, but I just try. I am looking for a better e-mail hoster providing me with a dovecot server (I don't want to do all the admin stuff and backup myself, if possible). I already googled a bit, searched the archives and had a look at dovecot.org

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

2010-01-29 Thread CoolAtt NNA
I tried the "--fuzzy --delete-after" options. It works fine when the files are renamed. But the prob is that when a mail is deleted it gets deleted from the backup server as well. Is there a way to prevent deletion when using these options? Thanks CoolAtt > To: dovecot@dovecot.org > From: s

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

2010-01-29 Thread CoolAtt NNA
For email email am having the email duplication issue when am doing the backup. Am having multiple copies of a mail file on the backup server. Does it mean that if I use "--fuzzy --delete-after" only the most recent mailfile will be on the backup server ?? e.g On LIVE server : my-file:2,S

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

2010-01-29 Thread Geert Hendrickx
On Fri, Jan 29, 2010 at 10:21:39AM +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. If running this from cron every minute, make sure to use a lockf

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

2010-01-29 Thread Steinar Bang
> Timo Sirainen : > 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 duplicates. I use the --fuzzy flag to handle the renaming issue. Here's my