Re: [courier-users] how to slow down reception and speed up deliveries?
Brought to you by:
mrsam
From: Sam V. <mr...@co...> - 2009-02-14 18:19:04
|
Ricardo Kleemann writes: > I increased the number of delivery threads in /etc/courier/module.esmtp. > However I don't really see that taking much effect. > > In /etc/courier/esmtpd I have MAXDAEMONS=20 > > Here's some more info: > > Feb 14 09:30:23 server1 courierd: Started ./courierlocal, pid=8167, > maxdels=30, maxhost=4, maxrcpt=1 > Feb 14 09:30:23 server1 courierd: Started ./courieresmtp, pid=8171, > maxdels=100, maxhost=4, maxrcpt=10 > > I'm using an older version of courier, 0.55 > > However it's working through the queue too slowly, it had 20,000 yesterday > and today 24,000 in the queue. > > How can I ensure that courier works more efficiently through the mailq? > I'd like to increase the priority of deliveries and decrease for > reception. Incoming and outgoing mail are handled completely separately. Nothing to do with each other. You need to do some basic analysis. If most of your stuck mail is to one or two domains, you can use the backup MX feature to have Courier automatically forward delayed mail to another host. Otherwise, you need to understand why your mail queue is piling up. If you have insufficient outbound bandwidth, no amount of fiddling is going to change that. If you have a small number of large domains that are not accepting mail, see above. |