[Mimedefang] Email resend
skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Tue Dec 15 04:02:16 EST 2009
-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the MIMEDefang