Thanks for your help Antonio
> To: [email protected] > From: [email protected] > Date: Tue, 13 Sep 2011 08:15:50 -0700 > Subject: Re: [qmailtoaster] Re: databytes limit diferent by domain > > On 09/13/2011 07:32 AM, Tonix (Antonio Nati) wrote: > > 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. > > > > True for inbound (I didn't think of that!). Outbound, there's only one > sender. > > Which begs the question though, how qmail-smtpd can tell whether the > message is inbound or outbound for the domain in question. Need to check > both sender and recipients? And then, should there be a different size > limitation for inbound vs outbound? And if so, which limit applies to > intra-domain messages? (The larger of the two would seem to make sense). > > This isn't quite as simple as I was thinking previously. Still doable I > suppose, but I wonder if it'd be worth the effort. > > -- > -Eric 'shubes' > > > --------------------------------------------------------------------------------- > 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: [email protected] > For additional commands, e-mail: [email protected] > >
