[vchkpw] vmoduser -w

2005-09-28 Thread Jason Wilkinson
Title: vmoduser -w






Sorry if I just haven't been able to find the answer to this. I see that vmoduser -w is already in place to "( set no web mail access flag )" but I see no references to which web mail interface this was designed to be used with. Is this just a placeholder for future use, or is there a web mail package that currently ties into this check during auth?

TIA


jason



<>

RE: [vchkpw] Spotty behavior authenticating: MySQL server has gone away

2005-09-09 Thread Jason Wilkinson
Greg Swift wrote:
> Dallas L. Engelken wrote:
>>> -Original Message-
>>> From: ISP Lists [mailto:[EMAIL PROTECTED]
>>> Sent: Wednesday, August 24, 2005 10:21 AM
>>> To: vchkpw@inter7.com
>>> Subject: Re: [vchkpw] Spotty behavior authenticating: MySQL server
>>> has gone away 
>>> 
>>> 
 Something peculiar happened to mysql during a reboot and
 
>>> now vpopmail
>>> 
 authdaemond is having trouble completing authentications
 
 /var/log/maillog says:
 
 Aug 24 08:36:15 hostname authdaemond: vmysql: sql error[3]: MySQL
 server has gone away 
 
 
 This problem is spotty though.  I have several successful
 authentications before this error occurs.  I then have to restart
 mysqld before I can get any other authentications to succeed.  I am
 still able to use the mysql client to connect to the server
 
>>> for an interactive session.
>>> 
 What seems strange to me is that there are only two mysql
 
>>> daemons running:
>>> 
 root 23923  0.0  0.1  5060 1108 pts/0S09:13
 
>>> 0:00 /bin/sh
>>> 
 /usr/bin/safe_mysqld --defaults-file=/etc/my.cnf
 --pid-file=/var/run/mysqld/mysqld.pid
 
 mysql23956  0.0  0.5 38620 5656 pts/0Sl   09:13   0:00
 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/var/lib
 --datadir=/var/lib/mysql --user=mysql
 --pid-file=/var/run/mysqld/mysqld.pid --skip-locking
 
 
 Every other instance of mysql 3.23.x I've ever run has
 
>>> about 10 child
>>> 
 threads running, so this seems strange to see only one child
 thread. 
 
 I have not updated any packages on this box recently.  None
 
>>> at all, I
>>> 
 swear.
 
 Suggestions to investigate?  Googling on the "MySQL server
 
>>> has gone away"
>>> 
 is a wild goose chase.
 
 
 
 
 
 
>>> Hrm, rebooting the box seems to have helped.  Still same
>>> number of mysql daemons, but they're answering now...  Damned
>>> strange.  dmesg on reboot didn't show any ext3 errors being
>>> fixed - I was wondering if this was a disk thing.
>>> 
>>> Thoughts still welcome and appreciated on this.
>>> 
> Well.. just for reference (cause it took me a while to figure this one
> out)... if your box is running with multiple name servers configured
> for resolution, and the primary stops responding, you will see this
> same issue.  What happens is the slight delay added to the auth
> sequence as the mysql fails to the secondary resolver causes the
> vpopmail to fail the connection.
> 
> 
> To be more specific this will occur:
> 
> 1: primary name server fails
> 2: When authentication to DB it takes a longer time due to system
> having to fail to secondary resolver.
> 3: vpopmail's auth to db starts failing due to timeouts (mysql takes
> to long to respond, but does respond), vpopmail tries harder to
> connect to db, connection count sky rockets (I saw upwards of 1400
> connections) and in turn the connections do not close properly.
> 4: db locks up hard.
> 5: once you quiet down vpopmail (easiest way was to disable incoming
> access sadly), test messages show that an occasional message wil lgo
> through, but the rest receive the "MySQL server has gone away"
> message. 
> 6. Trying to auth to db, albeit slightly slower than normal, responds
> and allows auth.  Once in runs perfectly.
> 7. You realize that its primary dns server is off for whatever reason,
> start it, and voila no problem.
> 
> 
> Now admittedly, previously I've seen the same thing but for other
> reasons, this was just the more obscure annoying one.
> 
> Yes I realize that a local dns server make a lot of sense for this
> situation, but if the named on that box stops, and it has your other
> name servers as secondary, WHEN are you gonna realize that?  Most
> people would not add that to their monitoring.  LOTS of fun.
> 
> -Greg

Or, I would think, you could just add the server/client to the hosts file(s)
and skip DNS entirely. Or use IP addresses.




RE: [vchkpw] vpopmail-5.4.10 with rpm version of Mysql.

2005-06-14 Thread Jason Wilkinson
Samir Noshy wrote:
>> -Original Message-
>> From: Ken Jones [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, June 14, 2005 5:25 PM
>> To: vchkpw@inter7.com
>> Subject: Re: [vchkpw] vpopmail-5.4.10 with rpm version of Mysql.
>> 
>> On Tuesday 14 June 2005 3:20 am, Samir Noshy wrote:
>>> Hi Everybody,
>>> 
>>> How Can I configure and make vpopmail-5.4.10 with an Build rpm
>>> version of Mysql ?? 
>>> 
>>> when trying to do that , it gives me an errors , that it cannot find
>>> the incdir and the libdir of my mysql installation.
>> 
>> Make sure you install the mysql devel rpm
> 
> It was not installed.
> 
> Is this enough to configure and make vpopmail without setting the
> incdir and the libdir paths ?
> 
> Thanks a lot and kind regards,
> 
> Samir Noshy.

Yes, it should be. I've installed MySQL via rpm and have no problems running
vpopmail. I have the following packages installed...

MySQL
MySQL-client
MySQL-shared
MySQL-devel

...and it's running without issue.

-jw-




RE: Re[4]: [vchkpw] smtp rcpt check

2005-05-12 Thread Jason Wilkinson
Sylwester S. Biernacki wrote:
> On Friday, May 13, 2005, 12:17:46 AM, Jason wrote:
> 
>> Yes, we use both. For SMTP Auth we use the shupp large patch
>> (http://www.shupp.org)
> 
> I've patched (most of that manually) to use both smtp-auth from
> elysium.pl and Chkusr and it works preety well with my two mail
> servers connected to nfs storage and mysql cluster (15 minutes at
> midnight and 150 accepted and 60 rejected mails - that's quite well).
> 
> Thanks for your advice.

Great! Know that Bill Shupp's patch incorporates both chkuser and smtp-auth
(along with several other important features and applies directly against
netqmail. I'd say it's one of the best all around patches that I've seen as
far as not including too much fluff.

-jw-




RE: Re[2]: [vchkpw] smtp rcpt check

2005-05-12 Thread Jason Wilkinson
Sylwester S. Biernacki wrote:
> On Thursday, May 12, 2005, 11:31:48 PM, DAve wrote:
>>> that's a good idea - I will check it.
>>> Did you test it or use it ?
>>> 
> 
>> We currently use it on three machines and are quite happy with it.
> 
> Do you use also qmail-smtpd auth module or run only pop-before-smtp
> built into vchkpw package ?

Yes, we use both. For SMTP Auth we use the shupp large patch
(http://www.shupp.org)




RE: [vchkpw] smtp rcpt check

2005-05-12 Thread Jason Wilkinson
Sylwester S. Biernacki wrote:
> Hello Ken and other people,
> 
>   However, my question is not connected with that problem. I'm looking
>   for implementation of qmail-smtpd with vchkpw which will check if
>   recipient of the message exists and if not gives 553 error (no
>   mailbox here by that name).
> 
>   I've found the following
>   http://www.soffian.org/downloads/qmail/qmail-smtpd-doc.html
>   but it seems to work with fastforward and checks for users in
>   .cdb file.
> 
>   Do you know any other idea for recipient checking based on vchkpw ?
>   It would be great if vchkpw have possibility to work with that.
> 
>   thanks for your quick answer :)

Have you looked at the chkuser package?

http://www.interazioni.it/opensource/chkuser/




RE: [vchkpw] How disable non-webmail IMAP access?

2005-05-05 Thread Jason Wilkinson
Alessio Cecchi wrote:
> I have a server with qmail+vpopmail 5.4.10, courier-imap 4.0.2,
> sqwebmail 5.0.1 and horde.
> 
> I need to disable the IMAP access but no the webmail access. In fact
> if i disable IMAP, with horde can't login.
> 
> I have seen vmoddomlimits and vmoduser but i'm able only to disable
> the IMAP global.
> 
> I can disable webmail access for sqwebmail with:
> 
> /home/vpopmail/bin/vmoddomlimits -g w skye.it
> and
> /home/vpopmail/bin/vmoduser -w skye.it
> (what is the difference?)
> 
> 
> /home/vpopmail/bin/vmoduser -i skye.it should disable IMAP access but
> not for Webmail, but for me dont'work.
> 
> What is wrong?

Can you use iptables to firewall access to that port from anywhere other
than your horde server?




RE: [vchkpw] vpopmail-mysql problem

2005-05-02 Thread Jason Wilkinson
Andrea Benedetto wrote:
> We have a big mail server which authenticate users against mysql
> (mysql server 4.1.10 and mysql client 4.1.10). 
> Some times we can see in /var/log/qmail/smtpd/current this line:
> 
> 2005-04-04 11:43:50.962470500 vmysql: sql error[3]: MySQL server has
> gone away 
> 
> and after this qmail-server says that the mail box doesn't exists.
> 
> We have read that it could be a timeout error, because vpopmail keep
> alive conections with mysql server but mysql doesn't (wait_timeout =
> 28800). But probably this isn't the case, because in the log file we
> can see that the error above doesn't occur every 8 hours but it
> appears at every time.
> 
> Here an example:
> 2005-04-04 01:30:47.096746500 vmysql: sql error[3]: MySQL server has
> gone away 2005-04-04 08:25:35.172402500 vmysql: sql error[3]: MySQL
> server has gone away 2005-04-04 08:25:38.270531500 vmysql: sql
> error[3]: MySQL server has gone away 2005-04-04 11:45:26.640551500
> vmysql: sql error[3]: MySQL server has gone away 2005-04-04
> 17:24:29.706105500 vmysql: sql error[3]: MySQL server has gone away
> 2005-04-04 19:30:11.903721500 vmysql: sql error[3]: MySQL server has
> gone away In other days we haven't any errors.  
> 
> Can you help us?
> 
> Thanks,
> andrea

Is it possible that you're hitting your MySql max connections? The default
is 100 simultaneous connections.

Try running this...
mysql -uroot -p -e 'show status;'|grep Max_used_connections

If you haven't restarted MySql since the problem was last seen...and if it
shows 100...then that is your problem.

As a side note, I reported the fact that maxing out connections bounced mail
to the devs some time ago. I think they've fixed that in more recent
releases.

http://www.mail-archive.com/vchkpw@inter7.com/msg19810.html




RE: [vchkpw] vaddaliasdomain question

2005-04-05 Thread Jason Wilkinson
Andrej wrote:
> Hello List,
> 
> I'm using vpopmail-5.4.10 and netqmail-1.05 - thanks for the software
> :-) 
> 
> I have one question concerning the vaddaliasdomain command. Where can
> I find the assignment between the real and alias domain when I add an
> alias domain? By adding an alias domain, the alias domain is defined
> in /var/qmail/control/virtualdomains, but this looks not as an
> assignment to the real domain... I can't find how vpopmail know where
> to deliver an mail if the mail is sent to an alias domain...
> 
> The reason why I need to know this is that I have to migrate some
> domains to a new server.
> 
> Thanks in advice for your answers,
> 
> Andrej.

The primary/secondary domain association is recorded in the
/var/qmail/users/assign file.




RE: [vchkpw] moving maildirs to a new home

2005-03-22 Thread Jason Wilkinson
Blake wrote:
> Jason Wilkinson wrote:
> 
>> Bob Ababurko wrote:
>> 
>> 
>>> Unfortunately, I did a qmailrocks install this time around and it
>>> used some abnormail uid:gid of 1009:1004, respctively.
>>> 
>>> When you say, "change UID and
>>> GID accordingly"...what do you mean by that?  I have changed the
>>> assign uid:gid to 1009:1004, but that does not seem to work.
>>> 
>>> I believe that something else other than the assign file is is
>>> causing my original 89:89 files on the 1009:1004 machine to talk
>>> back. 
>>> 
>>> 
>> 
>> Have you tried "re-chowning" the files to be truly owned by the new
>> UID/GID? 
>> 
>> I'm just making this up as I go, so it's almost certain not to work
>> as is...but try something like. 
>> 
>> chown 89:89 `find /home/vpopmail -user 1009` \
>> && chown 89:89 `find /home/vpopmail -group 1004`
>> 
>> OR
>> 
>> chown -R --from=1009 89 /home/vpopmail
>> chown -R --from=:1004 :89 /home/vpopmail
>> 
>> 
>> 
>>> I am not aware of what, but something tells me that I will
>>> figure it out before it all is over.  I really would rather figure
>>> out how this works as oppsed to adding all the accounts by hand. 
>>> Not only is this ugly, I am not aware of how my system is working
>>> while I have a perfect chance to learn.
>>> 
> Back to the original rsync.. I think that if you use the right options
> when you copy the dir's you should be fine.. This is how I do it and
> it makes the files EXACTLY the same
> 
> rsync -ptog --force --recursive --delete 
> rsync://10.0.0.1/vpopdomains/ /home/vpopmail/domains
> 
> Of course you will have to change the ipaddress of the master server
> and the share name. But those are the options that work great for me.
> 
> thanks
> -Blake-

I think that the problem with that in this situation is that the -p switch
to rsync will set the permissions to the same UID/GID as what it on the
sending machine as a numeric value (89:89 normally). When the sending
machine receives the files it will set them to 89:89 but there will be no
corresponding group. I've done the exact same thing as you outline above
only you have to make sure that the UID/GID numeric values are the same (ie,
vpopmail=89 vchkpw=89) on both sides _before_ you do the file transfer.

If you do the transfer and _then_ set the values to match you will have to
"reset" the permissions as I've outlined above to make everything jive
again.





RE: [vchkpw] moving maildirs to a new home

2005-03-22 Thread Jason Wilkinson
Bob Ababurko wrote:
> 
> Unfortunately, I did a qmailrocks install this time around and it
> used some abnormail uid:gid of 1009:1004, respctively.
> 
> When you say, "change UID and
> GID accordingly"...what do you mean by that?  I have changed the
> assign uid:gid to 1009:1004, but that does not seem to work.
> 
> I believe that something else other than the assign file is is
> causing my original 89:89 files on the 1009:1004 machine to talk
> back.  

Have you tried "re-chowning" the files to be truly owned by the new UID/GID?

I'm just making this up as I go, so it's almost certain not to work as
is...but try something like.

chown 89:89 `find /home/vpopmail -user 1009` \
&& chown 89:89 `find /home/vpopmail -group 1004`

OR

chown -R --from=1009 89 /home/vpopmail
chown -R --from=:1004 :89 /home/vpopmail

> I am not aware of what, but something tells me that I will
> figure it out before it all is over.  I really would rather figure
> out how this works as oppsed to adding all the accounts by hand.  Not
> only is this ugly, I am not aware of how my system is working while I
> have a perfect chance to learn. 





RE: [vchkpw] vpopmail + ldap

2005-03-18 Thread Jason Wilkinson
Mike Husmann wrote:
> 
>   I tried to compile it, but that fails, complaining about undefined
> references to ldap functions.  The documentation I've read says to
> stay away from using it, especially in a production environment.
> 
> So I turn back to ldap:
> Is it possible/feasible to extend the AD schema to make it work?
> 
> Thanks,
> 
> Mike

I wouldn't mess with the schema. Have you thought about bridging to LDAP
from RADIUS? IIRC you can get a fairly standard RADIUS server out of AD.
Perhaps you can get a RADIUS to LDAP bridge going. Or even a script that
dumps from RADIUS into MySql.

I'm not an LDAP expert, but I've always wondered if it was possible.




RE: [vchkpw] Message size per domain

2005-03-06 Thread Jason Wilkinson
Arthur Kerpician wrote:
> How can I implement a message size limit per virtual domain, somehow
> like /var/qmail/control/databytes works? In other words, I want to
> have different message size limits per every virtual domain hosted by
> the same server.


vmoduser 
vmoddomlimits




RE: [vchkpw] hashing directories

2005-02-22 Thread Jason Wilkinson
Tom Collins wrote:
> On Feb 22, 2005, at 12:46 AM, Rick Widmer wrote:
> 
> This program caches the modification time of .dir-control.  When it
> runs, it checks to see if .dir-control has been modified (by
>   vpopmail). If so, it rescans the domain directory to find the first
> slot to put a new domain and updates .dir-control appropriately.

How does the directory hashing work with the MySQL back end? For instance,
where does it look in the db to find where the next directory should be
created?



RE: [vchkpw] Create account with SQL query

2005-02-17 Thread Jason Wilkinson
Tom Collins wrote:
> On Feb 17, 2005, at 6:07 AM, Brad Pinkston wrote:
>> I tried to reopen this old thread.  Quick question about creating
>> accounts with SQL queries.  If you can create accounts using a PHP,
>> PERL interface by using SQL queries, then it would be assumed that
>> you will also remove accounts using this method.  By removing a
>> user's record will vpopmail somehow automagically remove the maildir
>> for the user at some time, or does any custom interface need to take
>> into account the need to clean up the filesystem?
> 
> It would take additional work.
> 
> You could create another table of users scheduled for deletion, and
> have a cron job running as root that queried that table hourly to
> delete the mail for that user.  Or, just use the existing table and
> set the users flags to a special value (one that bounces mail,
> doesn't allow POP/IMAP/SMTP/Webmail access, etc.).  Have your cron
> job search for those records, delete the files for the user and then
> delete the record.  

Or just have your app exec ~vpopmail/bin/vdeluser




RE: [vchkpw] chkusr on gateway mx?

2005-02-15 Thread Jason Wilkinson
Ajai Khattri wrote:
> On Tue, 15 Feb 2005, Jason Wilkinson wrote:
> 
>> This is was thinking about doing. I'm not sure why everybody is
>> replicating the database and mail structure when you can just export
>> it via NFS (assuming you're on the local net) and be reading live
>> data. 
> 
> Its not a good idea because if your primary goes down you're screwed.
> 
> (At least with using rsync you have a backup that still does chkusr
> on incoming mail even if your primary MX is hosed). 

If my primary goes down...I'm screwed in more ways than this. :)





RE: [vchkpw] chkusr on gateway mx?

2005-02-15 Thread Jason Wilkinson
Charles J. Boening wrote:
>> Paul Theodoropoulos wrote:
>>> is there any way to run chkusr on these 'gateway' MX servers? i use
>>> MySQL authentication. The mysql server is the pop server, and i
>>> replicate that on the primary MX (where the majority of mail comes
>>> in). is there any way to 'hook' into the authentication info in the
>>> replicated database directly? that woudl be ideal, as it should be
>>> quite fast. 
>>> 
>> This isn't possible with the current version of chkuser. I'm wanting
>> to do the exact same thing. Vpopmail currently needs access to 1) the
>> authentication scheme (MySQL in your case) 2) the file system (to
>> check the ~qmail/control files and .qmail- files for aliases and
>> catchalls)

> If this is the case, why not NFS mount (read-only) the real vpopmail
> directory structure so you can do CHKUSR lookups.  If it's read-only
> then there shouldn't be any impact other than network traffic to the
> real backend server.   
> 

This is was thinking about doing. I'm not sure why everybody is replicating
the database and mail structure when you can just export it via NFS
(assuming you're on the local net) and be reading live data. As for the
database, you can configure vpopmail to use any MySQL server when checking.
Just have it call over to it's neighbor instead of checking itself.




RE: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Jason Wilkinson
Paul Theodoropoulos wrote:
> is there any way to run chkusr on these 'gateway' MX servers? i use
> MySQL authentication. The mysql server is the pop server, and i
> replicate that on the primary MX (where the majority of mail comes
> in). is there any way to 'hook' into the authentication info in the
> replicated database directly?
> that woudl be ideal, as it should be quite fast.
> 
This isn't possible with the current version of chkuser. I'm wanting to do
the exact same thing. Vpopmail currently needs access to 1) the
authentication scheme (MySQL in your case) 2) the file system (to check the
~qmail/control files and .qmail- files for aliases and catchalls)

Also, keep in mind that you can set up vpopmail/chkuser to check against the
primary MySQL database. There is no need to replicate it.

I've been told that the Antonio wants to build client/server functionality
into chkuser but hasn't been able to find the time. I for one look forward
to seeing it.




RE: [vchkpw] Vpopmail and MySQL

2005-02-02 Thread Jason Wilkinson
Bill Wichers wrote:
>> If I increase the connection limit in qmail to 100, when the limit
>> hits about 60 I get the following :
>> 
>> 2005-01-25 01:01:34.011714500 vmysql: error creating table
>> 'dir_control': MySQL server has gone away
>> 2005-01-25 01:01:34.011775500 vmysql: sql error[b]: MySQL server has
>> gone away 
>> 
>> Any idea how to fix this problem?
> 
> You probably need to up the max number of connections allowed by
> MySQL. If I am remembering correctly, it defaults to 100 simultaneous
> connections. Remember that with a MySQL backend, vpopmail will be
> doing a *lot* of db activity that MySQL is going to be involved in.
> 
>  -Bill
> 

I had horrible load problems when logging to MySQL. I started logging to
syslog and everything ran much more smoothly. Then again...I take in about
3-7 pop connections a second and don't have a beefy MySQL server.

Unless you have a specific reason to log to MySQL, I would recommend that
you log to syslog and be done with it.

If you must log to MySQL, I'm sure that max connections are the problem.

-jw-





[vchkpw] Mail gateway to reject mail to invalid users

2004-12-30 Thread Jason Wilkinson
Title: Mail gateway to reject mail to invalid users






I'm having a problem and was wondering if any of you had ideas on what I could do.


I have one primary mail server and one spam filtering server. My mail server runs vpopmail/mysql/chkuser. It all works very well. 

Right now the filtering server is accepting all mail for domains that reside on the mail server...then the mail server is rejecting the message if it is bound for an invalid account. This is causing a huge backlog of messages that can't be bounced and just sit in the queue on the filtering server until they time out.

What I need to do is to find a way to set up a mail gateway that will reject messages (chkuser style) and put it in front of my spam filtering server. Since my filter is proprietary, it doesn't tie into vpopmail/mysql. The problem that I'm having right now is that chkuser accesses the domain directory directly to check for catchall accounts. Is there a way that I can set up a simple gateway that will make sure that account is valid _only using mysql calls_ before accepting the messageā€¦then forward it on to the filtering server? I do set a pw_catchall filed in the database when a catchall is set. I just haven't seen anything that will make a decision based on the contents of that field.

Thanks in advance for any ideas,


-jw-



<>

RE: [vchkpw] just noticed something with chkuser ....

2004-11-24 Thread Jason Wilkinson
Jeremy Kitchen wrote:
>> 
>> One general question, before I publish 2.0.8:
>> 
>> Does it make sense to have format checking enabled as default?
> 
> I think it's beyond the scope of the functionality of the chkuser
> patch, to be honest.
> 
> Perhaps the code could be split up into chkuser, which does its
> purpose in validating local recipients, and another patch that
> attempts to perform some checks on the envelope sender.
> 
> -Jeremy

I would tend to agree. Leave the power tools off by default and document
them well.

Thank you for your work.

-jw-




RE: [vchkpw] MySql load causes bounced mail

2004-11-17 Thread Jason Wilkinson
Jason Wilkinson wrote:
> Hello all,
> 
> I've searched and wasn't able to come up with an answer to this
> question. Though I did see a reference to it in the Bug Lists (
> http://tinyurl.com/59gos ).
> 
> We're hitting a wall with our MySql install and our traffic is
> filling up all available MySql connections. We are currently working
> to tune our MySql install. Until that happens, I was wondering if
> there was a reason that vpopmail bounces all mail with a 5xx response
> when it can't connect to MySql.
> 
> I know that I can increase my max_connections in MySql...it just
> seems as if vpopmail should respond with a 4xx response so that valid
> mail isn't bounced.
> 
> I will admit that I am using an old version of vpopmail (5.2). If
> this has been fixed I'll work towards an upgrade.
> 
> Thanks in advance,
> 
> -jw-

Can anybody tell me if this issue is being addressed in future releases?




RE: [vchkpw] High server load with large number of files in maildir

2004-11-02 Thread Jason Wilkinson
Jeremy Kitchen wrote:
> On Tuesday 02 November 2004 11:21 am, Bill Wichers wrote:
>> I recently have been moving user domains from an old qmail+vpopmail
>> server to a new one due in large part to hugely increased spam
>> filter load (grumble). Anyway, I found one user with some 5+ GB of
>> presumably all spam in their postmaster account (which was a catch
>> all). The new box defaults to "set no catch-all" for exactly this
>> kind of reason... 
> 
> yup.
> 
>> Here's the problem though: I saw a very significant drop in server
>> load when I deleted the hundreds of thousands of messages in that
>> one user account.
> 
> in fact, you'd probably see a huge decrease in load simply by
> removing the catchall.  One of our customers had, I estimated (simply
> by how long it took to remove the directory) over 15 million emails
> in their catchall account.  I disabled the catchall and their 200k
> message queue cleaned out in less than 10 minutes.
> 
>> The server was apparently spending a lot of time dealing with
>> deliveries to this one very full mailbox. This concerns me a bit
>> since we're running IMAP now and I could see mailboxes with
>> thousands of legitimate messages building up over time, and would
>> not want to bog the system down if I have users that never delete
>> messages. 
>> 
>> Does anyone know of a way to alleviate this problem without forcing
>> quotas?
> 
> use a non-ancient filesystem that doesn't slow down with more than a
> few thousand files in a directory.  I have 22000 emails in one imap
> folder on my server (and tens of thousands on other folders) and have
> zero slowdown with reiserfs.
> 
> Some examples of non-ancient filesystems:
> reiserfs
> UFS with DIR_HASH
> xfs
> 
> -Jeremy

What version of reiserfs are you most comfortable using at the moment?

-jw-




RE: [vchkpw] Wanted: POP3 server

2004-10-26 Thread Jason Wilkinson


> -Original Message-
> From: Bob Ababurko [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 26, 2004 12:58 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [vchkpw] Wanted: POP3 server
> 
> 
> At 12:52 PM 10/26/2004, you wrote:
> >how much research did you do before posting this question?
> >
> >http://www.qmailrocks.org
> >http://www.google.com/search?hl=en&lr=&q=qmail+pop3
> >
> >
> >
> 
> >Well, isn't that specialmy first post and someone is 
> there, ready to 
> >flame me.
> 
> the question really had to do with a POP3 server implemented with 
> vpopmail.  Do all of them do this?  Qmailrocks deals with an 
> IMAP server, 
> if my memory serves meI dont think is going to help me.
> 
A working qmail rocks install includes everything. Or you can take the
pieces that you need out of the instructions.

> I just needed help in the right direction, 

I did provide you with help to get you going. The first link when you type
"qmail pop3" into google will help you. As well as reading the actual
vpopmal install documentation (of which step 12 is titled "How to use vchkpw
with qmail-pop3d server")



>less any lip from the mailing 
> list police.  Way to set the climateyou and cazabon 
> should hang out.
> 

I'm not trying to be the mailing list police. I'm happy to help out (as I
did when I provided you with direction) those new to the community. So are
others on the list (who have replied to your post). At least do us the favor
of doing just a little bit of reasearch before you ask.

> 
> 
> 
> 
> >Hello-
> >
> >I have installed vpopmail on a server along with courier 
> IMAP server.  The
> >users are now complaining that they have all kinds of 
> problems(although, I
> >do not) using the new protocol so I need to implement a POP 
> server.  Now, I
> >see that people have implied that vpopmail can be used as a POP
> >serveris this true?  I can't see that.  What I need to 
> know is what
> >POP3 server will be able to work along side of vpopmail 
> whereas I have many
> >virtual mail domains and users configured using this 
> wonderful piece of
> >software.
> >
> >I know this seems like an easy question, but it is not clear to me.
> >
> >thanks,
> >Bob
> 
> 




RE: [vchkpw] Wanted: POP3 server

2004-10-26 Thread Jason Wilkinson
how much research did you do before posting this question?

http://www.qmailrocks.org
http://www.google.com/search?hl=en&lr=&q=qmail+pop3



-Original Message-
From: Bob Ababurko [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 26, 2004 11:48 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Wanted: POP3 server


Hello-

I have installed vpopmail on a server along with courier IMAP server.  The 
users are now complaining that they have all kinds of problems(although, I 
do not) using the new protocol so I need to implement a POP server.  Now, I 
see that people have implied that vpopmail can be used as a POP 
serveris this true?  I can't see that.  What I need to know is what 
POP3 server will be able to work along side of vpopmail whereas I have many 
virtual mail domains and users configured using this wonderful piece of 
software.

I know this seems like an easy question, but it is not clear to me.

thanks,
Bob





[vchkpw] MySql load causes bounced mail

2004-10-21 Thread Jason Wilkinson
Hello all,

I've searched and wasn't able to come up with an answer to this question.
Though I did see a reference to it in the Bug Lists (
http://tinyurl.com/59gos ).

We're hitting a wall with our MySql install and our traffic is filling up
all available MySql connections. We are currently working to tune our MySql
install. Until that happens, I was wondering if there was a reason that
vpopmail bounces all mail with a 5xx response when it can't connect to
MySql. 

I know that I can increase my max_connections in MySql...it just seems as if
vpopmail should respond with a 4xx response so that valid mail isn't
bounced.

I will admit that I am using an old version of vpopmail (5.2). If this has
been fixed I'll work towards an upgrade.

Thanks in advance,

-jw-