On Wed, Jun 27, 2001 at 04:06:16PM +0200, Sebastiaan van Erk wrote:
> Hi there,
>
> Is it possible to override the databytes value in the control/databytes
> file based on the _destination_ of the email. I know how to change the
> DATABYTES environment variable using tcpwrappers or tcpserver based on
> the origin of the connecting SMTP server, but I wish to allow large
> mails to some (virtual) domains and not to others.
>
> Or is this the wrong place to try and achieve this goal?
What you want would require patching qmail-smtpd.
You could try doing a fixup trick (as specified in the FAQ) and then
checking the size from a .qmail file. A program to do so was posted to
this list a couple of weeks ago, check the archives for 'sizechecker'.
Greetz, Peter
--
Against Free Sex! http://www.dataloss.nl/Megahard_en.html