only half of the problem solved -- cyrus deliver slow
Su Li
sli at rim.net
Tue Sep 17 20:01:00 EDT 2002
Thanks Larry,
I followed http://www.tldp.org/HOWTO/Cyrus-IMAP-7.html to setup my sendmail.
MAILER(local)
MAILER(cyrus)
define(`confLOCAL_MAILER',`cyrus')
LOCAL_RULE_0
R$=N $: $#local $: $1
R$=N < @ $=w . > $: $#local $: $1
Rbb + $+ < @ $=w . > $#cyrusbb $: $1
One thing I don't understand is how do I not use "deliver". Right now, when
the system is running, I got from ps -ef|grep deliver:
cyrus 23916 23915 0 19:50 ? 00:00:00 deliver -e -m --
loadtest4707
cyrus 23921 23920 1 19:50 ? 00:00:00 deliver -e -m --
loadtest1400
cyrus 23924 23923 0 19:50 ? 00:00:00 deliver -e -m --
loadtest1554
cyrus 23931 23930 0 19:50 ? 00:00:00 deliver -e -m --
loadtest651
cyrus 23934 23933 1 19:50 ? 00:00:00 deliver -e -m --
loadtest3352
cyrus 23939 23938 0 19:50 ? 00:00:00 deliver -e -m --
loadtest2848
cyrus 23943 23942 0 19:50 ? 00:00:00 deliver -e -m --
loadtest2943
Is that the "deliver" you mean? If yes, how do I diable it?
For "deliverymode=queue", I changed in /etc/sendmail.cf. After that when I
send mail, I can not get it, unless I restart sendmail. Any thing else I
should do?
Thanks,
Su
-----Original Message-----
From: Lawrence Greenfield [mailto:leg+ at andrew.cmu.edu]
Sent: September 17, 2002 3:36 PM
To: info-cyrus at lists.andrew.cmu.edu; Su Li
Subject: Re: only half of the problem solved -- cyrus deliver slow
What version of Sendmail are you using? You want Sendmail 8.12.4 or
later. You should consider running Sendmail in deliverymode=queue with
frequent queue runs if you want the best possible performance. (Take a
look sendmail/TUNING in the Sendmail distribution.)
You should also configure Sendmail as described in the Cyrus
documentation, using LMTP delivery to Cyrus. You don't want "deliver"
processes---it's a completely unnecessary fork.
There's an Addison Wesley book on "sendmail performance tuning" soon
to come out that might help you with this. I'm going to be receiving a
review copy and I'll report on it.
Larry
More information about the Info-cyrus
mailing list