[vchkpw] Migrating users

2005-10-28 Thread Rick Root
I've recently gone through a server migration of 20 or so domains, none
of which had a ton of email in them.

Here's what I did:
1.  add domain to new server using vadddomain
2.  stop qmail-send on old server
3.  tar/gzip /home/vpopmail/domains/domaintomove.com directory
4.  Move to new server and untar into place, overwriting
existing vpasswd and postmaster files.
5.  vdeldomain on the old server
6.  add domain to rcpthosts on old server
7.  add domain:newserver to smtproutes on old server
8.  restart qmail-send
9.  change DNS.

This worked fine for my small server with few messages and few clients
that would notice anything strange.

However, I've been asked to do the same on another mail server with
several hundred domains and 15 gig of mail.  In order to transfer one
domain with lots of mail, I could potentially have to have the stuff
down for an extended period of time.  I don't want people reading email
while I'm tarring up their domain's email.

My question is... is there a better way than the steps I described above?

Rick


Re: [vchkpw] vchkpw and smtpauth

2005-10-18 Thread Rick Root

Rick Macdougall wrote:


Run qmail-smtpd as vpopmail


Tried that it breaks with qq errors.. nothing works then.  When I do 
that, qmail-smtpd is unable to accept ANY mail.


Rick



Re: [vchkpw] problem authenticating some domains

2005-01-12 Thread Rick Root
Tom Collins wrote:
Did you convert from cdb to MySQL?  Did you recompile QmailAdmin and 
Courier-IMAP (if you use it) after compiling vpopmail?
No, I haven't made any changes in a while.  Just using CDB...
Does vuserinfo work?
Flawlessly.
Are ~vpopmail/domains and its contents owned by vpopmail:vchkpw?
Yup.
Like I said this affects only a few domains on my server, not all of 
them (thank goodness)... in fact I've only verified that this one domain 
is having the problem, although one of my clients reported being unable 
to log in to qmailadmin which is what prompted the investigation.

 - Rick


[vchkpw] problem authenticating some domains

2005-01-11 Thread Rick Root
I'm having some problems authenticating users in certain domains.. but 
not others.

I can't log into qmailadmin, squirrelmail, and I can't even to basic 
authentication via pop3... all of which use vchkpw

I'm running vpopmail v5.4.0 on redhat 9
I can't tell WHY the authentication is failing, either
--
telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass 
-ERR authorization failed
Connection closed by foreign host.
--
Even if I reset the users password, it doesn't work.  This is happening 
on several domains.

Can anyone help me?
- Rick



Re: [vchkpw] reporting on my vpopmail system

2004-10-22 Thread Rick Root
Bill, thanks for that script!
One problem is that I have more htan 100 domains, and in several cases, 
more than 100 users per domain...

so I was inspired to write a script in perl that parses the output of 
vdominfo to retrieve the directory of each domain... and then parses 
each vpasswd file for user account directory information.

It generates a CSV for me.
http://www.webworksllc.com/vpopmailReport.txt
 - Rick


Re: [vchkpw] reporting on my vpopmail system

2004-10-22 Thread Rick Root
Bill Gradwohl wrote:
I've written some perl scripts, but I have to crack the book every time 
I've been writing perl scripts on and off since 1996, and I still can't 
remember the syntax for substr() =)

I suggest you post yours to the list as its a better base for people to 
use to expand on it for their own unique requirements. That's what I'm 
going to do, now that you've done most of the hard work. :-)  Thanks!
I did... and so did you!
 - Rick


Re: [vchkpw] reporting on my vpopmail system

2004-10-21 Thread Rick Root
Hello. (echo, echo!)  is anyone out there?
Rick Root wrote:
Does anyone have a script or application or something that will view my 
vpopmail directory structure and give me a report?

I would like to know.
accounts in each domain
# of messages per account
amount of disk space per account
amount of disk space per domain
Thanks.
 - Rick


[vchkpw] reporting on my vpopmail system

2004-10-20 Thread Rick Root
Does anyone have a script or application or something that will view my 
vpopmail directory structure and give me a report?

I would like to know.
accounts in each domain
# of messages per account
amount of disk space per account
amount of disk space per domain
Thanks.
 - Rick


Re: [vchkpw] Inter7 mail server doesn't have reverse DNS!

2003-03-27 Thread Rick Root
I don't want to be rude or anything... but what does this thread have to 
do with vpopmail?

Please take your holy wars elsewhere.

The original poster should've emailed the people at Inter7 rather than 
this list.

Rick




[vchkpw] Domain quotas

2003-03-26 Thread Rick Root
Is it possible to set a quota for an entire domain using vpopmail?

 - Rick




Re: [vchkpw] Spam Assassin implementation

2003-03-19 Thread Rick Root
Jeremy Gault wrote:
To me, the best method is using qmail-scanner, but that has
the side effect that you can't toggle on/off spam and virus filtering
on a per-user or per-domain basis.  As long as you can live with that
(I can) then I'd go with qmail-scanner. :)
Jeremy,

That's not entirely true, about not being able to toggle on/off spam 
filtering... you can configure spamassassin to whitelist mail to 
specific users and domains, but each time you change it MAY require a 
restart of spamd (it probably reads local.cf only on startup).

see: http://www.spamassassin.org/doc/Mail_SpamAssassin_Conf.html

In particular, the whitelist_to and associated configuration options. 
 They accept wildcards, so if you wanted to not spam filter any mail to 
the domain winworld.cc, you could just add whitelist_to [EMAIL PROTECTED]

I haven't actually tried this, so we're going on theory entirely here.

Admittedly, this solution is ENTIRELY off topic for vchkpw =)

 - Rick