Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: Qmail send quota


  • Subject: Re: lug-bg: Qmail send quota
  • From: Борис Йорданов <borj@xxxxxxxxx>
  • Date: Wed, 10 Sep 2003 17:58:54 +0300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 10 September 2003 17:25, higeronimo@xxxxxxxxx wrote:
>        Imam problem - ne znam kak da zadam quota za
> golemina na praten fail na qmaila. Tarsih v google no
> nishto ne mogah da nameria tochnoto neshto - please help.

Виж и това:

Re: Setting different size limits on incoming and outgoing mails

Auteur: Chris Johnson (dcj-dated-1046999225.oeaelbee@xxxxxxxxxxxx)
Date: Fri 07 Mar 2003 - 02:16:40 CET
# Message suivant: Phi Phu: "Re: not a problem, just a question"

    * Message précédent: Michael Sierchio: "Re: Queue Size"
    * En réponse à: Mintoo Lall: "Setting different size limits on incoming and outgoing mails"
    * Messages , classés par: [ date ] [ thème ] [ sujet ] [ auteur ] [ fichier attaché ] 

On Thu, Mar 06, 2003 at 01:19:29PM -0800, Mintoo Lall wrote:
> Can I set a limit on the size of the incoming or received mails and and a
> different limit on the size of the mails sent (or outgoing mails). I wanted a
> limit on the size of the mail received say 1MB but I should be able to send
> out a mail of any size. The databytes file in /var/qmail/control appears to
> be working both for incoming as well as outgoing mails. I wanted it to work
> only for incoming mails. Any help is appreciated.

databytes applies only to mail received by qmail-smtpd.

What exactly do you mean by "incoming" and "outgoing"? If databytes applies to
both in your case, then I suspect that by "outgoing" you mean "originating on a
host in my network and relayed by SMTP through my server," and by "incoming"
you mean "originating somewhere else." If that's the case, then the solution is
is simple. If your network is 192.168.1.*, then you should have this in your
tcpserver rules file:

192.168.1.:allow,RELAYCLIENT="",DATABYTES="0"

DATABYTES="0" causes qmail-smtpd to ignore databytes for hosts in 192.168.1.*.
You can also set a non-zero value for DATABYTES so that different IP addresses
get different maximum allowable sizes.

If by "outgoing" you mean "originating on my server" then you're
wrong--databytes doesn't apply because this mail is not injected by
qmail-smtpd.

Chris 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/XzwuKDHlLar/ewgRAmhkAJ9ImxrzA2xxxRC4HFURtKnv+WJiMwCaAmWf
g1QvhZ1/PuS7GYPVy1enWTM=
=ADAU
-----END PGP SIGNATURE-----

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.