Re: Re[2]: Clustering mail servers - Cyrus or Courier ?

2001-08-17 Thread Tommi Virtanen

"Kevin J. Menard, Jr." <[EMAIL PROTECTED]> writes:

> >> However, AFAIK it can be done only with Cyrus with its IMAP Aggregator, or
> >> with qmail-ldap + Courier-IMAP...
> JW> You ought to check out Scalemail, which is being developed expressly for
> JW> this purpose. It is a combination of Courier POP/IMAP and postfix. Very
> JW> powerful combo.
> Is there any plans to offer a version with Cyrus IMAPd?  There's a fair
> number of us that like this better than Courier, so I think it would be a
> nice suggestion :)  Btw, anyone know if the Cyrus IMAPd maintainer plans on
> maintaining the package anymore?  It is seriously out of date, and he hasn't
> responded to a bug report filed about it being such.

(BTW, Scalemail is at http://scalemail.sf.net/)

Cyrus is not likely to get supported (by me); I dislike black
box storage methods.

-- 
tv@{{hq.yok.utu,havoc,gaeshido}.fi,{debian,wanderer}.org,stonesoft.com}
double a,b=4,c;main(){for(;++a<2e6;c-=(b=-b)/a++);printf("%f\n",c);}


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Clustering mail servers - Cyrus or Courier ?

2001-08-17 Thread Tommi Virtanen

Przemyslaw Wegrzyn <[EMAIL PROTECTED]> writes:

> On Mon, 6 Aug 2001, Jeff Waugh wrote:
> > You ought to check out Scalemail, which is being developed expressly for
> > this purpose. It is a combination of Courier POP/IMAP and postfix. Very
> > powerful combo.
> Hmmm, I can see it's in early stage of developement.

The only thing really missing is the Courier-IMAP login
mechanism. And I think I got it done, just haven't had time to
plug it in and test it. After that, it's all bug fixes and
refactoring code to be prettier. The thing delivers to
maildirs already.

-- 
tv@{{hq.yok.utu,havoc,gaeshido}.fi,{debian,wanderer}.org,stonesoft.com}
double a,b=4,c;main(){for(;++a<2e6;c-=(b=-b)/a++);printf("%f\n",c);}


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Clustering mail servers - Cyrus or Courier ?

2001-08-13 Thread Przemyslaw Wegrzyn



On Sat, 11 Aug 2001, Russell Coker wrote:

> On Sun, 5 Aug 2001 16:10, Przemyslaw Wegrzyn wrote:
> > I'm looking for good solution for big, scalabale mailserver installation,
> > for 500,000 accounts and more...
> >
> > As for now I think:
> >  - sharng NFS-mounted mail storage is not so good idea.
> 
> Why not?  If you use Maildir storage then it's NFS safe.  If you use a NetAPP 
> Filer, a VA NAS device (or any machine running 2.2.x kernel with LVM, Ext3, 
> and appropriate NFS kernel-server patches as the VA NAS devices did), or some 
> similarly powerful NFS server then performance should be more than adequate.

Hmmm, I'm really afraid about NFS, I've heared that Linux NFS
implementation is broken, many times. Can anyone explain it a bit ?

 
> For Ext3 you need to keep the number of entries in a directory down to <1000 
> for best performance, but most users don't have that many messages in their 
> mail folder.  So you just have to do suitable directory hashing to make sure 
> you don't have too many users in a directory (all mail storage software has 
> support for this).

Yeah, I do such hushing on every bigger mailserver, it's a common
solution.

Currently I'm testing qmail-ldap + maildrop + Courier-IMAP. 
Works well, but it's not HA solution :|
 
> Then you can have multiple mail servers running at the same time for 
> increased reliability.  This is much better than the Perdition approach of 
> increasing the number of points of failure.  Having an NFS file server as a 
> single point of failure is as good as it gets, making an NFS file server 
> reliable is much easier than making a mail server reliable...

Running multiple mail servers over NFS will actually makie it HA-like
system. But is it good solution for high load ? 
Using perdition-like solution to split mailspool between separate NFS
servers, and using multiple mailservers for each NFS backend would
probably build good scalable solution.

-=Czaj-nick=-
 


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Clustering mail servers - Cyrus or Courier ?

2001-08-06 Thread Przemyslaw Wegrzyn



On Tue, 7 Aug 2001, Jeff Waugh wrote:

> 
> 
> > LMTP would be the best if talking about Cyrus).
> > It should support LDAP database.
> 
> Postfix supports both of these. It is an *awesome* MTA.
> 
You've surprised me a little. I was always thinking postfix is just
another MTA, nothing more...

-=Czaj-nick=-



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Clustering mail servers - Cyrus or Courier ?

2001-08-06 Thread Charl Matthee

On Mon, Aug 06, 2001 at 06:03:51PM +0200, Przemyslaw Wegrzyn wrote:

> Yeah, I've looked at their web page, software looks well. 
> Can you tell anything about its design ?

It is proprietary. What exactly do you want to know?


Ciao

Charl
__

My opinions may have changed, but not the fact that I am right.
__

  [ Charl Matthee ] [ +27-11-721-3800 ]
  [ Reality Manufacturing ] [ +27-11-405-6508 ]
__


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Clustering mail servers - Cyrus or Courier ?

2001-08-06 Thread Jeff Waugh



> LMTP would be the best if talking about Cyrus).
> It should support LDAP database.

Postfix supports both of these. It is an *awesome* MTA.

- Jeff

-- 
   I must be getting old... Buying toothpaste with gel in it is no longer   
   an Absolute Necessity.   


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re[2]: Clustering mail servers - Cyrus or Courier ?

2001-08-06 Thread Kevin J. Menard, Jr.

Hey Przemyslaw,


Monday, August 06, 2001, 11:59:53 AM, you wrote:


PW> Hmmm, I can see it's in early stage of developement.
PW> Does postfix support ldap nativly ?

Yeap (not sure going how far back though).  And you can set up SASL to do
SMTP AUTH via LDAP with postfix as well.


-- 
 Kevin


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Clustering mail servers - Cyrus or Courier ?

2001-08-06 Thread Jeff Waugh



> Hmmm, I can see it's in early stage of developement.

Yes. :)

> Does postfix support ldap nativly ?

Absolutely!

- Jeff

-- 
  Is Murphy's Law constitutional?   


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Clustering mail servers - Cyrus or Courier ?

2001-08-06 Thread Przemyslaw Wegrzyn



On Mon, 6 Aug 2001, Charl Matthee wrote:

> If you are willing to spend the money I can recommend you use CommuniGate
> Pro (Stalker Software, www.stalker.com). It is a fast and very scalable
> mail server (It does SMTP, POP3, IMAP, etc.).
> 
> We run a free webmail sevice and our original application was homegrown.
> We ran into some scalability issues (becuase the software was never meant
> to cope with 10+ users). CommuniGate Pro is the answer for us.

Yeah, I've looked at their web page, software looks well. 
Can you tell anything about its design ?

-=Czaj-nick=-


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Clustering mail servers - Cyrus or Courier ?

2001-08-06 Thread Przemyslaw Wegrzyn



On Mon, 6 Aug 2001, Kevin J. Menard, Jr. wrote:

> Hey Przemyslaw,
> 
> 
> Sunday, August 05, 2001, 10:10:13 AM, you wrote:
> 
> 
> PW> However, AFAIK it can be done only with Cyrus with its IMAP Aggregator, or
> PW> with qmail-ldap + Courier-IMAP...
> 
> Perdition (http://www.ca.us.vergenet.net/linux/perdition/) should allow you
> to do the same thing as Cyrus murder, on other mail systems.

Yes, it's a good thing. However, yet I need some mailer that's capable to
work as frontend, receiving mails and forwarding to the right backend
server ( LMTP would be the best if talking about Cyrus).
It should support LDAP database. Currently I done it with qmail-ldap +
Courier, but I'm not fully satisified. It reqiured custom patching, and
still it's a little experimental. I'm afraid it's not reliable enough for
production site.

-=Czaj-nick=-




--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Clustering mail servers - Cyrus or Courier ?

2001-08-06 Thread Przemyslaw Wegrzyn



On Mon, 6 Aug 2001, Jeff Waugh wrote:

> 
> 
> > However, AFAIK it can be done only with Cyrus with its IMAP Aggregator, or
> > with qmail-ldap + Courier-IMAP...
> 
> You ought to check out Scalemail, which is being developed expressly for
> this purpose. It is a combination of Courier POP/IMAP and postfix. Very
> powerful combo.

Hmmm, I can see it's in early stage of developement.
Does postfix support ldap nativly ?

-=Czaj-nick=-



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re[2]: Clustering mail servers - Cyrus or Courier ?

2001-08-06 Thread Kevin J. Menard, Jr.

Hey Jeff,


Monday, August 06, 2001, 6:32:47 AM, you wrote:

JW> 

>> However, AFAIK it can be done only with Cyrus with its IMAP Aggregator, or
>> with qmail-ldap + Courier-IMAP...

JW> You ought to check out Scalemail, which is being developed expressly for
JW> this purpose. It is a combination of Courier POP/IMAP and postfix. Very
JW> powerful combo.

JW> - Jeff

Is there any plans to offer a version with Cyrus IMAPd?  There's a fair
number of us that like this better than Courier, so I think it would be a
nice suggestion :)  Btw, anyone know if the Cyrus IMAPd maintainer plans on
maintaining the package anymore?  It is seriously out of date, and he hasn't
responded to a bug report filed about it being such.


-- 
 Kevin


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Clustering mail servers - Cyrus or Courier ?

2001-08-06 Thread Kevin J. Menard, Jr.

Hey Przemyslaw,


Sunday, August 05, 2001, 10:10:13 AM, you wrote:


PW> However, AFAIK it can be done only with Cyrus with its IMAP Aggregator, or
PW> with qmail-ldap + Courier-IMAP...

Perdition (http://www.ca.us.vergenet.net/linux/perdition/) should allow you
to do the same thing as Cyrus murder, on other mail systems.

-- 
 Kevin


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Clustering mail servers - Cyrus or Courier ?

2001-08-06 Thread Jeff Waugh



> However, AFAIK it can be done only with Cyrus with its IMAP Aggregator, or
> with qmail-ldap + Courier-IMAP...

You ought to check out Scalemail, which is being developed expressly for
this purpose. It is a combination of Courier POP/IMAP and postfix. Very
powerful combo.

- Jeff

-- 
 "Funny, I have no trouble distinguishing my mobile phone from the  
   others because it's in my _own fucking pocket_!" - Mobile Rage   


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Clustering mail servers - Cyrus or Courier ?

2001-08-06 Thread Roger Abrahamsson

On Mon, 6 Aug 2001, Charl Matthee wrote:

> On Sun, Aug 05, 2001 at 04:10:13PM +0200, Przemyslaw Wegrzyn wrote:
>  
> > I'm looking for good solution for big, scalabale mailserver installation,
> > for 500,000 accounts and more... 
> > 
> > As for now I think:
> >  - sharng NFS-mounted mail storage is not so good idea.
> >  - scaling can be done by partitioning mail storage between servers (with 
> > a little less avialabilty risk).
> > 

Sharing over NFS I would not be too spooked about, all depends more on how
the NFS shares are mounted, and what directory structure you've chosen.
I'm currently testing a new system here, Postfix as SMTP server, and
Courier as IMAP/POP server.. Both authenticate and do lookups through
MySQL, and accesstimes are quite good. With 100k accounts and about 100
mail in the maildir, login times were about 0.6 secs for pop3/imap. With
this setup you also get the benefit of no real user accounts for the
email, all is run as one single user/group. Postfix supports several
different MySQL servers also, so you can set up replication between a
couple of MySQL-servers and then add those to Postfix. Havent checked
Couriers support for that though.

One important thing, really try to distribute your accounts in a manner so
you dont get more than say a thousand accounts in each directory. Ext2 as
a filesystem has it's limitations, but I prefer that for now, as I know
it's well tested and reliable.

For me if I have a user called foobaren and one called fooenbar
they go in 
/var/spool/mail/foo/bar/foobaren/
/var/spool/mail/foo/enb/fooenbar/

The quota is the problem in this setup. Courier supports maildirquota, but
not verified yet if Postfix does. Possibly you could solve that by using
maildrop as delivery agent.

Regards
Roger A

-
Roger Abrahamsson, Sys/Net Admin, Obbit AB
Phone: (+46)(0)90 133310Fax:(+46)(0)90 133370
-


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Clustering mail servers - Cyrus or Courier ?

2001-08-05 Thread Przemyslaw Wegrzyn


I'm looking for good solution for big, scalabale mailserver installation,
for 500,000 accounts and more... 

As for now I think:
 - sharng NFS-mounted mail storage is not so good idea.
 - scaling can be done by partitioning mail storage between servers (with 
a little less avialabilty risk).

However, AFAIK it can be done only with Cyrus with its IMAP Aggregator, or
with qmail-ldap + Courier-IMAP...

I started doing such installation with Courier-IMAP + qmail-ldap, and it's
nice, expect one thing - quota support. I need _reliable_ quota system..

Tis forced me to look at Cyrus, with its good quoa support, however, I
have no experience with Cyrus.

Would you give some advices ? Any comparision benchmarks ?

Greetings
-=Czaj-nick=-



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]