High availability email server...

2006-07-27 Thread Chad A. Prey
OK...I'm searching for strategies to have a realtime email backup in
the event of backend failure. We've been running cyrus-imap for about a
year and a half with incredible success. Our failures have all been due
to using junky storage.

One idea is to have a continuous rsync of the cyrus /var/spool/imap
and /var/lib/imap to another server

I've also considered delivering email to two discreet email backends and
keeping the /var/lib/imap file sync'd . I don't think I can use murder
to do this.

Is anyone out there using RHEL in a cluster that would like to share
their architecture? Any contractors out there that want to get paid to
help us implement?

Chad P.
[EMAIL PROTECTED]
Salk Institute for Biological Studies


-- 


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


architecture: active active frontends sharing common backend

2006-04-05 Thread Chad A. Prey
We're about to embark on a High Availability email project and I was
wondering as to the feasibility of having multiple cyrus frontend
machines access a single backend machine (Veritas, Netapp filer,
whatever it takes etc.) The n+ front-end machines would all share
a /var/lib/imap and a /var/spool/imap on the single backend machine. DB
locking and other contingency issues would be left to the backend device
whatever that may be. A load balancer would be placed in front of the
cyrus boxes to handle failover etc.

Does this work? Is anyone doing it now? Am I going about this all wrong?

Please don't tell me about Murder, it's not for HA as much as it
distributes load.

Chad Prey
Sr. Systems Administrator
Salk Institute for Biological Studies
 
-- 


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: pop3 connection timeout lock problem

2006-03-28 Thread Chad A. Prey
You may also be running out of randomness...

thymine # cat /proc/sys/kernel/random/entropy_avail
4096

If this number is zero or very low...that could be your
problem. /dev/random blocks if there's not enough
randomness.../dev/urandom does not.

a shot in the dark...

Chad P.

-- 


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


interpreting log messages (duplicate_suppression)

2006-03-22 Thread Chad A. Prey
I've been experiencing some issues with disappearing email which I
attribute to cyrus duplicate suppression. We found some corresponding
log entries for the emails...does anyone know what the numbers
1142299048  18748  1142299050 and the 0 actually mean?


Mar 13 17:17:30 thymine lmtpunix[1964]: duplicate_mark: B62595F8-
[EMAIL PROTECTED] user.coyne   1142299048
18748
Mar 13 17:17:30 thymine lmtpunix[1964]: mystore: starting txn 2150126845
Mar 13 17:17:30 thymine lmtpunix[1964]: mystore: committing txn
2150126845
Mar 13 17:17:30 thymine lmtpunix[1964]: duplicate_mark: B62595F8-
[EMAIL PROTECTED] [EMAIL PROTECTED]  1142299050 0


Chad Prey
[EMAIL PROTECTED]
-- 


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


lmtpunix duplicate suppression

2006-03-21 Thread Chad A. Prey
Happy Tuesday,

We seem to be experiencing some issues with lmptunix marking messages
that aren't duplicates as duplicates. What would cause this issue? How
would one disable duplicate suppression features in cyrus? Would that be
a wise approach?


Mar 14 17:02:19 cytosine lmtpunix[13729]: duplicate_mark: 4ous0s
[EMAIL PROTECTED] user.koczak  1142384537 3568
Mar 14 17:02:19 cytosine lmtpunix[13729]: mystore: starting txn
2151337231
Mar 14 17:02:19 cytosine lmtpunix[13729]: mystore: committing txn
2151337231

Any assistance would be greatly appreciated.

Chad Prey
[EMAIL PROTECTED]

-- 


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


cyrus email server in HA SAN configuration

2006-02-02 Thread Chad A. Prey
All,

I am about to realize my dream of having a cyrus email server with Fibre
Channel SAN storage. Could any of you out the that's got one of these
beasts RUNNING IN PRODUCTION tell me your setup and overall results?

I am thinking about starting off with two cyrus frontends, in an active
passive failover using drb. However, I would much rather use multiple
frontend boxes behind a load balancer in a n+ active active
configuration.

Chad Prey
-- 


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


reconstruct for folders after restore to new machine

2006-01-25 Thread Chad A. Prey
I am running cyrus-imap version 2.2.12 and have a question about
reconstruct. In attempting to reconstruct a users mailbox, reconstruct -
rf username successfully finds all the messages in the inbox but does
not find email in any subfolders. It does however list all the
subfolders but they appear to be empty until I get on the file system
and do an ls directly on the folder.

TIA

Chad Prey
-- 


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


lost emails in cyrus

2005-08-12 Thread Chad A. Prey
All,

I have reports of users missing email. In every case it appears that the
duplicate checker may be involved. Can anyone help to shed some light on
this problem?


Aug 12 11:31:13 cytosine lmtpunix[7888]: duplicate_check:
[EMAIL PROTECTED] user.mchu0
Aug 12 11:31:13 cytosine lmtpunix[8000]: duplicate_check:
[EMAIL PROTECTED] user.mchu.Junk   0
Aug 12 11:31:13 cytosine lmtpunix[7888]: mystore: starting txn
2147669265
Aug 12 11:31:13 cytosine lmtpunix[7888]: mystore: committing txn
2147669265
Aug 12 11:31:13 cytosine lmtpunix[7888]: duplicate_mark:
[EMAIL PROTECTED] user.mchu
1123871473 11187

Is the duplicate checker seeing 11187. as being a duplicate? What
exactly is lmtpunix telling me in the log?

-- 
 Chad A. Prey
Sr. Systems Administrator
Salk Institute for Biological Studies
cell - (858)967-1051
phone - (858) 453-4100 x 1930




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


cyrus-IMAP cluster

2005-01-10 Thread Chad A. Prey
I am wondering if any of you out there are running cyrus in a cluster?
If so, how did you do it? and how would you do it if you had to do it
all over again?

We are currently using cyrus with perdition which works fine, however,
ideally the situation would be that a user could connect to either IMAP
server though a load-balancer with the /var/spool/imap folders shared
between both machines on a Fibre channel disk array.

We only have 1200 users but they are heavy, abusive users. Our current
cyrus build is on WBEL (like RHEL) 2.4 kernel. I am especially keen to
hear from those that have actually done this.


-- 
 Chad A. Prey
Sr. Systems Administrator
Salk Institute for Biological Studies
cell - (858)967-1051
phone - (858) 453-4100 x 1930



---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


migrate mail from Gordano mail server

2004-09-07 Thread Chad A. Prey
We are currently running a mail server called Gordano which is no longer
sufficient for our needs and we're trying to migrate the mail from
Gordano to Cyrus-IMAP. 

We've written some perl scripts to handle putting the mail into Cyrus
IMAP compliant directories...it works great. Now we need a system to set
the state flags.

I don't expect anyone else to have experience with Gordano...I just need
to know what is in the state databases and what format so I can have a
perl script create them for me.

-- 
Chad A. Prey prey who is at salk.edu
Salk Institute

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html