Charles Cazabon [EMAIL PROTECTED] wrote:
If you want to change DATABYTES on a per-user basis using tcpserver's tcprules
files, you're going to have to be able to map user IDs to IP addresses.
There's no way around that.
tcprules supports matching hostnames as well as IP addresses.
-Dave
Hi there,
Is there a way to limit the control/databytes file by username?
I found some documentation about limiting by domainname but not for just a
single username. I have some support users that full my queue with
videos/games/etc; and also have users that use their mailboxes correctlly
Eduardo Augusto Alvarenga [EMAIL PROTECTED] wrote:
Is there a way to limit the control/databytes file by username?
If your users inject mail via SMTP from their workstations to your smarthost,
and you can map IP addresses to usernames, it's trivial -- tcpserver's
tcprules files can be used
If your users inject mail via SMTP from their workstations to your
smarthost,
and you can map IP addresses to usernames, it's trivial -- tcpserver's
tcprules files can be used to set all environment variables (including
DATABYTES) on a per-IP basis.
Charles
Great idea,
I'm using dhcp
variables (including
DATABYTES) on a per-IP basis.
Charles
Great idea,
I'm using dhcp. Can I use a classless rule like?
192.168.0.:allow,RELAYCLIENT=,DATABYTES=2 for 2MB users and
193.168.0.:allow,RELAYCLIENT=,DATABYTES=10 for 10MB users?
That's a good strategy, though 193.168
Eduardo Augusto Alvarenga [EMAIL PROTECTED] wrote:
If your users inject mail via SMTP from their workstations to your
smarthost, and you can map IP addresses to usernames, it's trivial --
tcpserver's tcprules files can be used to set all environment variables
(including DATABYTES
Yes, providing you can guarantee that your 2MB users will get 192.
addresses,
and your 10MB users will get 193. addresses. Also note your numbers are
wrong; you've put 20KB and 100KB limits on them, not 2MB and 10MB.
How can I say 2MB and 10MB so on ?
Not necessarily. Some/most DHCP
and 10MB so on ?
If you want 2*10^6 bytes, use DATABYTES=200. You were missing a couple
of zeroes. 2MB, of course, is slightly larger than that.
Not necessarily. Some/most DHCP servers let you do pseudo-static
assignment based on MAC address that could fit the bill nicely here
Just in case anyone is interested...
I have made a patch to support two features I sorely missed in ofmipd - DNS
envelope sender checking, and databytes size limiting.
I have adapted Nagy Balazs' DNS mfcheck patch to work with ofmipd, and
added qmail's databytes checking mechanism.
If anyone
This is a patch which gives similar functionality to qmail as
the databytes setup, but totaldatabytes instead. It looks at
the number of recipients a message is going to and applys the
value of /var/qmail/control/totaldatabytes as the limit when
size is multiplied by number of recipients
Hi all...
I'm aware of the databytes options for remote SMTP... anyone
know if there is an option to also set a databytes size for "LOCAL"
mail delivery ?
Cheers
Dennis
Dennis Kavadas
Network Support Officer
University of New South Wales
Cornea Contact Lens Research Unit
Level
Hi all,
I'm having a few problems with that databytes
file.
I have set the databytes to 1.8meg (180).
I send a file of 1.2meg and I receive that no
problem.
Then I senda file of 2 meg and it gives the error of
databytes exceeded which is fine.
The problem lies when I send another 1.2
mark wrote:
Hi all,
I'm having a few problems with that databytes file.
I have set the databytes to 1.8meg (180).
I send a file of 1.2meg and I receive that no problem.
Then I send a file of 2 meg and it gives the error of databytes exceeded
which is fine.
The problem lies
Hi all,
I'm having a few problems with that databytes file.
I have set the databytes to 1.8meg (180).
I send a file of 1.2meg and I receive that no problem.
Then I send a file of 2 meg and it gives the error of databytes exceeded which is
fine.
The problem lies when I send another
Ok, I thought it had someting to do with that.
But my question still remains,
If my setting for databytes is 180
How come I could send file "x" (1.2 meg) and it was received.
Then send file "z" which didn't work (2.2meg) which is correct.
Then send file "x"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 26 May 00, at 13:46, mark wrote:
If my setting for databytes is 180
How come I could send file "x" (1.2 meg) and it was received.
Then send file "z" which didn't work (2.2meg) which is correct.
Then send file
Yes I can reproduce the problem.
In fact I have just tried it again.
So lets do it again, ;-)
If I send the smaller file (1.2 megs) then its fine.
If I send the large file (2 meg ) then it shows as an on screen error
"databytes exceeded" which is correct.
Then I send the smaller
]
- Original Message -
From: "mark" [EMAIL PROTECTED]
To: "Petr Novotny" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, May 26, 2000 2:21 PM
Subject: Re: Databytes Problem
: Yes I can reproduce the problem.
: In fact I have just tried it a
Hi,
I am trying to limit the size of inbound/outbound mails
on my mailserver.
Will an entry in databytes under /var/qmail/control
do this ?
Running qmail 1.03+vpopmail+sqwebmail here
Thanks
Dewald
Hi Dewald,
that's correct. The databytes file under /var/qmail/control is
responsible for size limits for inbound/outbound mails.
Just insert e.g. 400 and you've limited the size to 4MB.
But I'm still looking for a solution to seperate inbound and outbound
mal size, but I haven't found any
Hi,
In response to my first post, I did the following:
I added 100 to the databytes file under /var/qmail/control,
but see that qmail just drops the connection when it reaches
100 bytes.
How do I tell qmail to send a bounce messages to the originating
host ?
(Or even better, where
Christian Wiese:
But I'm still looking for a solution to seperate inbound and outbound
mal size, but I haven't found any solution yet.
As fa as I know it's also possible to limit the size of the mails via
maildir, but I haven't tried this solution.
are you referring to the disk-quota?
--
HI ALL,
Sorry me again :)
Can someone assist me in setting the databytes file so that it uses
different values for different IP addresses??
Thanks in advance
Tonino
On Wed, Feb 23, 2000 at 11:47:37AM +0200, TAG wrote:
HI ALL,
Sorry me again :)
Can someone assist me in setting the databytes file so that it uses
different values for different IP addresses??
You can set the DATABYTES variable from tcpserver, just like RELAYCLIENT.
Greetz, Peter
Hi,
OK - this means that I can add a line as follows into /etc/tcp.smtp :
192.168.1.:allow,DATA-INTERNAL=""
and have a control/data-internal file with the databytes limit set??
Please advise
Tonino
[EMAIL PROTECTED] wrote:
On Wed, Feb 23, 2000 at 11:47:37AM +0200, TAG wrote
On Wed, Feb 23, 2000 at 12:46:44PM +0200, TAG wrote:
Hi,
OK - this means that I can add a line as follows into /etc/tcp.smtp :
192.168.1.:allow,DATA-INTERNAL=""
and have a control/data-internal file with the databytes limit set??
No.
Instead, try:
192.168.1.:allow,DATABYTE
Hi,
Is there a way of overiding the global control/databytes file for a
spacific user??
PLEASE help in this regard.
Thanks in advance
Tonino
Russell Nelson [EMAIL PROTECTED] writes:
TAG writes:
Is it possible to set a databytes file for a specific user that will
overide the system wide databytes file??
Only if that user has a fixed IP address.
There's another way around that problem -- the pop-before-you-send-mail
TAG writes:
Is it possible to set a databytes file for a specific user that will
overide the system wide databytes file??
Only if that user has a fixed IP address.
--
-russ nelson [EMAIL PROTECTED] http://russnelson.com
Crynwr sells support for free software | PGPok | "Ask not what
Hi,
Is it possible to set a databytes file for a specific user that will
overide the system wide databytes file??
Many Thanks
Tonino
On Fri, Feb 04, 2000 at 10:19:59AM +0200, TAG wrote:
Is it possible to set a databytes file for a specific user that will
overide the system wide databytes file??
You could use the qmail-smtp AUTH patch and hack it. It looks
pretty easy to do. I almost did it myself but then decided I
didn't
On Tue, 1 Feb 2000, Mark Delany wrote:
Sure. Just run two instances of qmail.
Actually, you don't even have to run two instances. "man qmail-smtpd" and
note that the DATABYTES environment variable overrides control/databytes,
if the variable exists. Tcpserver will let you specify e
On Wed, Feb 02, 2000 at 10:12:24AM -0500, [EMAIL PROTECTED]
wrote:
On Tue, 1 Feb 2000, Mark Delany wrote:
Sure. Just run two instances of qmail.
Actually, you don't even have to run two instances. "man qmail-smtpd" and
note that the DATABYTES environment variable overrid
Is it possible to run two versions of qmail-smtpd (say, on different port #s),
with different control/databytes files? Boss is asking whether we can set a
limit on the size of incoming mail (easy, use databytes) but have no limit on
the outgoing mail. Easiest way is to have 2 SMTP servers
service then, all
on the one machine.
Regards.
On Tue, Feb 01, 2000 at 09:30:44AM +0800, Brian Baquiran wrote:
Is it possible to run two versions of qmail-smtpd (say, on different port #s),
with different control/databytes files? Boss is asking whether we can set a
limit on the size of incoming
On Tue, Feb 01, 2000 at 09:30:44AM +0800, Brian Baquiran wrote:
Is it possible to run two versions of qmail-smtpd (say, on different port
#s), with different control/databytes files? Boss is asking whether we can
set a limit on the size of incoming mail (easy, use databytes) but have no
limit
Chris Johnson wrote:
On Tue, Feb 01, 2000 at 09:30:44AM +0800, Brian Baquiran wrote:
Is it possible to run two versions of qmail-smtpd (say, on different port
#s), with different control/databytes files? Boss is asking whether we can
set a limit on the size of incoming mail (easy, use
HI ALL,
Is it possible to set individual quotas for mailbox send and recieve for
specific users or virtualdomains??
Many Thanks
Tonino
Hi,
Is the databytes file that sits in the /var/qmail/control directory a
file that has only the size of e-mail that can be sent through the smtp
server??
Many thanks -
--Tonino
right! it contains the maximum size in bytes.
Holger
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Tonino Greco
Gesendet am: Mittwoch, 19. Januar 2000 10:12
An: [EMAIL PROTECTED]
Betreff: Databytes?
Hi,
Is the databytes file
On Wed, 19 Jan 2000, Tonino Greco wrote:
Hi,
Is the databytes file that sits in the /var/qmail/control directory a
file that has only the size of e-mail that can be sent through the smtp
server??
For all the files under /var/qmail/control, try "man qmail-control".
It'll tell
Hi qmailers,
I found a problem with the databytes check.
As it's explained in man pages, qmail-smtpd checks the message size
AFTER writes it on disk. In addition to performance questions, this
behaviour involves that CR+LF characters are changed by LF characters
BEFORE the size check
On Tue, 31 Aug 1999 [EMAIL PROTECTED] wrote:
Hi qmailers,
I found a problem with the databytes check.
As it's explained in man pages, qmail-smtpd checks the message size
AFTER writes it on disk. In addition to performance questions, this
behaviour involves that CR+LF characters
It doesn't say that. It says it 'counts bytes AS stored on
disk', not
'counts bytes AFTER they're stored on disk'. There's a difference. A
quick look at the sources will confirm this.
Vince,
Thanks by your correction.
However, I verified that the messages stored on disk (in
On Tue, 31 Aug 1999 [EMAIL PROTECTED] wrote:
It doesn't say that. It says it 'counts bytes AS stored on
disk', not
'counts bytes AFTER they're stored on disk'. There's a difference. A
quick look at the sources will confirm this.
Vince,
Thanks by your correction.
On Tue, 31 Aug 1999 07:30:23 -0400 (EDT), [EMAIL PROTECTED]
wrote:
Moreover, the value recorded in qmail logs is exactly the data message
size without the CR+LF number.
If this is important to you, modify qmail-send by subtracting 1 from
bytestooverflow (and check it as in put()) in blast()
[EMAIL PROTECTED] wrote:
Since the difference between size meanings depends on each message's
line number, it's very difficult to fit the qmail's size limit with
others MTA's.
So what? who cares if your max message limit counts LF's and mine
counts CRLF's?
-Dave
Hi !
Please where can I find a documentation about how does the
controls/databytes file works ?
Thank you for your answer !
On Mon, 16 Aug 1999, Dimitri SZAJMAN wrote:
Hi !
Please where can I find a documentation about how does the
controls/databytes file works ?
Thank you for your answer !
man qmail-smtpd
Vince.
--
==
Vince
[EMAIL PROTECTED] (Dimitri SZAJMAN) writes:
Please where can I find a documentation about how does the
controls/databytes file works ?
See the man page for qmail-smtpd.
In general, read the man page for qmail-control to find out about control/*
files.
Faried.
On Mon, 16 Aug 1999, Dimitri SZAJMAN wrote:
Hi !
Please where can I find a documentation about how does the
controls/databytes file works ?
If you want to know where the documentation for any of qmail's control
files is try "man qmail-control". That's all it is: pointers to whi
Hi,
I have a small question about the databytes control file:
does a mail first get stored on local disk before the size is checked?
Becuase if so, a client can send mails of 10 GB... they won't go through,
but they would block the server completely...
Franky
Van Liedekerke Franky wrote:
Hi,
I have a small question about the databytes control file:
does a mail first get stored on local disk before the size is checked?
Becuase if so, a client can send mails of 10 GB... they won't go through,
but they would block the server completely
On 1999-07-02 at 11:09:56, Van Liedekerke Franky wrote:
I have a small question about the databytes control file:
does a mail first get stored on local disk before the size is checked?
No, qmail-smtpd checks it continously while passing the message data to
qmail-queue. As soon as it founds
Janos Farkas wrote:
On 1999-07-02 at 11:09:56, Van Liedekerke Franky wrote:
I have a small question about the databytes control file:
does a mail first get stored on local disk before the size is checked?
No, qmail-smtpd checks it continously while passing the message data to
qmail
On Thu, May 20, 1999 at 08:06:52PM -0300, Eric Dahnke wrote:
I am in need of setting message size limits on a per virtual domain
basis.
I've got a system wide /control/databytes limit, and can see that I can
limit on a per user basis via: |bouncesaying 'Message too big' [ `wc -c`
-gt
Hello qmailers,
I am in need of setting message size limits on a per virtual domain
basis.
I've got a system wide /control/databytes limit, and can see that I can
limit on a per user basis via: |bouncesaying 'Message too big' [ `wc -c`
-gt 1 ] in the users .qmail file.
What would
57 matches
Mail list logo