Συντάκτης: Edward Jakosalem Ημερομηνία: Προς: Exim-users Αντικείμενο: Re: [exim] MailScanner/Exim Long Queue Delay
On 3/23/07, Drav Sloan <holborn-exim@???> wrote: > Edward Jakosalem wrote:
> > Hi there,
> > This maybe a bit off topic but our of desperation, I am sending it anyway.
> > I have been searching in the MailScanner and Exim archives for a
> > solution to my problem. I have found some suggestions but none of them
> > worked. So here it is.
> > I have 3 incoming mail gateways hosting about 60K users in multiple
> > domains. Each process a max of 200K messages a day. For the last
> > months, these pesky spams have been pestering our servers causing long
> > delays in the delivery of emails. I have no choice but to free up the
> > queue using exim -q.
>
> If the messages are arriving in groups of recipients >10 then you may
> want to set smtp_accept_queue_per_connection to a higher value to allow
> more messages to be processed directly rather than queued on connections.
>
> Also do you run the exim process from inetd or in daemon mode? If from
> inetd, then make sure you also start seperate exim -q<time val> processes
> (such exim -q30m). If you run in daemon mode make sure you add the -q<time>
> option or again run seperate processes to handle queued mails in a timely
> fashion. The time you use for the q option you will have to tweak, too low
> and more queue runners will be started before the previous ones have completed
> and too high and the queue will continue to grow and not be processed.
>
> Regards
>
> Drav.
> Thanks for all your suggestions guys!
I'm running exim in daemon mode BTW. I followed all the suggestions
relevant to my setup and my server is performing better now. And most
importantly, I think I may have found the reason for my delays. I
wasn't paying attention to the log entry regarding the speed before
and when I finally checked, I discovered my server takes about 800
seconds to process 150 messages even when I'm already running a local
dns caching service.
My solution now is to run rbldns and cache a few blacklists locally.
And since SpamAssassin uses surbl, I will need to cache it locally as
well. Do you guys have any suggestions on which 4 (I'm planning on
only 4) RBLs to cache? And also which RBLs allow their data to be
cached somewhere else. I'm thinking of the following:
1. DSBL (already in effect on my server)
2. spamcop.net
3. spamhaus.org
4. sorbs.net
These 4 will be in my MailScanner.conf file. No need to include surbl
since SpamAssassin already uses it by default.
Do you know if spamcop, sorbs , and spamhaus allow local caching for
_free_? If not, can you suggest which RBLs allow local caching for
free.