Yes I used that when migrating machines
and another very nice little tool is qmail-newmrh which is building the
morercpthosts.cdb
about qmail-newu :
NAME
qmail-newu - prepare address assignments for qmail-lspawn
SYNOPSIS
qmail-newu
DESCRIPTION
qmail-newu reads the assignments in /var/qmail/users/assign and writes
them into /var/qmail/users/cdb in a binary format suited for quick access by
qmail-
lspawn.
If there is a problem with users/assign, qmail-newu complains and leaves
users/cdb alone.
qmail-newu ensures that users/cdb is updated atomically, so qmail-lspawn
never has to wait for qmail-newu to finish. However, qmail-newu makes no
attempt
to protect against two simultaneous updates of users/cdb.
The binary users/cdb format is portable across machines.
Eric Shubert wrote:
Nice tip, Philip (could've used that a couple years ago!).
Does qmail-newu do anything other than building the assign.cdb file?
Philip wrote:
Hello
assign is an editable file (but be careful what you do with it)
then the command qmail-newu builds a cdb binary file called cdb
Eric Shubert wrote:
I'm not really clear about what you're trying to accomplish. There
are 2 other places though (other than the sql database) where your
domains are defined. One is the /var/qmail/control/virtualdomains,
and the other is /var/qmail/users/assign. The later has a cdb file
associated with it that's a little tricky to get generated IIRC. You
might need to add/delete a dummy domain to get the assign.cdb file
rebuilt.
Shai wrote:
Well... I know where it goes... it still goes locally to my account
...
Shai
On Sun, Feb 15, 2009 at 10:59 PM, Shai <sha...@gmail.com> wrote:
I did this.. and now I don't get any email... and I have no idea
where
its going to either :(
Shai
On Sun, Feb 15, 2009 at 8:24 PM, Eric Shubert <e...@shubes.net> wrote:
In that case, I think you can simply remove the domain from the
/var/qmail/control/rcpthosts file. See
http://wiki.qmailtoaster.com/index.php/Rcpthosts
I'd do that with qmail stopped to be on the safe side (I see a
corresponding
.lock file).
Shai wrote:
Hi Eric (Long time no talk!),
But I don't want to delete the domain... I still have emails I
want to
have access to ...
Shai
On Sun, Feb 15, 2009 at 2:05 AM, Eric Shubert <e...@shubes.net>
wrote:
Shai wrote:
Hi,
I decided that I don't want to maintain my own mail server and
I want
to let another service handle this for me.
Notice, I have several domains, and this decision has been
made for
just one of them, not all.
I've setup everything but local emails (ie. emails that are
being sent
from the local cron or other tasks sending to the local server
on the
old mail server.
What exactly do I need to do, so that all the local email
being sent
to this domain, don't go to the old server but get forwarded
to my ISP
and then to my new host for my mail server?
Thanks in advance!
Shai
Delete the domain from your toaster
# /home/vpopmail/bin/vdeldomain yourdomain.com
--
-Eric 'shubes'
--
-Eric 'shubes'
---------------------------------------------------------------------
To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com