[Dovecot] LMTP in 2.0: concurrency, inet sockets

2010-02-02 Thread Stefan Foerster
I didn't really have much time to look at the beta versions of dovecot 2.0 (apart from installing it once and migrating most of my current configuration, purely for testing purposes). An exciting new feature is the LMTP support. In the default configuration I have seen, that one only listened on a

Re: [Dovecot] Restore of individual mail files

2010-02-02 Thread CoolAtt NNA
Just create ".restore-inbox/cur" , ".restore-sent/cur" manually in /home/vmail/coolatt/Maildir/ and then copy the individual files in the above folders ?? Please make this clear for me. Am going to use it in a PROD environment soon. Also point out any important steps.Thanks. * CoolAtt

Re: [Dovecot] deny=yes in userdb

2010-02-02 Thread Frank Cusack
On February 2, 2010 10:05:47 PM +0100 Edgar Fuß wrote: nss authentication? BTW, you misspoke. nss doesn't authenticate.

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Timo Sirainen
On Tue, 2010-02-02 at 16:34 -0500, Frank Cusack wrote: > Yep, that seems to be the case. The target (disabled) user need not exist > in the userdb at all and dovecot/imap can still find their shared maildir. This depends on your settings. If you use ~/ in shared user's location, Dovecot needs to

Re: [Dovecot] deny=yes in userdb

2010-02-02 Thread Frank Cusack
On February 2, 2010 10:05:47 PM +0100 Edgar Fuß wrote: I would like deliver to reject certain users. Since supposedly deliver only uses userdb, not passwd, I can't use deny=yes for that. Or does userdb support deny=yes? According to the docs, it doesn't. So you'd have to remove them from the

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Frank Cusack
On February 2, 2010 10:54:10 PM +0200 Timo Sirainen wrote: Oh, right. LDA only looks up userdb. So when I access these disabled user's maildirs from another user's login, how is imap finding them? Simply by virtue of the acl_shared_dict and mail_location setting? Because moving them to my pa

Re: [Dovecot] dovecot and AFS

2010-02-02 Thread Per-Erik Persson
Frank Cusack skrev 2010-02-02 21:37: On February 2, 2010 9:06:45 PM +0100 Per-Erik Persson wrote: Scrolling thru the archives gives me a hint that there might be troubles with AFS together with dovecot and maildir especially the LDA Is this still an issue or should I prepare for spending time t

[Dovecot] deny=yes in userdb

2010-02-02 Thread Edgar Fuß
I would like deliver to reject certain users. Since supposedly deliver only uses userdb, not passwd, I can't use deny=yes for that. Or does userdb support deny=yes? Yes, I should rather reject them right in the MTA, but that currently takes too long to implement. Or how to reject gast* in postfi

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Timo Sirainen
On Tue, 2010-02-02 at 15:45 -0500, Frank Cusack wrote: > On February 2, 2010 6:56:31 PM +0200 Timo Sirainen wrote: > > passdb passwd-file { > > args = /etc/deny.%s > > deny = yes > > } > > This didn't work for me as I expected. Not only did I have to put the > user in the deny passdb, I ALSO

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Frank Cusack
On February 2, 2010 6:56:31 PM +0200 Timo Sirainen wrote: passdb passwd-file { args = /etc/deny.%s deny = yes } This didn't work for me as I expected. Not only did I have to put the user in the deny passdb, I ALSO had to remove them from the regular passdb. So it seems lda just ignores th

Re: [Dovecot] dovecot and AFS

2010-02-02 Thread Frank Cusack
On February 2, 2010 9:06:45 PM +0100 Per-Erik Persson wrote: Scrolling thru the archives gives me a hint that there might be troubles with AFS together with dovecot and maildir especially the LDA Is this still an issue or should I prepare for spending time to solve it? If someone successfully go

[Dovecot] dovecot and AFS

2010-02-02 Thread Per-Erik Persson
Scrolling thru the archives gives me a hint that there might be troubles with AFS together with dovecot and maildir especially the LDA Is this still an issue or should I prepare for spending time to solve it? If someone successfully got it to work in a small or large scale environment I would be

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Timo Sirainen
On Tue, 2010-02-02 at 14:51 -0500, Frank Cusack wrote: > Last question on deny userdb, I hope. > > Comments in dovecot.conf: > > # File contains a list of usernames, one per line > > Does that mean the deny passdb has a different format than other passdb's? No. You could still do something

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Frank Cusack
Last question on deny userdb, I hope. Comments in dovecot.conf: # File contains a list of usernames, one per line Does that mean the deny passdb has a different format than other passdb's? -frank

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Charles Marcus
On 2010-02-02 11:30 AM, Frank Cusack wrote: > On February 2, 2010 9:57:12 AM +0100 Steffen Kaiser > wrote: >> IMHO: >> If you want to avoid backscatter, you must disable the user in the >> MTA, in order to reject the message during "rcpt to" command or at >> least in DATA. > > I don't care about

Re: [Dovecot] Question about mbox_snarf and dovecot2.0

2010-02-02 Thread Timo Sirainen
On Tue, 2010-02-02 at 12:33 -0500, Jonathan Siegle wrote: > I verified that not using the mbox_snarf works just fine. I have no > namespaces enabled. The code contains: //FIXME:storage->set->mail_full_filesystem_access = TRUE; IIRC I couldn't figure out a nice and easy way to actually make th

[Dovecot] Question about mbox_snarf and dovecot2.0

2010-02-02 Thread Jonathan Siegle
Hello, I'm running revision 10622:de9d6dae7fe5 on AIX 5.3 with some local mods for our inbox hash function. I'm having a problem doing a "select inbox" when I use the mbox_snarf plugin. When I run truss on the process I see the following stat calls: 614528: kread(9, " 1 s e l e c t

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Frank Cusack
On February 2, 2010 6:56:31 PM +0200 Timo Sirainen wrote: You could do: passdb passwd-file { args = /etc/deny.%s deny = yes } duh, it's so obvious now. :) thanks!

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Timo Sirainen
On Tue, 2010-02-02 at 11:41 -0500, Frank Cusack wrote: > On February 2, 2010 1:29:24 PM +0200 Timo Sirainen wrote: > > Logins would fail with "internal login failure". userdb lookup must > > succeed for imap/pop3 logins too. You could make the deny=yes happen only > > if %s != 'lda'. > > A little

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Frank Cusack
On February 2, 2010 1:29:24 PM +0200 Timo Sirainen wrote: Logins would fail with "internal login failure". userdb lookup must succeed for imap/pop3 logins too. You could make the deny=yes happen only if %s != 'lda'. A little more help? I've been looking at the docs and can't figure out how to

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Frank Cusack
On February 2, 2010 9:57:12 AM +0100 Steffen Kaiser wrote: IMHO: If you want to avoid backscatter, you must disable the user in the MTA, in order to reject the message during "rcpt to" command or at least in DATA. I don't care about backscatter. There's no reason anyone should see significant

Re: [Dovecot] v2.0.beta2 released

2010-02-02 Thread Timo Sirainen
On Tue, 2010-02-02 at 13:38 +0100, Remi Gacogne wrote: > You could use SSL_CTX_set_options with SSL_OP_NO_SSLv2 if you want to > disable SSLv2. Thanks! Done. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] v2.0.beta2 released

2010-02-02 Thread Remi Gacogne
On Tue, 2 Feb 2010, Timo Sirainen wrote: Well, that sucks.. So if I use: - SSLv23_server_method() it'll accept SSLv2, SSLv3 and TLSv1 connections. - SSLv3_server_method() it won't accept TLSv1 connections. - TLSv1_server_method() it won't accept SSLv3 connections. I guess I'll go back to SSL

Re: [Dovecot] v2.0.beta2 released

2010-02-02 Thread Timo Sirainen
On Mon, 2010-02-01 at 17:47 +0100, Luca Corti wrote: > Evertithing seems fine but STARTTLS. Are any modifications needed in the > master inet_listeners? SSL works. > > Feb 1 17:42:12 test dovecot: imap-login: Disconnected (no auth > attempts): rip=1.2.3.4, lip=5.6.7.8, TLS handshaking: SSL_acce

Re: [Dovecot] Restore of individual mail files

2010-02-02 Thread Timo Sirainen
On 2.2.2010, at 11.18, CoolAtt NNA wrote: > How do i properly create a folder with its structures(index,etc) without > using the RoundCube web inteface ? Don't worry about it. Dovecot creates the missing files and directories.

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Timo Sirainen
On 2.2.2010, at 7.51, Frank Cusack wrote: > How can I disable mail delivery for a user yet still allow access to > their mailbox from another account which their mail is shared to? > > If I put them in a userdb which has "deny = yes" that just disables > their ability to login, yes? And they wou

[Dovecot] Restore of individual mail files

2010-02-02 Thread CoolAtt NNA
Hi. In order for restoration to work fine, I have to create a folder using the interface (e.g RounCube) which also creates the required structures. Then I copied the emailfile e.g xyz:s to /myrestoredemail/cur/ How do i properly create a folder with its structures(index,etc) without using the

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

2010-02-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 2 Feb 2010, CoolAtt NNA wrote: luigi, can you tell me what will happen if I create a directory in a user's mailbox and restore some emails there. now if the user's quota is x mb & after restoration the mailbox becomes greater than x mb. w

Re: [Dovecot] disabling mail delivery for a user

2010-02-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 2 Feb 2010, Frank Cusack wrote: If I put them in a userdb which has "deny = yes" that just disables their ability to login, yes? And they would still have mail delivered. I want to disable their ability to login AND bounce all mail deliver

Re: [Dovecot] LMTP-Server: missing headers

2010-02-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 1 Feb 2010, Timo Sirainen wrote: It's beginning to sound like I should add "lmtp_headers" setting where you could do all kinds of "interesting" things like: lmtp_headers = \ Return-Path: %f\n \ Envelope-To: %t\n \ X-Envelope-To: %t\n \