Robin Bowes wrote:
> Matt Sergeant wrote:
>
>>>If so, I've been thinking of how best to re-direct any connections
>>>arriving at server A over to server B.
>>
>>
>>plugins/queue/smtp-forward ?
>
>
> You know, I was thinking about writing something that did this, maybe
> using qmqp. I'll check out smtp-forward and see if I can modify it to
> use qmqp.
Actually, this is really easy - no new plugin required..
On Server B (new server)
1. Set up qmail-qmqpd
On Server A (old server):
2. echo {server B IP address} > /var/qmail/control/qmqpservers
3. Edit {qpsmtpd_home}/config/plugins:
queue/qmail-queue /var/qmail/bin/qmail-qmqpc
That's it! qpsmtpd on server A will now forward all incoming mail to
server B
Marvellous!
R.