[Mimedefang] Email resend

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Tue Dec 15 04:02:16 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 14 Dec 2009, Cliff Hayes wrote:

> The recommended 500M size killed my 2G server, so I'm using a 100M size now.

Hmm, I would not expect that for the reason Michiel explains. But it 
depends on how much RAM is free actually.

Maybe, you have lots of other processes allocating memory? I mean, when 
the server starts swapping with the normal load of messages, you should 
better not use a RAMdisk (or add more RAM).

> I still think that's too big ... seems to be using about 3% of it right now
> (df command).

Do you have left-over files from previous runs? There is the "-k" option 
to not purge the working directory in case of error.

> How do I size the thing?  I can't afford to waste memory (what's new).  But

Well, this is hard to answer. The RAMDisk limits the size of mails you can 
receive. The whole mail is storred there in temporary files. Then, when 
the message is processed, all MIME parts are unpacked, hence, you need 
twice as much.

So, half the size, divide by the number of MIMEDefang slots you have 
configured and you have the worst case maximum. Every message larger than 
this number may not get through (in worst case).
In best case, the maximal message size is the half of your RAMdisk.

> if I make it too small, won't mimedefang crash?

No, you would not receive larger emails, esp. when more than one arrives 
simultaneously. They are tempfailed.

Regards,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSydQm9lJzF6z/k3SAQIgDwgAtjh0UIf7DNvSvemBUK8FCfESq1/ZP6FQ
A6E6R3IYGbwWfWHCnCBSs4zcvBQ+OW/etmvh1rCHuMONtrYU8MEOKWJ6ZXfXyvVU
dFYc0Of6WHkWSdK7a1DT6P7F36kWDS2lMB5x0dE1fBbzr9GZshJMLaa3dRrfQJAk
tqAUrHpSHa/jeeljMUgRfNhoStsNuaeeBpdbO/nmV2d0JxjSS5UU5o2YD4zsPmXw
E3hakt9omHXvzk9stZs7YwwUL+qGpMTrD7K1yxi99HsRe7YkSGqjDaB8/0U1tUxP
6yDs2YlM+EyHgp5+x3gg+gHmxQ79RUPhcf/UxaYh/nh6ln6M53rs4g==
=YW7x
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list