On Mon, Apr 16, 2007 at 02:23:37PM +0100, Hugo Monteiro wrote: > Hello all, > > I'm sending this to both qmail-ldap and qmail mailling lists since it's > a feature originally from qmail, but in a qmail-ldap install. Excuse me > if i should have sent this to only one of the lists. > > Basically i'm using qmail-ldap with simscan as an alternate qmail-queue. > I started noticing that sometimes i'd get an huge amount of data, like > 1+GB, in the temp dir that simscan creates for scanning the messages, > and that happens although i have set ~/control/databytes to 10MB. > > From the qmail docs, i read that databytes is enforced by checking the > actual message size written to disk, and not by counting the ammount > while in transfer by qmail-smtpd. > > Basically my doubt is if databytes is enforced by qmail-queue and not > qmail-smtpd, meaning that although there is no message delivery, and > originating a bounce, the message is actually accepted in full for > processing, possibly leading to a DoS (fill the entire fs). > > If that is the case, is there a way to configure qmail to prevent this? >
databytes does not count the \r characters. Therefor it talks about the actual message size instead of the number of sent bytes. Having huge temp dirs is normaly the sign of a bad compressed files. -- :wq Claudio