[Exim] exim hangs on too many mails...

トップ ページ
このメッセージを削除
このメッセージに返信
著者: robert rotman
日付:  
To: exim-users
古いトピック: Re: [Re: [Exim] Message was delivered, but ..]
題目: [Exim] exim hangs on too many mails...
hello,

due to an script error of an user ton's of mails were sent to exim.
the mails had 100 or more recipients, so exim had to deliver at about
50.000 mails at once.

i have this in my "local_domains":
--------
localhost:mysql;select domain from mail where domain='$key'
--------

so exim had to send 50.000 select statements which are all the same
to the database.
(btw.: i read in the doc's that this queries schould be cached...
       but exim -d 9... show's that they are not...) 


even the paniclog says:
--------
lookup of "virtual.dom" in "mysql;select domain from mail where
domain='$key'" failed to complete
--------
what can i do to prevent such "attac's"?

even setting "smtp_accept_max_per_host = 1" could crash the machine
if you send a mails with 100 recipients each with one unreachable
recipient in the list.
then exim will leave these mails in the queue and if processing the queue
the limit of database- connection will be reached with any database.


i guess maybe there is a simple sollution, but a cant figure it out....


robert


---
di. robert rotman                                   inode.graz
phone -> ++43-(0)316 811451          ++43-(0)316 811451 <- fax
rotman@???                      http://www.graz.inode.at/
--
this letter was written on recycled bytes used by deleted mail.