Eric Shubert wrote:
Jake Vickers wrote:
Eric Shubert wrote:
Jake Vickers wrote:
senthil vel wrote:
Thanks Jake and Eric,
Both the servers are QMT. The main server works very best
in all aspects including spam fighting. If we are using rsync instead
of fetchmail, is it enough to sync the
/home/vpopmail/domains/domainname directory? Or we need to look
something more?
I would sync the user's dir, and use the --delete option from rsync
to remove the messages from the initial server on the next sync
once the user has them. So you would reverse sync them; initiate
the sync on the remote machine to the initial machine.
I don't believe this would work. rsync is a one-way deal. Only one
side can be the 'master'. And it doesn't really matter which side
it's run on, only the order that the source/destination are
specified in the command is significant. Please correct me if I'm
wrong on this.
If you run rsync on the remote machine and use the --delete option,
any files that were deleted on the remote machine would be removed
from the initial machine. It's not a 2-way sync, but it will remove
the files from the other server this way after they've been
downloaded by the user to keep them from getting multiple copies.
So you would be making the remote machine the "master", and when the
users downloaded their mail those messages would be removed from the
"slave" machine on the next sync (the "slave" being the main server
and the "master" being the local one)
And you are correct as to the order as far as defining the source and
target. It would not matter what machine you ran it on. I would just
do it this way for readability and so that the remote machine is
calling the main - planning for failure points in the event the
remote machine is not always available (else, why even have a remote
machine?)
That I understand. So how do the new messages get to the remote server
if the remote server's the master?
I thought he had said the remote server was using smtproutes to send
messages. Did I miss that?
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]