procmail with vdelivermail

2001-08-06 Thread Brian Kolaci
Hi, I'm using procmail to filter SPAM in qmail and am using it as my delivery agent. Has anyone used procmail with vpopmail? Thanks, Brian

Re: [vchkpw] Vpopmail and mysql limits

2002-10-23 Thread Brian Kolaci
> On Wednesday, October 23, 2002, at 03:28 PM, John Johnson wrote: > > > ok to use mysql-limits is there a convert program to convert the > > limits > > I have > > Or do I have to start over with them and reset them.. I guess I will > > also have > > To recompile vqadmin and q

[vchkpw] patch for vpopmail 5.3.8 for .qmailadmin-limits

2002-10-18 Thread Brian Kolaci
.8.orig/vlimits.c vpopmail-5.3.8/vlimits.c *** vpopmail-5.3.8.orig/vlimits.c Thu Oct 17 12:54:30 2002 --- vpopmail-5.3.8/vlimits.cThu Oct 17 12:54:03 2002 ******* *** 0 --- 1,189 + /* + * vlimits.c + * handle domain limits in both file format + * Brian Kolaci <[EMAIL

Re: [vchkpw] patch for vpopmail 5.3.8 for .qmailadmin-limits

2002-10-20 Thread Brian Kolaci
I didn't know they added a "boolean" type to the C language. When they do, we can easily make the change. Brian > Hi Brian Kolaci, > you wrote. > > BK> to the vpopmail library. These maintain either the > BK> raw file .qmailadmin-limits or will ma

Re: [vchkpw] vsetuserquota

2002-10-22 Thread Brian Kolaci
I run system quotas and use courier-imap. After a user authenticates, courier switches ID to that user before execing imapd or pop3d. All new folders created are that of the authenticated user. If they're created as root (which imapd should *not* be running as root), then there's a problem wit

Re: [vchkpw] vsetuserquota

2002-10-22 Thread Brian Kolaci
27;m running it via tcpserver because it > doesn't appear to work correctly when using it's own version of tcpserver > and ip domains (ie it's not passing the IP address to vpopmail). > > I'll take a closer look and see what I can find. > > Regard

RE: [vchkpw] patch for vpopmail 5.3.8 for .qmailadmin-limits

2002-10-22 Thread Brian Kolaci
t; Jakob Kruse > > > -Original Message----- > > From: Ken Jones [mailto:kbo@;Inter7.com] > > Sent: 17. oktober 2002 20:36 > > To: Brian Kolaci > > Cc: [EMAIL PROTECTED] > > Subject: Re: [vchkpw] patch for vpopmail 5.3.8 for .qmailadmin-limits > &g

[vchkpw] qmailadmin-limits update

2002-10-24 Thread Brian Kolaci
I've done some thinking about the many suggestions about handling the limits and wanted to summarize some of the pros & cons. First was whether to use a generic approach that had a table with domain, name, value which has a row for each parameter, or to use a single row will all values per domain

Re: [vchkpw] Re: qmailadmin-limits update

2002-10-29 Thread Brian Kolaci
to get a consensus from people as to what else is needed or required, or find out if its overkill and to strip some. Thanks, Brian > > > > Brian Kolaci writes: > > > > > > > > I've done some thinking about the many suggestions about handling &g

[vchkpw] qmailadmin-limits update

2002-11-20 Thread Brian Kolaci
OK, I've finally found the time to work on the qmailadmin-limits API's for file and MySQL based storage. I've attached the patch for vpopmail 5.3.11, available at shupp.org. I've augmented the previous implementation to add the extra features requested and pretty much implemented what I stated i

[vchkpw] POP3 daemon comparison

2002-11-20 Thread Brian Kolaci
I've been using both the imapd and pop3d from the courier package with my qmail/vpopmail service. Has anyone done a comparison between these packages? I know the courier package doesn't implement the LAST command, which I hacked in, but I wanted to see if there are any advantages of one over the

Re: [vchkpw] How to leave a copy of email on the qmail server using pop3 ...

2002-11-20 Thread Brian Kolaci
First of all, the server just does what the client tells it to do. If the client sends the DELE (delete) command, the server will delete the message. If the client doesn't send the DELE (delete) command, the server will *not* delete any message. In qmail, when a message is read, it is moved from

Re: [vchkpw] .cdb doesn't get compiled for roaming users

2002-11-21 Thread Brian Kolaci
edit cdb/conf-* and change cc to gcc (assuming you're using gcc). Brian > Hello > > I'm running vpopmail-5.2.1 and courier-imap-1.5.3 with roaming support > enabled. > > /home/vpopmail/etc/open-smtp gets updated correctly with the ips > fetching mail, but /home/vpopmail/etc/tcp

Re: [vchkpw] domain quotas

2002-11-21 Thread Brian Kolaci
Currently I use a separate system user for each domain, and I bundle mail & web together with one quota. I have a patched vdelivermail that enforces both per-user and per-domain quotas, but not through maildir quotas. I just submitted the patch for the vlimits data structure and am currently upd

[vchkpw] domain maildir quotas

2002-11-21 Thread Brian Kolaci
Hi, Bill, if your there, you'd probably know this one off the top of your head... Is there a maildir function to gather the current usage for a whole domain? I know its easy for disk based usage, but what about maildir quotas? If not, I'll put one together to go to the domain directory and loo

Re: [vchkpw] courier-imap tends to stop authenticating after awhile

2002-11-25 Thread Brian Kolaci
authdaemond works for me, however IP Alias doesn't work since the IP information is passed via environment variables. The authdaemon protocol doesn't take into account any of the environment variables set by couriertcpd, so your missing some of the critical information. I've mentioned this on th

Re: [vchkpw] courier-imap tends to stop authenticating after awhile

2002-11-25 Thread Brian Kolaci
authdaemon > croaks after a short time under high load. Using only the authvchkpw module > and disabling authdaemon at compile time always fixed the problem. > > What versions are you running? > > > On Monday 25 November 2002 12:24, Brian Kolaci wrote:

Re: [vchkpw] courier-imap tends to stop authenticating after awhile

2002-11-25 Thread Brian Kolaci
ers does 20-25 > authentications per second equate to for you? > > Thanks. > > > On Monday 25 November 2002 12:58, Brian Kolaci > wrote: > > You can disable it at runtime also. > > Just specify it in the AUTHMODULES variable in &

Re: [vchkpw] relaying not allowed

2002-12-10 Thread Brian Kolaci
Hi Tobias, I've seen a similar thing recently, however I'm using MySQL rather than files and my users have received the same error message. I checked and found their IP in the table, however they were still not allowed to send/relay mail. I had to resort to manually configure static blocks of I

Re: [vchkpw] relaying not allowed

2002-12-10 Thread Brian Kolaci
domains be set to Any > Domain ? > > Regards /Tobias > > > - Original Message ----- > From: "Brian Kolaci" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, Decemb

Re: [vchkpw] Re: Per domain quota setting

2002-12-13 Thread Brian Kolaci
If you use system quotas (as I do), then install qmailadmin setuid root and it all works fine. It will switch to the userid of the system account that is specified in the users/assign file. Brian > Hello Ninad, > > On Friday, December 13, 2002 at 12:37:56 PM you wrote: > > >>> I know

Re: [vchkpw] Re: Per domain quota setting

2002-12-13 Thread Brian Kolaci
My scripts are not even near any document root. There's a whole separate directory tree (for *all* CGI directories on the server) that is ScriptAlias'd. I don't allow CGI for any user within their doc root otherwise unsuspecting users would enable someone to break into the server. The system de

Re: [vchkpw] Re: welcome message

2003-01-08 Thread Brian Kolaci
If you're going to put this in the distribution, make sure that you have to select an option to have the mail delivered. I'm sure many people would *not* want this message in their INBOX. We used to do this an about 85% of our customers complained, so it was removed. Brian > Hi Trey, >

Re: [vchkpw] Re: welcome message

2003-01-08 Thread Brian Kolaci
o that you know it worked. > > Trey > > - Original Message - > From: "Brian Kolaci" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, January 08, 2003 9:38 AM > Subject: Re: [vchkpw] Re: welcome message > >

Re: [vchkpw] Quota per domain

2003-01-24 Thread Brian Kolaci
Try using system quotas instead. This is what I use. Put each virtual domain under a separate unix user. Impose a system quota on that user. Then set per-user quotas from qmailadmin. There's a -u option to vadddomain to set it to the specified unix userid and setup the "domains" directory under

[vchkpw] vlimits patch

2003-01-24 Thread Brian Kolaci
Hi Ken/Bill, It appears that the last patch I sent through didn't get applied. This one contains the several extra fields as requested. I'm currently working on qmailadmin to use the API. Shall I also update vdelivermail to enforce the per-domain quotas? My copy does this with real disk usage

Re: [vchkpw] vaddaliasdomain inconsistency ?

2003-01-26 Thread Brian Kolaci
There's a feature in vget_alias...() that the domain parameter is a char *, not a const char * so the domain is overwritten to the "master" domain when you call it. The correct behaviour would probably be to return all the domains and specify whether they're master or an alias. Brian > Hi,

Re: [vchkpw] 5.3.15

2003-01-27 Thread Brian Kolaci
Ken & Bill, Here's a patch that's small but has a *big* performance change in it. This patches the 5.3.15 distribution. Over the last few months, I've been seeing my mailserver incur 90-99% CPU utilization during peak loads. During that time, I was seeing between 5 & 10 authentications per sec

Re: [vchkpw] 5.3.15

2003-01-27 Thread Brian Kolaci
The file I updated was vpgsql.c and voracle.pc These need the extra work done to ensure that it only returns 1 if a new IP was added to the table and not just replaced. Brian > > the proper values if the table was updated. I've updated oracle > > and pgsql to return 1 if the table was updat

RE: [vchkpw] disk quota per domain

2003-01-29 Thread Brian Kolaci
I too had put in code to calculate real quota based on recursively doing stat's. This seems to chew up *alot* of resources. I have over a thousand domains and its hasn't been an issue to have a username per domain. In fact, it works well and better than when the quota code was in vdelivermail.

RE: [vchkpw] disk quota per domain

2003-01-29 Thread Brian Kolaci
There is already domain limits from the qmailadmin-limits file/table. I don't believe in the concept of sum(user limits) == domain limit Most users will need a small quota, however there are times when they'll need more just for a once in a blue time to get a large attachment through, but over

Re: [vchkpw] Re: feature request qmail-smtpd-chkusr

2003-01-30 Thread Brian Kolaci
Hi, Its definitely a qmail patch, not vpopmail. You should contact the qmail list or homepage to have it listed there instead. I see from your page that it checks vpopmail users, but what about regular shell accounts? Also, does it do the .qmail file processing for normal accounts, maillists,

Re: [vchkpw] mysql-vlimits

2003-02-03 Thread Brian Kolaci
Hi, I've been using the mysql vlimits stuff for over 2 years. (I supplied the patch for it). Currently, I don't know of any migration script, but it couldn't be too difficult to make. You need the file version of vget_limits() and the database version of vset_limits(). I could help if you want

Re: [vchkpw] mysql-limits

2003-02-08 Thread Brian Kolaci
There currently is no conversion program. The latest rev (.16) enables the use of the new API to vset, vget and vdel the _limits functions. They allow either file or mysql tables depending on the compiled in version (with the --enable-mysql-limits=y/n). Currently the first (and only) program usi

Re: [vchkpw] question re faq

2003-02-11 Thread Brian Kolaci
As far as I know, roaming users doesn't work with the courier-imap authlib, at least with authdaemond. I've patched my version and when I get cycles planned on submitting a patch to Mr. Sam to allow authdaemond to have it work. The problem is that vpopmail relies on environment variables that are

[vchkpw] domain quotas

2003-02-19 Thread Brian Kolaci
Since there's been alot of hype about domain quotas, I've put my changes in the attached patch file. This will patch vpopmail-5.3.16 (maildirquota.c and vdelivermail.c). There's a new file vqmaillocal.c that apparently doesn't use Maildir++ quotas, so I didn't touch that. The CPU usage is neglig

Re: [vchkpw] Postgres in 5.3.16 - I see it, how do I enable it?

2003-02-19 Thread Brian Kolaci
That's good. Haven't played with postgres lately. MySQL seemed easy and quick enough. I've added a patch that checks the return code from vopen_smtp_relay(). It used to be void. I changed the interpretation such that it needs to return non-zero if the given IP address wasn't already in the ta

Re: [vchkpw] no mysql tables after Vpopmail install

2003-02-20 Thread Brian Kolaci
As long as the permissions are correct, and you allow CREATE permission to the id/password you put in vmysql.h, then the tables will auto-create when you run the system, i.e. create a domain. Thanks, Brian > I don't have any vpopmail related tables in my Mysql vpopmail database after install

[vchkpw] domain quotas (updated)

2003-02-20 Thread Brian Kolaci
I've made one change to the patch below, which is the same one I posted yesterday. This patch makes public the following two functions in maildirquota.c: int readdomainquota(const char *dir, long *sizep, int *cntp); int readuserquota(const char* dir, long *sizep, int *cntp); These two functions

Re: [vchkpw] vpopmail 5.3.18 with --enable-vlimits

2003-02-22 Thread Brian Kolaci
Ahh, good catch. I increased limits table structure to about twice its original size, (more items added) and since my table already existed, I didn't encounter the buffer overflow. Since the original create failed, you'll need to delete and add the domain again to get the row added to the tabl

Re: [vchkpw] vpopmail as a daemon

2003-02-23 Thread Brian Kolaci
Hi, Well, I don't see the need. vpopmail was made for qmail. Qmail invokes vpopmail using vdelivermail. What exactly would you daemonize? You would only want to make a daemon for things that are used *very* frequently and you need the extra speed. The only thing I see is authentication, for w

Re: [vchkpw] vpopmail as a daemon

2003-02-23 Thread Brian Kolaci
> > Well, I don't see the need. vpopmail was made for qmail. > > Qmail invokes vpopmail using vdelivermail. > > > > What exactly would you daemonize? > > Authentication and access to vpopmail control functions. Creating users, domains, aliases, etc... > > Of coarse parts of vpo

Re: [vchkpw] How to handle the local domain as virtual.

2003-02-25 Thread Brian Kolaci
qmail is probably not passing them on to vpopmail for delivery. Make sure you remove your domainname from the qmail control/locals file, and add it to your control/rcpthosts file. Brian > Hi. > I am running Qmail with vpopmail successfully right now, and qmail-smtpd is > able to recieve e

Re: [vchkpw] vpopmail + mysql. Basic question.

2003-02-26 Thread Brian Kolaci
using vadduser not only adds the row to the table, but creates the directory structure for vdelivermail to put mail into. It also encrypts the password field. So you should either use the vadduser program or the vpopmail vadduser() API routine. Brian > Sorry for the basic question but i can'

[vchkpw] patch for vpopmail-5.3.18

2003-02-26 Thread Brian Kolaci
#x27;ve removed pretty much the whole file execept for +some public functions so as to not conflict with courier. +I"ve made the courier functions static. +- Brian Kolaci + */ + int readdomainquota(const char *dir, long *sizep, int *cntp); + int readuserquota(const char* dir, long *siz

Re: [vchkpw] vpopmail + mysql. Basic question.

2003-02-26 Thread Brian Kolaci
> On Wednesday 26 February 2003 17:33, Brian Kolaci wrote: > > using vadduser not only adds the row to the table, but > > creates the directory structure for vdelivermail to put > > mail into. It also encrypts the password field. So > > you should either

Re: [vchkpw] Feature request: Usage of SSLREMOTEIP

2003-03-05 Thread Brian Kolaci
> Hi Anders, > > > > Does anyone know a workaround until either vpopmail reads SSLREMOTEIP > > > or ucspi-ssl sets TCPREMOTEIP? > > > > How about something like (untested): > > "(env TCPREMOTEIP=$SSLREMOTEIP /home/vpopmail/bin/vchkpw)" > > in your startup script instead of just "

Re: [vchkpw] new quota support question

2003-03-06 Thread Brian Kolaci
> Howdy list, > > I'm just wondering a few things about the new domain wide quotas: > > Are these quotas implemented in vdelivermail? Yes. > Or are they implemented with system quotas? You can do that also if you wish, however you'll need to supply your own scripts for that. >

Re: [vchkpw] new quota support question

2003-03-06 Thread Brian Kolaci
> > > Or are they implemented with system quotas? > > > > You can do that also if you wish, however you'll need to > > supply your own scripts for that. > > So, basically, no? What would I have to supply to use system > quotas? If you wish to use system quota's, you'll need to wr

Re: [vchkpw] vpopmail 5.3.19

2003-03-06 Thread Brian Kolaci
> Wednesday March 05 2003 11:47, Bill Shupp wrote to All: > > > BS> I've posted a new devel version, 5.3.19. Please help test > > Still no user expiry feature? Have you written it yet? When you write it, then you should post the patch to the list. It would be reviewed, test

Re: [vchkpw] new quota support question

2003-03-06 Thread Brian Kolaci
> > I'd be curious to see if Mr. Sam accepts such patches. I personally > > think that this new non-system domain quota feature is unnecessary, > > when system quotas are available, easily implemented, and a better > > solution. But enough people seemed to want it for some reason, and

Re: [vchkpw] new quota support question

2003-03-06 Thread Brian Kolaci
> So the domain quotas aren't stored in a file, but rather in whatever database > backend you happen to be using? They are stored in either the .qmailadmin-limits file, or MySQL, if enabled. The "user" quota is stored in the "pw_shell" attribute of the password entry for the user. > >

Re: [vchkpw] new quota support question

2003-03-06 Thread Brian Kolaci
> If vpopmail stores the actual user quota in a database, and the maildirsize > file just stores the current size of the maildir (which IS a file based > system, BTW), then doesn't that mean that Maildrop has NEVER been capable > of enforcing maildir++ with vpopmail? I guess I wasn't expl

Re: [vchkpw] new quota support question

2003-03-07 Thread Brian Kolaci
> OK OK. Brian had me thinking that the quota was stored in a database with all of that talk about pw_shell and limits API calls. > > I now see that (as I originally thought), the quota is actually stored in the 'maildirsize' file. (I opened it up and looked at it > in my maildir) It i

Re: [vchkpw] qmail-smtpd patch

2003-03-12 Thread Brian Kolaci
Check the archives. There are a few, however they *only* take into account the vpopmail addresses, not system accounts or aliases or SMTP relaying. I've just patched mine to handle all cases however I don't have a patch. BTW, VRFY would be the correct place for this, however most spam programs

Re: [vchkpw] domain quota

2003-03-13 Thread Brian Kolaci
domain quotas were implemented in vpopmail 5.3.19. Brian > Hello, > > I've tried playing around with quotas on my qmail+vpopmail+qmailadmin setup. > User quota works. But when I try to set domain quota on .qmailadmin-limits > (default_quota X) in the ~vpopmail/domains/somedomain.

RE: [vchkpw] domain quota

2003-03-13 Thread Brian Kolaci
5.3.19 You can get it from http://shupp.org Brian > is it 5.3.19 or 5.3.16? > > -Original Message- > From: Brian Kolaci [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2003 8:59 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subj

Re: [vchkpw] quotas

2003-03-15 Thread Brian Kolaci
You need vpopmail-5.3.19 for domain quotas. It may be found at http://shupp.org Brian On Sat, 15 Mar 2003, Payal Rathod wrote: > Hi, > I have installed vpopmail-5.2.1 with just enable-roaming-users=y option. > After that I did make and make install. > > Now I added 2 domains test1 and test2?

Re: [vchkpw] Change the default quota

2003-03-20 Thread Brian Kolaci
> Hi Luqman, > > > how do i change default quota in vpopmail ? > > Recompile. It's hard coded at compile time. > > Jonas As of vpopmail-5.3.19 you update the .qmailadmin-limits file or the vlimits mysql table. The hard coded value is used to initialize the default for the domai

Re: [vchkpw] Change the default quota

2003-03-20 Thread Brian Kolaci
> > Hi Luqman, > > > > > how do i change default quota in vpopmail ? > > > > Recompile. It's hard coded at compile time. > > > > Jonas > > As of vpopmail-5.3.19 you update the .qmailadmin-limits > file or the vlimits mysql table. The hard coded value > is

[vchkpw] patch to set default quota in vadd_user()

2003-03-20 Thread Brian Kolaci
This patch uses the vlimits() API to retrieve the default user quota for their domain. This is for cdb and mysql storage. This should be applied to 5.3.19 Thanks, Brian diff -c vpopmail-5.3.18/vcdb.c vpopmail-5.3.19/vcdb.c *** vpopmail-5.3.18/vcdb.c Thu Feb 20 13:27:49 2003 --- vpopmail

Re: [vchkpw] About to release new devel version 5.3.20

2003-03-24 Thread Brian Kolaci
> On Monday 24 March 2003 20:53, Ken Jones wrote: > > I'm about to release a new 5.3.20 devel version. > > > > Does anyone have any patches they would like to submit? > > > > > Thta's about it. > > If no one submits patches by end of day Tuesday, I'll > > release 5.3.20 as is.

Re: [vchkpw] About to release new devel version 5.3.20

2003-03-24 Thread Brian Kolaci
> On Monday 24 March 2003 22:05, you wrote: > > > On Monday 24 March 2003 20:53, Ken Jones wrote: > > > > I'm about to release a new 5.3.20 devel version. > > > > > > > > Does anyone have any patches they would like to submit? > > > > > > > > > > > > Thta's about it.

Re: [vchkpw] vlimits patch [1/??]

2003-03-25 Thread Brian Kolaci
This is very good, however you may want to move this out of vmysql.c and put it directly in vpopmail.c for the add_user routine. vlimits isn't only for mysql. It also uses the .qmailadmin-limits file for non-mysql implementations. So the structure & function vget_limits() is valid with or withou

Re: [vchkpw] vlimits patch [1/??]

2003-03-25 Thread Brian Kolaci
limits.c and called in the vauth_getpw() functions. What do you think? Brian > On Tuesday 25 March 2003 17:34, Brian Kolaci wrote: > > > i'm going to post (a very similar one) tomorrow for .qmail-limits files. > :) > i think this should stay in the vauth_get

Re: [vchkpw] Courier-imap not setting open-relay in vpopmail/qmail

2003-03-25 Thread Brian Kolaci
Works for me in 1.6.0. With the standard distribution, it won't work with authdaemond. I've patched mine to allow it to work with that. I don't see any problem if you use the raw authvchkpw way. Brian > Very strange. open_smtp_relay works for me in courier-imap > We have 1.5.1 version >

Re: [vchkpw] vlimits patch [1/??]

2003-03-26 Thread Brian Kolaci
> On Tuesday 25 March 2003 18:25, Brian Kolaci wrote: > > Do you think we need both domain permissions and > > default new user permissions for each type of permission? > > (This is the case for quotas, a domain limit and a default > > for new users). &

Re: [vchkpw] Domain quotas

2003-03-26 Thread Brian Kolaci
> Is it possible to set a quota for an entire domain using vpopmail? > > - Rick > > Yes. You will need vpopmail 5.3.19 or up. You need to populate the mysql "diskquota" or the .qmailadmin-limits file attribute "quota" to the size (in bytes). Brian

[vchkpw] Re: some info about the various limits needed

2003-03-26 Thread Brian Kolaci
Hi Justin, > hi.. > could you explain some of the vlimits to me? > i understand the disable_* > and i think i understand diskquota, maxmsgcount, defaultquota and > defaultmaxmsgcount plus the other max* stuff. > diskquota = a quota for the full domain, i.e > # du -sh ~vpopmail/do

Re: [vchkpw] Domain quotas

2003-03-26 Thread Brian Kolaci
The domain quota code (as well as the user quota code) is enforced in the vdelivermail program. It should be compatible with courier-imap, but not maildrop. It also works within qmailadmin. I'm not familiar with sqwebmail internals. Brian > Please correct me if I'm wrong... > > As far

Re: [vchkpw] Domain quotas

2003-03-26 Thread Brian Kolaci
vpopmail's quota code, so there could be strong computing differences. > > In such cases, users may overfill domain quota. > > Tonino > > At 26/03/03 26/03/03 -0500, Brian Kolaci wrote: > > >The domain quota code (as well as the user quota code)

Re: [vchkpw] Domain quotas

2003-03-26 Thread Brian Kolaci
> >When a message arrives and is delivered by vdelivermail, > >the quotas are enforced. It also updates the maildirsize > >file (and uses the maildir++ naming conventions) thereby > >updating the maildir++ quota usage that is shared amongst > >all maildir++ compatible software. > >

Re: [vchkpw] Domain quotas

2003-03-26 Thread Brian Kolaci
> >I don't believe the "Sent" folder keeps track of any size. > >I looked and don't see any "maildirsize" files in "Sent" folders. > >So it doesn't look like it counts against either user or domain > >quotas. You'll have to take a look at the spec to be sure. > >I don't believe the Tras

Re: [vchkpw] Domain quotas

2003-03-26 Thread Brian Kolaci
> > Even the courier readme recommends using system quotas. > > But since all email files are "owned" by the vpopmail user that doesn't > give you much flexibility if you want to implement quotas on a > per-domain or per-user basis. When you create the account, use vadddomain -u usern

Re: [vchkpw] When I updated user's quota, maildirsize file is not with correct quota

2003-03-27 Thread Brian Kolaci
> Hi baby_moon, > > > A user's quota is 1M, and some mails are in its Inbox, and I was checked > > its directory, the maildirsize file is there. > > When I changed this user's quota to 3M, after a mail come in, the > > quota's total number is same as before. Who knows how to solve

quota question on 4.9.5

2000-10-13 Thread Brian Kolaci
Hi, I have a quota question... I'd like to put "per domain" quotas using the O/S disk quotas, and use a separate uid/gid. I noticed in vdelivermail.c that each of the write() calls check for failure and return a temporary failure. Shouldn't there be a check for EDQUOT and bounce the message if

Re: quota question on 4.9.5

2000-10-14 Thread Brian Kolaci
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > Delivered-To: mailing list [EMAIL PROTECTED] > Date: Fri, 13 Oct 2000 17:08:08 -0500 > From: Ken Jones <[EMAIL PROTECTED]> > To: Brian Kolaci <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > Subjec

leaks in vchkpw.c

2000-10-27 Thread Brian Kolaci
In the file vchkpw.c: around line 386, in the function "host_in_locals(domain)" There's a memory and file pointer leak. OLD: int host_in_locals(domain) char *domain; { int i; char *tmpbuf; FILE *fs; tmpbuf = malloc(slen(QMAILDIR) + 18 ); sprintf(tmpbuf, "%s

Re: Bug in vchkpw

2000-11-03 Thread Brian Kolaci
make it static to be safe... > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > Delivered-To: mailing list [EMAIL PROTECTED] > Date: Thu, 02 Nov 2000 18:25:16 -0600 > From: Ken Jones <[EMAIL PROTECTED]> > To: Rick Morris <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > Subject

Re: RBL, ORBs etc filtering

2000-11-06 Thread Brian Kolaci
Hi, I've had the request to allow on a per-user, per-domain basis to either bounce or allow spam through. This may be an underlying request he had. I've started this, but found that I just dumped the RSS & ORBS list and only went for RBL. That was simpler. My approach was to update rblsmtbd.

Re: RBL, ORBs etc filtering

2000-11-06 Thread Brian Kolaci
> > ... that the user can filter on ... > > Brian Kolaci wrote: > > > I've had the request to allow on a per-user, per-domain > > basis to either bounce or allow spam through. This may > > be an underlying request he had. > > > &

Re: RBL, ORBs etc filtering

2000-11-06 Thread Brian Kolaci
> > It appears you assume that there is mail received > > to attach headers to. > > There is mail, if you use rblcheck instead (which is what I suggested). Ahh, but I would like to stop the spammers before they even get the mail through and chew up resources (memory, disk, etc.). > >

Re: RBL, ORBs etc filtering

2000-11-06 Thread Brian Kolaci
> > I use it -- I know how it works. However, I only block RBL hosts this > > way -- I allow the other messages through because of poor listings on > > the RSS, etc. and would appreciate a tool that just added such a mail > > header as I suggested. > > I don't want to start one of t

Re: quota question on 4.9.5

2000-11-13 Thread Brian Kolaci
> > Sounds good. I was hoping to stay away from domain based > quotas outside of the file system controls, and just let > the file system handle that for us. > > I like the bounce message idea of coming from the virtual > domain. That's a good one ;) > > When it's ready, se

Re: problem with mysqlclient

2000-11-22 Thread Brian Kolaci
To get around this (in both courier & vpopmail) you should preceed your "configure" command with LIBS="-R/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql" ./configure ... (or substitute the path to your mysql libraries). Thanks, Brian > Mailing-List: contact [EMAIL PROTECTED]; run b

Re: vpopmail system user feature breaks mail users ability to change passwords

2000-11-30 Thread Brian Kolaci
I fixed this in my copy last week... in vmysql.c and vcdb.c, you'll need to look for the lines: myuid = geteuid(); if ( myuid != VPOPMAILUID && myuid != 0 ) { and change them to: vget_assign(domain, NULL, 156, &uid, &gid ); myuid = geteuid(); if ( myui

qmailadmin

2000-12-14 Thread Brian Kolaci
Hi, A feature missing from qmailadmin is the ability to set the "catch all" box to an alias or forward rather than just the pop accounts. Many customers want their catch all to go to an external account like aol. Thanks, Brian

Re: Next 5.0 features

2001-02-01 Thread Brian Kolaci
I recommend updating the "load_limits()" function of qmailadmin to load/maintain the "limits" from a mysql table rather than a file. Also, an interface to maintain this table would be nice. While in the limits, maybe add a domain quota to the limits table too... Thanks, Brian On Thu, 1 Feb 2

Re: Next 5.0 features

2001-02-02 Thread Brian Kolaci
How about online documentation on how to use qmailadmin for end-users? The current way for people to learn is trial & error. > > We are looking at the features to add to the vpopmail 5.0 release. > > Here are the current major changes we are thinking about > > 1. vqmail-local sup

Re: Next 5.0 features

2001-02-02 Thread Brian Kolaci
I've updated my copy of qmailadmin that loads the limits from mysql already, if interested... Thanks, Brian > > I recommend updating the "load_limits()" function of qmailadmin > > to load/maintain the "limits" from a mysql table rather than > > a file. Also, an interface to maintain thi

Re: Next 5.0 features

2001-02-02 Thread Brian Kolaci
I've attached the limits.c file. It should be more robust and "create" the table if its not there. Brian > > Hi Brian > > > I've updated my copy of qmailadmin that loads > > the limits from mysql already, if interested... > Yes, I'm, can you send me the source ? > > > > - I

Re: Next 5.0 features

2001-02-02 Thread Brian Kolaci
I'd recommend going one further and allowing and "admin" admin tool that can be further protected by the webserver and executed to administer what the postmaster can do (such as limits on each domain). Brian > How about being able to add virtual domains through the mail admin tool?? > >

Re: Inter7 introduces new software: vQregister

2001-02-25 Thread Brian Kolaci
> On Fri, Feb 23, 2001 at 11:30:53AM -0600, [EMAIL PROTECTED] wrote: > > Maybe what I said wasn't as clear as it could > > have been. Exactly what you requested below, > > is the feature we will be adding. > > > > PHP is inefficient BTW. :) I can't believe anyone in web development

Re: Inter7 introduces new software: vQregister

2001-02-25 Thread Brian Kolaci
PHP is much more efficient than doing a fork/exec on any box, no matter what language its written in. It would be most efficient to write an apache module in C, or use mod_perl (with caching) or PHP. For simplicity, PHP is probably the best bet. > Port qmailadmin to PHP? Why? > > Oden

Re: Inter7 introduces new software: vQregister

2001-02-26 Thread Brian Kolaci
but I wouldn't want to use that in production system anyway. Thats why we have app servers. > Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > Delivered-To: mailing list [EMAIL PROTECTED] > Date: Mon, 26 Feb 2001 06:24:13 -0600 > From: [EMAIL PROTECTED] > To: Brian

Re: vpopmail fucntions?

2001-02-28 Thread Brian Kolaci
> i see someone out there has rewritten the vpopmail functions for > php(ie; vadduser,vdeluser,and so on.) this got me to thinking, has > anyone done the same in a perl module? or is thinking about it? How about java? I have a java webapp that administers & does accounting for ISP's and c

Re: function to list domains under vpopmail control

2001-03-14 Thread Brian Kolaci
Better bet: look in /var/qmail/users/assign and look at the lines in the format +domain.com-: ... otherwise you'll miss any that are set to use a specific username (for quota purposes). Brian > -BEGIN PGP SIGNED MESSAGE- > > Hello Sean, > > Wednesday, March 14, 2001, 7:42:2

Re: Re[2]: function to list domains under vpopmail control

2001-03-14 Thread Brian Kolaci
r to setup to forward all mail for a domain into a single unix account's mailbox. Thanks, Brian > Date: Wed, 14 Mar 2001 20:31:55 +0100 > From: Gabriel Ambuehl <[EMAIL PROTECTED]> > To: Brian Kolaci <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED], [EMAIL PR

Re: e-mail size

2001-03-15 Thread Brian Kolaci
> > Other doubt, can i set the e-mail size per domain? > > > > Because when i send a big e-mail to someone it is delivered back to me and i > > have the same quota as the first user so i don't get the message error, is > > there a way to qmail send only an error message instead of de

Re: e-mail size

2001-03-15 Thread Brian Kolaci
Forgive me. I may have misunderstood myself... Brian > on 3/15/01 4:45 PM, Brian Kolaci at [EMAIL PROTECTED] wrote: > > > I implemented a patch (not sure if its in the current > > distribution), but it looks for the file ".domainquota" > > and rea

  1   2   >