Il 13/09/2011 16:13, Eric Shubert ha scritto:
On 09/13/2011 03:34 AM, teclas sorianat wrote:
Hi:

I'm new in this list, but not in the use of qmail.

My question is about the databytes file. The number writed in this file
is used for all the domains in the server, but I need a different limit
for domain.

Is it possible?

Thanks in advance

Antonio

According to the man page, qmail-smtpd honors not only the value in the file, but also a DATABYTES environment variable, which overrides the value in the file. This makes it easy to set a different limit for inbound vs outbound (port 587) messages. Setting it based on domain would be more difficult though, and I expect would require modifying the qmail-smtpd source code. Could be done though.


Yes, code should be modified, but it would work only if there are recipients to a single domain. If a message has more recipients for different domains, you must apply a general databytes.


Tonino


--
------------------------------------------------------------
        Inter@zioni            Interazioni di Antonio Nati
   http://www.interazioni.it      to...@interazioni.it
------------------------------------------------------------


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to