Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Brian Candler
On Wed, May 19, 2010 at 09:48:02AM -0400, Phil Howard wrote: >Yes, that is what I want to be testing. So I need a way to send mail >via SMTP (including TLS and login authentication) as well as picking it >up via IMAP. But I chose to only ask for the IMAP piece of it here >(and the

Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Brian Candler
On Tue, May 18, 2010 at 05:32:14PM -0400, Phil Howard wrote: > What I need is a program that already has all the logic to do IMAP as a > client already in it. This isn't about testing IMAP logic per-se. It's > about making sure mail is going through OK, and logins that should fail will > fail, an

Re: [Dovecot] best choice of user database file to work with postfix?

2010-04-21 Thread Brian Candler
On Wed, Apr 21, 2010 at 10:32:36AM -0400, Phil Howard wrote: > Ideal would be a one-file solution, which can be managed by > text editing or simple command line tools. But what I want is ONE file that > both Postfix (for valid recipients) and Dovecot (for user login > authentication) can use toget

Re: [Dovecot] Incoming mails + remote backup

2010-04-08 Thread Brian Candler
On Tue, Apr 06, 2010 at 02:35:20PM +0100, Brian Candler wrote: > > I have tried with imapsync and able to transfer single mail account to > > remote server. Is there a way to transfer whole server's mail account using > > imapsync? > > I don't think so, not wi

Re: [Dovecot] Forcing NOSELECT for a Maildir folder?

2010-04-07 Thread Brian Candler
On Tue, Apr 06, 2010 at 12:38:15AM +0300, Timo Sirainen wrote: > > INBOX > > Local Folders <--- (standard flags, but no NOSELECT) > > Public Folders <--- NOSELECT > > That's a pretty uncommon setup. I fixed it now for v2.0: > > http://hg.dovecot.org/dovecot-2.0/rev/944591ed8ceb > > You could try

Re: [Dovecot] Testing 2.0b3 - problem with pop3

2010-04-07 Thread Brian Candler
On Wed, Apr 07, 2010 at 12:25:48PM +0200, Arnold Jäger wrote: > Apr 07 11:38:45 auth: Info: passwd(user1,10.1.1.99): Password mismatch > Apr 07 11:38:45 auth: Debug: passwd(user1,10.1.1.99): CRYPT(password1) != 'x' At a guess, it looks like it's trying to match against the password field in /etc/p

Re: [Dovecot] Incoming mails + remote backup

2010-04-06 Thread Brian Candler
On Tue, Apr 06, 2010 at 04:59:11AM -0700, minim wrote: > Is it possible to configure MTA to deliver to remote servers? Certainly. For any complex mail delivery requirements, I'd say that exim is your friend. You can set up routers and transports to do whatever you like. This is out of the scope

Re: [Dovecot] Timeout Value

2010-04-06 Thread Brian Candler
On Tue, Apr 06, 2010 at 12:13:02PM +0800, jac...@umac.mo wrote: > I constantly encounter 'dovecot-auth', 'login-imap', 'login-pop3' and > 'imap' processes consume 100% CPU. > I run 'ps' and found those hanged up processes were running for a long > time. Have you tried attaching strace to them?

Re: [Dovecot] Incoming mails + remote backup

2010-04-05 Thread Brian Candler
On Sun, Apr 04, 2010 at 11:48:55PM -0700, minim wrote: > I have to take two copy of incoming mails on different servers(local & > remote). I am using plain server without any panel on it and using sendmail, > pop3 server Dovecot. > > Is there a way(any configurations) to take a remote backup for

Re: [Dovecot] Dovecot+LDAP issues

2010-04-05 Thread Brian Candler
On Mon, Apr 05, 2010 at 11:16:04AM +0100, Daniel Gomes wrote: > >P.S. Unrelated, but I hope you're aware that Ubuntu 7.10 went out of support > >on Apr 18th last year? https://wiki.ubuntu.com/Releases > > Thanks for the heads up! We (and by "we" I mean "me") are slowly > upgrading our servers for

Re: [Dovecot] New install authentication probs (Solved)

2010-04-01 Thread Brian Candler
On Thu, Apr 01, 2010 at 09:03:46PM +0100, Brian Candler wrote: > If you want it, set this in dovecot.conf: > > disable_plaintext_auth = no and you may also need: auth default { ... mechanisms = plain login ...

Re: [Dovecot] IMAP extensions & their meanings

2010-04-01 Thread Brian Candler
On Thu, Apr 01, 2010 at 04:15:35PM -0400, Jerry wrote: > I know that is is not really a Dovecot problem; however, I was > wondering where I could get a complete list of the terms used in the > 'capability' line. I have not had any success in finding out what > things like "XLIST" refer to. I don't

Re: [Dovecot] New install authentication probs (Solved)

2010-04-01 Thread Brian Candler
On Thu, Apr 01, 2010 at 08:09:30PM +0100, a.sm...@ukgrid.net wrote: > yes sounds likely, I am attempting to authenticate using the text: > LOGIN username password (with a tag in front of the command) > With zero logged to the debug log... With courier IMAP this works by > default, I guess by def

Re: [Dovecot] New install authentication probs (Solved)

2010-04-01 Thread Brian Candler
On Thu, Apr 01, 2010 at 06:50:28PM +0100, Brian Candler wrote: > On Thu, Apr 01, 2010 at 10:21:35AM +0100, Andy Smith wrote: > > Update on this problem, > > seems the only issue I had was that the telnet method of verifying > > IMAP authentication that works on Courier

Re: [Dovecot] New install authentication probs (Solved)

2010-04-01 Thread Brian Candler
On Thu, Apr 01, 2010 at 10:21:35AM +0100, Andy Smith wrote: > Update on this problem, > seems the only issue I had was that the telnet method of verifying > IMAP authentication that works on Courier just doesnt work with > Dovecot. What did you use? What did you see in response? Correct syntax is

Re: [Dovecot] Dovecot+LDAP issues

2010-04-01 Thread Brian Candler
On Wed, Mar 31, 2010 at 02:59:28PM +0100, Daniel Gomes wrote: > Unfortunately, I seemed to have run into a big problem on an occasion > when dovecot was unable to connect my first server (gold) and hence went > to the second one (extra). I set up a simple test by configuring hosts = 10.1.1.1

Re: [Dovecot] Dovecot+LDAP issues

2010-04-01 Thread Brian Candler
On Wed, Mar 31, 2010 at 02:59:28PM +0100, Daniel Gomes wrote: > I am having some problems with a LDAP passdb authentication on Dovecot. > Before I forget, the specs: it's a Ubuntu 7.10 server running Dovecot > 1.0.5 connecting to 2 different machines running LDAP servers: gold with > OpenLDAP 2.4.1

Re: [Dovecot] Can Dovecot do this...

2010-03-31 Thread Brian Candler
On Tue, Mar 30, 2010 at 11:50:42AM -0600, Robert Lopez wrote: > It is now proposed that certain staff members should be allowed to be > at some remote location and compose an email which will be sent to > SOMETHING at our college which will then cause two things to happen. > > First, the From: inf

Re: [Dovecot] Problem with IMAP on port 993

2010-03-29 Thread Brian Candler
On Mon, Mar 29, 2010 at 10:48:00AM -0400, Jerry wrote: > I am using IMAP with Dovecot. Claws-mail is my MUA. Now, when fetching > mail via port 143, everything works fine: > > Mar 29 10:33:00 imap-login: Info: Login: user=, > method=CRAM-MD5, rip=127.0.0.1, lip=127.0.0.1, TLS > > However, when I

Re: [Dovecot] INBOX. namespace

2010-03-27 Thread Brian Candler
On Sat, Mar 27, 2010 at 03:54:48AM +0200, Timo Sirainen wrote: > > but when I do 'examine inbox' I see it has been munged: > .. > > 30362 imap NAMI > > "/mail/0/6/37/30/briandev.example.comev.example.com/tmp" > > Oh. This should fix it: > http://hg.dovecot.org/dovecot-1.2/rev/0cf38dcd8ced

Re: [Dovecot] INBOX. namespace

2010-03-26 Thread Brian Candler
On Fri, Mar 26, 2010 at 02:45:40PM +0200, Timo Sirainen wrote: > > After this the inbox appears to be empty, and I cannot select the junk > > folder at all: > > Something's seriously wrong. Just changing namespace prefix shouldn't do > anything like that. (And since I haven't heard of horror stori

[Dovecot] INBOX. namespace

2010-03-26 Thread Brian Candler
I am trying to configure dovecot-1.2.11 to have the same IMAP namespacing as courier-imap as per http://wiki.dovecot.org/Migration/Courier, but failing badly. I have a test maildir with INBOX and folder 'junk'. Without fiddling with namespaces, this works fine: there are 91 msgs in INBOX and 2 in

Re: [Dovecot] NFS issues

2010-03-25 Thread Brian Candler
On Thu, Mar 25, 2010 at 05:25:53PM +0200, Timo Sirainen wrote: > Are you using ext4 on the Linux NFS server? Yes: /dev/sda1 on / type ext4 (rw,errors=remount-ro) > Nano/microsecond resolution timestamps fix the worst caching problems. I can't see whether that's true through stat mtime though.

Re: [Dovecot] NFS issues

2010-03-25 Thread Brian Candler
On Thu, Mar 25, 2010 at 04:31:56PM +0200, Timo Sirainen wrote: > > Mar 25 10:22:23 freebsd-dev dovecot: IMAP(br...@dev.example.com): Our > > dotlock file /mail/0/6/37/30/brian%dev.example.com/dovecot-uidlist.lock was > > overridden (locked 0 secs ago, touched 0 secs ago) > > Wonder if dotlock_us

Re: [Dovecot] NFS issues

2010-03-25 Thread Brian Candler
On Tue, Mar 23, 2010 at 03:19:49PM +0200, Timo Sirainen wrote: > > I have done some small-scale testing and it looks fine. > > Stress testing by running imaptest for same user's same mailbox in 2+ > different servers (i.e. two NFS clients reading/writing same mailbox files) > should show up quic

Re: [Dovecot] can Dovecot do VERP?

2010-03-25 Thread Brian Candler
On Thu, Mar 25, 2010 at 06:40:22AM -0700, Rick Graves wrote: > How do I set this up in the IMAP server to accept emails to addresses > matching the wildcard pattern? Normally incoming mail doesn't arrive via IMAP; it arrives via SMTP. So you'd configure an SMTP server (e.g. exim) to accept incom

[Dovecot] NFS issues [was: Dovecot-1.2 + Sieve + Managesieve on Debian]

2010-03-23 Thread Brian Candler
On Tue, Mar 23, 2010 at 05:42:02AM -0400, Charles Marcus wrote: > On 2010-03-22 9:31 PM, Stan Hoeppner wrote: > > Dovecot has built in locking support for NFS storage. > > But it has always been problematic, according to Timo. Have you got any references on this, apart from http://wiki.dovecot.or

Re: [Dovecot] Triggering mailbox fetch

2010-03-19 Thread Brian Candler
On Fri, Mar 19, 2010 at 06:15:20PM +0200, Timo Sirainen wrote: > > In courier-imap I could create a '.loginexec' file which is executed when > > the user logs in, and gets deleted if it completes successfully. I'm trying > > to find something similar for Dovecot. > > How about: http://wiki.doveco

[Dovecot] Triggering mailbox fetch

2010-03-19 Thread Brian Candler
Greetings, I would like to migrate mailboxes into a Dovecot system by using an IMAP transfer from the old system - and I'd like this to take place automatically at the time the user first logs into the new system. I have a script which will perform an IMAP fetch and dump it into the local maildir