Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread Shane Chrisp

> I had to disable that since some of the people with no quota set were
> getting errors saying user is over quota and bounced messages. Any
> suggestions on that?
>
> remo


Did you have this option set?

plugin {
  quota = maildir
}

All of my users have a quota set so I will have to try taking a quota off
someone to see what happens for me.


> Shane Chrisp wrote:
>> On Fri, 2007-12-21 at 15:08 +0900, Shane Chrisp wrote:
>>
>> Additionally if you want to run the check_quota plugin in squirrelmail
>> you will need to have
>>
>> protocol imap {
>> ...
>> mail_plugins = imap_quota quota
>>
>> in your dovecot.conf
>>
>> Shane
>>
>>> On Fri, 2007-12-21 at 01:02 -0500, Jeff Koch wrote:
 Shane - where do you set the IMAP server option?
>>> Run the config/conf.pl and choose option 2 (Server Settings)
>>> then option 8 (server software).
>>>
>>> Also if you plan on moving to a native dovecot style system, you need
>>> to
>>> get rid of the fullstops from the front of the .Sent, .Trash
>>> directories
>>> etc in squirrelmail I just found out.
>>>
>>> Shane
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>
> 
>
>


Shane Chrisp
2000 Computers & Networks Pty Ltd
Suite 6, 49 Hay St,
Subiaco, W.A. 6008,  Australia.
P +618 9382 1399 F +618 9382 1720


!DSPAM:476b6293310541737210824!



Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread Remo Mattei
I had to disable that since some of the people with no quota set were
getting errors saying user is over quota and bounced messages. Any
suggestions on that?

remo

Shane Chrisp wrote:
> On Fri, 2007-12-21 at 15:08 +0900, Shane Chrisp wrote:
> 
> Additionally if you want to run the check_quota plugin in squirrelmail
> you will need to have
> 
> protocol imap {
> ...
> mail_plugins = imap_quota quota
> 
> in your dovecot.conf
> 
> Shane
> 
>> On Fri, 2007-12-21 at 01:02 -0500, Jeff Koch wrote:
>>> Shane - where do you set the IMAP server option?
>> Run the config/conf.pl and choose option 2 (Server Settings)
>> then option 8 (server software).
>>
>> Also if you plan on moving to a native dovecot style system, you need to
>> get rid of the fullstops from the front of the .Sent, .Trash directories
>> etc in squirrelmail I just found out.
>>
>> Shane
>>
>>
>>
>>
> 
> 
> 
> 
> 
> 
> 

!DSPAM:476b5f9f310547010914441!



Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread Shane Chrisp
On Fri, 2007-12-21 at 15:08 +0900, Shane Chrisp wrote:

Additionally if you want to run the check_quota plugin in squirrelmail
you will need to have

protocol imap {
...
mail_plugins = imap_quota quota

in your dovecot.conf

Shane

> On Fri, 2007-12-21 at 01:02 -0500, Jeff Koch wrote:
> > Shane - where do you set the IMAP server option?
> 
> Run the config/conf.pl and choose option 2 (Server Settings)
> then option 8 (server software).
> 
> Also if you plan on moving to a native dovecot style system, you need to
> get rid of the fullstops from the front of the .Sent, .Trash directories
> etc in squirrelmail I just found out.
> 
> Shane
> 
> 
> 
> 


!DSPAM:476b5e6f310541153215773!



Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread Shane Chrisp

On Fri, 2007-12-21 at 01:02 -0500, Jeff Koch wrote:
> Shane - where do you set the IMAP server option?

Run the config/conf.pl and choose option 2 (Server Settings)
then option 8 (server software).

Also if you plan on moving to a native dovecot style system, you need to
get rid of the fullstops from the front of the .Sent, .Trash directories
etc in squirrelmail I just found out.

Shane


!DSPAM:476b5858310543373816791!



Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread Jeff Koch


Shane - where do you set the IMAP server option?

At 12:03 AM 12/21/2007, you wrote:


On Thu, 2007-12-20 at 20:19 +0800, Christopher Chan wrote:
> [EMAIL PROTECTED] wrote:
> >> [EMAIL PROTECTED] wrote:
> >>> Hi,
> >>>
> >>>
> >>> Inspired by you discussion I moved from Courier to Dovecot yesterday.
> >>> All took some 30 minutes and now it os waroking like a charm.
> >>>
> >> That is good.
> >
> > First advantage I noticed is that login failure take less time. With 
courier it took some 15-2- seconds before it said access denied. Now it 
is immediate.

> >
>
> Say...did you have to apply a vpopmail patch?

I did apply the patch by hand, but its not really needed.

I must say that im totally impressed by the speed improvement on large
Maildirs.

Also for those moving from Bills toaster, you will also want to change
the Imap server option to Dovecot and also set the Default Folder Prefix
to none in squirrelmail.

Shane





Best Regards,

Jeff Koch, Intersessions 



!DSPAM:476b5704310541915119535!



Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread Christopher Chan

Shane Chrisp wrote:

On Thu, 2007-12-20 at 20:19 +0800, Christopher Chan wrote:

[EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:

Hi,


Inspired by you discussion I moved from Courier to Dovecot yesterday.
All took some 30 minutes and now it os waroking like a charm.


That is good.

First advantage I noticed is that login failure take less time. With courier it 
took some 15-2- seconds before it said access denied. Now it is immediate.


Say...did you have to apply a vpopmail patch?


I did apply the patch by hand, but its not really needed.


Yeah, from what I gather, dovecot sasl in 1.x will do just fine for me.



I must say that im totally impressed by the speed improvement on large
Maildirs.


Hmm...maybe I should upgrade my dovecot installation.

!DSPAM:476b4e74310543555812734!



Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread Shane Chrisp

On Thu, 2007-12-20 at 20:19 +0800, Christopher Chan wrote:
> [EMAIL PROTECTED] wrote:
> >> [EMAIL PROTECTED] wrote:
> >>> Hi,
> >>>
> >>>
> >>> Inspired by you discussion I moved from Courier to Dovecot yesterday.
> >>> All took some 30 minutes and now it os waroking like a charm.
> >>>
> >> That is good.
> > 
> > First advantage I noticed is that login failure take less time. With 
> > courier it took some 15-2- seconds before it said access denied. Now it is 
> > immediate.
> > 
> 
> Say...did you have to apply a vpopmail patch?

I did apply the patch by hand, but its not really needed.

I must say that im totally impressed by the speed improvement on large
Maildirs.

Also for those moving from Bills toaster, you will also want to change
the Imap server option to Dovecot and also set the Default Folder Prefix
to none in squirrelmail.

Shane


!DSPAM:476b4932310542059814447!



Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread Ed McLain
The patch simply alters Dovecot to set the TCPLOCALPORT environment variable 
which vpopmail uses to identify if a password auth is coming from IMAP, POP3, 
or Webmail (basically imap on 127.0.0.1).  That's all it does.  I needed to 
have the ability to lock down users to say using imap only or pop3 only and 
while it Courier does this by default, Dovecot simply doesn't and vpopmail 
thinks everything is coming in via pop3, if I'm remembering correctly, without 
it.  It is not required, just thought I'd throw it out there in case somebody 
else needed it.

--
Ed McLain



From: Christopher Chan <[EMAIL PROTECTED]>
Reply-To: 
Date: Thu, 20 Dec 2007 03:14:04 -0600
To: 
Conversation: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?
Subject: Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

Ed McLain wrote:
> The answer is a bit of yes and no.  The code is there but Dovecot doesn't by 
> default set the TCPLOCALPORT setting which is what allows vpopmail to limit 
> users to webmail, pop3, or imap access.  I've written a patch to add that and 
> it is attached to this email.  As an FYI, my configure string for Dovecot 
> with vpopmail is as follows and the CFLAGS pass to configure is required to 
> enable roaming users support:
>
> cd /dovecot/build/path/
> patch -p1 < dovecot-vpopmail.patch
> ./configure --with-pop3d --with-vpopmail --prefix=/opt/dovecot 
> --with-ssl=openssl --without-passwd --without-passwd-file --without-shadow 
> --without-static-userdb CFLAGS="-DHAVE_VPOPMAIL_OPEN_SMTP_RELAY"


What is that vpopmail patch? dovecot already supports vpopmail since
0.99 which is what comes with RHEL4/Centos4.





!DSPAM:476a9b6a310541480014625!



Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread Christopher Chan

[EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:

Hi,


Inspired by you discussion I moved from Courier to Dovecot yesterday.
All took some 30 minutes and now it os waroking like a charm.


That is good.


First advantage I noticed is that login failure take less time. With courier it 
took some 15-2- seconds before it said access denied. Now it is immediate.



Say...did you have to apply a vpopmail patch?

!DSPAM:476a5dc7310544721810741!



Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread office
> [EMAIL PROTECTED] wrote:
>> Hi,
>> 
>> 
>> Inspired by you discussion I moved from Courier to Dovecot yesterday.
>> All took some 30 minutes and now it os waroking like a charm.
>> 
> 
> That is good.

First advantage I noticed is that login failure take less time. With courier it 
took some 15-2- seconds before it said access denied. Now it is immediate.

MS


!DSPAM:476a516e310541228917704!



Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread Christopher Chan

[EMAIL PROTECTED] wrote:

Hi,

Inspired by you discussion I moved from Courier to Dovecot yesterday. All took 
some 30 minutes and now it os waroking like a charm.


That is good.



So far customers are not complaining :) I got some 60-70 domains and some 4k 
accounts.


What luck.



Just follow Dovecot Wiki :)


and do it on a test/staging box first.

!DSPAM:476a3f5c310541700068068!



Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread office
Hi,

Inspired by you discussion I moved from Courier to Dovecot yesterday. All took 
some 30 minutes and now it os waroking like a charm.

So far customers are not complaining :) I got some 60-70 domains and some 4k 
accounts.

Just follow Dovecot Wiki :)


!DSPAM:476a36ac310547217719149!



Re: [vchkpw] [OT] IMAP Servers: Dovecot or Binc?

2007-12-20 Thread Christopher Chan

Ed McLain wrote:

The answer is a bit of yes and no.  The code is there but Dovecot doesn't by 
default set the TCPLOCALPORT setting which is what allows vpopmail to limit 
users to webmail, pop3, or imap access.  I've written a patch to add that and 
it is attached to this email.  As an FYI, my configure string for Dovecot with 
vpopmail is as follows and the CFLAGS pass to configure is required to enable 
roaming users support:

cd /dovecot/build/path/
patch -p1 < dovecot-vpopmail.patch
./configure --with-pop3d --with-vpopmail --prefix=/opt/dovecot --with-ssl=openssl 
--without-passwd --without-passwd-file --without-shadow --without-static-userdb 
CFLAGS="-DHAVE_VPOPMAIL_OPEN_SMTP_RELAY"



What is that vpopmail patch? dovecot already supports vpopmail since 
0.99 which is what comes with RHEL4/Centos4.


!DSPAM:476a3263310541393811953!