Re: [vchkpw] testing methods

2003-11-04 Thread Charles Sprickman
On Thu, 30 Oct 2003, Charles Sprickman wrote:

> Hi,
>
> My question is this, if I do "vaddomain isp.com" so that I can test my
> syncing script, and I want to keep qmail in the dark about the existence
> of this domain, can I simply pull the "isp.com" entries out of the
> "rcpthosts"  and "assign" files?  Meaning, I don't want people using
> "test.isp.com" to have their mail to "isp.com" delivered locally.  Would
> that work?

For what it's worth, removing from assign and virtualdomains is also
necessary (at least in my case where the test users are using the same
server for outgoing smtp).  Otherwise, qmail-send still tries to deliver
locally.

Charles




Re: [vchkpw] testing methods

2003-11-03 Thread Songrit Srilasak

- Original Message - 
From: "Tom Collins" <[EMAIL PROTECTED]>
To: "vpopmail list" <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 7:02 PM
Subject: Re: [vchkpw] testing methods


> 
> Leave it in assign so vpopmail/qmailadmin will still work, but remove 
> it from rcpthosts (or morercpthosts and then rebuild morercpthosts.cdb).

   How to rebuild morercpthosts.cdb and /var/qmail/users/cdb

>> 




Re: [vchkpw] testing methods

2003-11-03 Thread Tom Collins
On Friday, October 31, 2003, at 06:36  AM, Charles Sprickman wrote:
My question is this, if I do "vaddomain isp.com" so that I can test my
syncing script, and I want to keep qmail in the dark about the 
existence
of this domain, can I simply pull the "isp.com" entries out of the
"rcpthosts"  and "assign" files?  Meaning, I don't want people using
"test.isp.com" to have their mail to "isp.com" delivered locally.  
Would
that work?
Leave it in assign so vpopmail/qmailadmin will still work, but remove 
it from rcpthosts (or morercpthosts and then rebuild morercpthosts.cdb).

It should be easy enough to test -- just telnet localhost 25 and see if 
it accepts mail for the domain (you might need to restart qmail-smtpd, 
or qmail-send after making the changes).

--
Tom Collins  -  [EMAIL PROTECTED]
Note: The Tom Logic offices will be closed October 23 to November 18.
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



[vchkpw] testing methods

2003-10-30 Thread Charles Sprickman
Hi,

I'm in the middle of migrating a large site to vpopmail (currently running
sendmail).

I've got a script to do the bulk add for the main domain (call it
"isp.com").  I also currently have some staff members routed here with the
domain "test.isp.com", so I don't want to break anything for them.

My question is this, if I do "vaddomain isp.com" so that I can test my
syncing script, and I want to keep qmail in the dark about the existence
of this domain, can I simply pull the "isp.com" entries out of the
"rcpthosts"  and "assign" files?  Meaning, I don't want people using
"test.isp.com" to have their mail to "isp.com" delivered locally.  Would
that work?

If not, my other choice is to put the new users under "test2.isp.com" and
then later move them to "isp.com" when I do the cutover.  Are there any
interesting "gotchas" to moving a domain like that?

I assume I'd have to physically move the domain dir, edit the "assign"
file, and then do a bulk change of their maildirs in mysql.  Anything
else?

Thanks,

Charles