On Mon, Aug 14, 2000 at 11:49:05AM -0500, Dorian McFarlane wrote:
> Is there way to limit the size of attachment relayed through qmail-pop3d. I
> would like to block email message with attachments greater than 10MB.

Hi,

You can set a blanket limit using control/databytes. man qmail-smtpd.
OTOH, you can use tcpserver to set a DATABYTES environment variable to
set different limits based on the source IP address of the connection.
(The value of the DATABYTES environment variable, if set, will 
override the value of control/databytes, allowing you to use
control/databytes as a default and DATABYTES env. var. for any
exceptions)

Regards,

james
-- 
James Raftery (JBR54)  -  Programmer Hostmaster  -  IE TLD Hostmaster
   IE Domain Registry  -  www.domainregistry.ie  -  (+353 1) 706 2375
  "Managing 4000 customer domains with BIND has been a lot like
   herding cats." - Mike Batchelor, on [EMAIL PROTECTED]

Reply via email to