[vchkpw] strange qmail/vpopmail problem

2005-02-14 Thread John P. Looney
I have a large mail server with about 18000 domains. There are also some servers that NFS mount /var/vpopmail/domains /var/qmail/control /var/qmail/users from the backend mail server. For some months, its been working fine - all incoming SMTP/POP requests go to the front end boxes, and it all

Re: [vchkpw] vpopmail mailing list tools

2005-02-14 Thread Ken Jones
On Saturday 12 February 2005 7:13 am, ed wrote: Hello, I have a number of system users who I would like to add to a virtual domain's mailing list. Does a command line util exist that can add users to this mailing list? You could use the ezmlm-sub command line program Ken Jones

Re: [vchkpw] hashing directories

2005-02-14 Thread Ken Jones
On Sunday 13 February 2005 9:38 pm, James Whitt wrote: My question is on the removal of empty hashing directories or at least their reuse. While running through our test server which we are setting up to replace our old system, I noticed that when domains are removed, they aren't being

Re: [vchkpw] strange qmail/vpopmail problem

2005-02-14 Thread Tom Collins
On Feb 14, 2005, at 6:33 AM, John P. Looney wrote: For 200 other cases, after its virus scanned, the mail servers accept the mail. In these two, it relays it back to the AV server, causing a loop. Both domain names are mentioned in: /var/qmail/control/rcpthosts /var/qmail/users/assign

Re: [vchkpw] vpopmail mailing list tools

2005-02-14 Thread Jeremy Kitchen
On Monday 14 February 2005 09:34 am, Ken Jones wrote: On Saturday 12 February 2005 7:13 am, ed wrote: Hello, I have a number of system users who I would like to add to a virtual domain's mailing list. Does a command line util exist that can add users to this mailing list? You could

Re: [vchkpw] strange qmail/vpopmail problem

2005-02-14 Thread Jeremy Kitchen
On Monday 14 February 2005 09:45 am, Tom Collins wrote: On Feb 14, 2005, at 6:33 AM, John P. Looney wrote: For 200 other cases, after its virus scanned, the mail servers accept the mail. In these two, it relays it back to the AV server, causing a loop. Both domain names are mentioned

[vchkpw] chkusr on gateway mx?

2005-02-14 Thread Paul Theodoropoulos
I'm a little confused about implementation of chkusr. i really want to implement it, as i'm tired of my paid bandwidth being chewed up by spammers sending tens of thousands of messages to non-existent addresses. instead of having a single, all-in-one server doing everything, i have three

Re: [vchkpw] problem installing vpopmail + mysql

2005-02-14 Thread Daniel Cañas
On Feb 14, 2005, at 1:18 AM, Daniel Cañas wrote: Hello, I am installing on debian sarge with mysql. ./configure is not warning me that I am not installing the libraries. ./configure didn't find my sql libraries ./configure \ --enable-roaming-users \

Re: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Ken Jones
On Monday 14 February 2005 12:11 pm, Paul Theodoropoulos wrote: I'm a little confused about implementation of chkusr. i really want to implement it, as i'm tired of my paid bandwidth being chewed up by spammers sending tens of thousands of messages to non-existent addresses. instead of having

RE: [vchkpw] hashing directories

2005-02-14 Thread Charles J. Boening
If it sees an exiting one will it skip it? -Original Message- From: Ken Jones [mailto:[EMAIL PROTECTED] Sent: Monday, February 14, 2005 7:36 AM To: vchkpw@inter7.com Subject: Re: [vchkpw] hashing directories On Sunday 13 February 2005 9:38 pm, James Whitt wrote: My question is on

Re: [vchkpw] hashing directories

2005-02-14 Thread Ken Jones
On Monday 14 February 2005 1:16 pm, Charles J. Boening wrote: If it sees an exiting one will it skip it? If it sees an existing .dir_control file then it will use the information contained therein. Meaning the directories will continue to be in the sub directorys. If you remove the

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

Re: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Tom Collins
On Feb 14, 2005, at 10:11 AM, Paul Theodoropoulos wrote: but reading the docs, it appears i have to install vpopmail on the server that's going to run chkusr, and i don't much like the idea of that. i'm a tad worried that i might suddenly find all incoming messages being delivered to 'local'

Re: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Charles Sprickman
On Mon, 14 Feb 2005, Paul Theodoropoulos wrote: but reading the docs, it appears i have to install vpopmail on the server that's going to run chkusr, and i don't much like the idea of that. i'm a tad worried that i might suddenly find all incoming messages being delivered to 'local' and going

[vchkpw] default quota being ignored

2005-02-14 Thread Charles Sprickman
Hi, I'm running vpopmail 5.4.7 and while I was working on a script that checks all user quotas and records some info so I can find dormant accounts. I came across a number of recent accounts that did not have any quota at all. Our default is 20MB. I've verified that we have a default value

Re: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Paul Theodoropoulos
At 10:42 AM 2/14/2005, you wrote: You could try one of the goodrcptto patches to qmail-smtpd. We have one we use for gateways to exchange servers. Basicly, you export a list of users to a file. Put that file on the gateway machines. With our patch we build a goodrcptto.cdb file. Then qmail-smtpd

Re: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Cream
Ken Jones wrote: You could try one of the goodrcptto patches to qmail-smtpd. We have one we use for gateways to exchange servers. Basicly, you export a list of users to a file. Put that file on the gateway machines. With our patch we build a goodrcptto.cdb file. Then qmail-smtpd checks the cdb

RE: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Charles J. Boening
Paul, I would think you're ok putting vpopmail on your gateway servers. Remember, the CHKUSR patch is only checking that the user exists to vpopmail. I take it you're using the smtproutes file to forward to the real server behind the gateway boxes? If so, you should be just fine. It's not going

RE: [vchkpw] hashing directories

2005-02-14 Thread Charles J. Boening
Right. But if you remove the .dir-control file and already have an existing structure, are the routines smart enough to reuse the space and skip where the directories are full? Or does it just start from scratch in which you would reuse the directories but it would be additive to existing

Re: [vchkpw] hashing directories

2005-02-14 Thread Ken Jones
On Monday 14 February 2005 4:15 pm, Charles J. Boening wrote: Right. But if you remove the .dir-control file and already have an existing structure, are the routines smart enough to reuse the space and skip where the directories are full? Or does it just start from scratch in which you would

Re: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Ajai Khattri
On Mon, 14 Feb 2005, 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

RE: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Ajai Khattri
On Mon, 14 Feb 2005, Jason Wilkinson wrote: 2) the file system (to check the ~qmail/control files and .qmail- files for aliases and catchalls) rsync is your friend ;-) --

RE: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Jeff Koch
We are doing exactly this with our gateway MX server. First we replicate the MySQL database then we use rsync running every 30 minutes to just sync the first couple of directory levels from the /home/vpopmail/domains/x/domain.com on the vpopmail server (this picks up the aliases, mailing

RE: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Charles J. Boening
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. Charlie -Original Message- From: Jason Wilkinson

Re: [vchkpw] default quota being ignored

2005-02-14 Thread Tom Collins
On Feb 14, 2005, at 12:37 PM, Charles Sprickman wrote: Any ideas? Are you using replication? There might be a chance that vpopmail is trying to load the user record so soon after writing it, that the read fails. Go into vpopmail.c and look for this: vsetuserquota (username, domain, quota); And

RE: [vchkpw] chkusr on gateway mx?

2005-02-14 Thread Paul Theodoropoulos
thanks to everyone for the insights. while i still think it's kind of 'ugly' to have to replicate a portion of the vpopmail directory structure on my MXes, i suppose the benefits will surely outweigh the 'ugliness'. At 03:07 PM 2/14/2005, you wrote: We are doing exactly this with our gateway