Dear Clive,

Scott Heisler wrote:

We use an open protect e-mail server as the gate for our e-mail. Inside, we
use product called Mdaemon. It's been in place for many years and provides
good internal as well as external e-mail for us. Anyway, the reason I'm
writing this is because the openprotect server keeps re-sending the same
message to a specific couple of users, over and over. I ran a fsck on the
volume and there were no errors and it keeps sending it. To give you an
idea, there are 80,000 copies of the same message on our Mdaemon server,
just for one of the users. I cleared it all out once before on Wednesday
night... so those 80,000 copies came in on Wed night. Today, I've gone
through and hopefully cleared the Queued e-mail as well... but how do I
avoid this from happening in the future.


HELP!

Thanks
Scott



Which MTA - I'm seeing this occasionally with qmail - I don't think the openprotect filename algorithm is correct - it does not follow the DJB way - but I can't prove it yet :-)


Well, qmail uses the inode number of the queue file as the name of the queue file itself to ensure that the queue files never overlap each other.


But, OpenProtect cannot use this technique, as the queue file is moved around, thereby freeing the inode, but the older queue file's name is still the same, thereby leading to collision. So, a random number is generated and used as the file name. The random number is 8 digits, so max of 10^8 mails can stay on the queue simultaneously and even if the new number is already used, it'll give out an error and retry again.

So, the file name algorithm may be a little slower than qmail's own, but compared to the virus and spam scanning part, this is pretty insignificant.

cheers,
Karthikeyan, S.
--
S.Karthikeyan | Ph: +91 (0) 44 52166646 Fax: +91 (0) 44 52079957
Opencomputing Technologies | http://opencompt.com
Server Side E-Mail Protection.


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Opencomputing-openprotect mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opencomputing-openprotect

Reply via email to