Re: limiting databytes per user

2001-05-29 Thread Dave Sill
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

limiting databytes per user

2001-05-28 Thread Eduardo Augusto Alvarenga
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

Re: limiting databytes per user

2001-05-28 Thread Charles Cazabon
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

Re: limiting databytes per user

2001-05-28 Thread Eduardo Augusto Alvarenga
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

Re: limiting databytes per user

2001-05-28 Thread Mark Delany
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

Re: limiting databytes per user

2001-05-28 Thread Charles Cazabon
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

Re: limiting databytes per user

2001-05-28 Thread Eduardo Augusto Alvarenga
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

Re: limiting databytes per user

2001-05-28 Thread Charles Cazabon
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

dns and databytes patch for ofmipd

2001-02-01 Thread Will Harris
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

[PATCH] limiting email databytes when 1 recipient

2000-12-13 Thread CK
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

databytes option for local mail delivery ?

2000-11-20 Thread Dennis Kavadas
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

Databytes Problem

2000-05-26 Thread mark
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

Re: Databytes Problem

2000-05-26 Thread Ondrej Sury
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

Re: Databytes Problem

2000-05-26 Thread Administrator for OK 2 NET
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

Re: Databytes Problem

2000-05-26 Thread mark
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"

Re: Databytes Problem

2000-05-26 Thread Petr Novotny
-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

Re: Databytes Problem

2000-05-26 Thread mark
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

Re: Databytes Problem

2000-05-26 Thread Einar Bordewich
] - 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

Limiting size of emails with databytes

2000-05-22 Thread Dewald Strauss
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

Re: Limiting size of emails with databytes

2000-05-22 Thread Christian Wiese
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

Re : Limiting size of email with databytes

2000-05-22 Thread Dewald Strauss
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

Re: Limiting size of emails with databytes

2000-05-22 Thread clemensF
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? --

databytes file?

2000-02-23 Thread TAG
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

Re: databytes file?

2000-02-23 Thread petervd
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

Re: databytes file?

2000-02-23 Thread TAG
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

Re: databytes file?

2000-02-23 Thread petervd
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

Databytes overide?

2000-02-20 Thread TAG
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

Re: Databytes and users?

2000-02-10 Thread Faried Nawaz
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

Re: Databytes and users?

2000-02-09 Thread Russell Nelson
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

Databytes and users?

2000-02-04 Thread TAG
Hi, Is it possible to set a databytes file for a specific user that will overide the system wide databytes file?? Many Thanks Tonino

Re: Databytes and users?

2000-02-04 Thread nascheme
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

Re: Two smtpd/databytes?

2000-02-02 Thread thomas . erskine-dated-12a473b4466811d7
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

Re: Two smtpd/databytes?

2000-02-02 Thread Mark Delany
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

Two smtpd/databytes?

2000-02-01 Thread Brian Baquiran
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

Re: Two smtpd/databytes?

2000-02-01 Thread Mark Delany
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

Re: Two smtpd/databytes?

2000-02-01 Thread Chris Johnson
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

Re: Two smtpd/databytes?

2000-02-01 Thread Brian Baquiran
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

Databytes file

2000-01-24 Thread TAG
HI ALL, Is it possible to set individual quotas for mailbox send and recieve for specific users or virtualdomains?? Many Thanks Tonino

Databytes?

2000-01-19 Thread Tonino Greco
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

AW: Databytes?

2000-01-19 Thread Häffelin Holger
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

Re: Databytes?

2000-01-19 Thread thomas . erskine-dated-04e644c689decc9e
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

control/databytes meaning

1999-08-31 Thread david . jorrin
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

Re: control/databytes meaning

1999-08-31 Thread Vince Vielhaber
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

RE: control/databytes meaning

1999-08-31 Thread david . jorrin
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

RE: control/databytes meaning

1999-08-31 Thread Vince Vielhaber
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.

RE: control/databytes meaning

1999-08-31 Thread Fred Lindberg
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()

Re: control/databytes meaning

1999-08-31 Thread Dave Sill
[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

controls/databytes

1999-08-16 Thread Dimitri SZAJMAN
Hi ! Please where can I find a documentation about how does the controls/databytes file works ? Thank you for your answer !

Re: controls/databytes

1999-08-16 Thread Vince Vielhaber
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

Re: controls/databytes

1999-08-16 Thread Faried Nawaz
[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.

Re: controls/databytes

1999-08-16 Thread thomas . erskine-dated-de93f46ef546fbb5
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

databytes

1999-07-02 Thread Van Liedekerke Franky
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

Re: databytes

1999-07-02 Thread Andre Oppermann
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

Re: databytes

1999-07-02 Thread Janos Farkas
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

Re: databytes

1999-07-02 Thread Andre Oppermann
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

Re: databytes max msg per domain

1999-05-21 Thread Anand Buddhdev
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

databytes max msg per domain

1999-05-20 Thread Eric Dahnke
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