> For test purposes, I want to scan my email on server 1
> And relay it to server 2. I am using virtual domains ( and vpopmail
> )
>
> Both servers have an identical virtual domains setup.
>
> I have tried to add smtproutes, with virdom.com:myotherhost.com
>
> But all the mail still gets delivered locally on server 1.
>
> I guess that some the virtual domains have priority before the
> smtproutes.
>
> Any ideas, how to fix it
Yes: Remove virdom.com from control/virtualdomains. That way the
domain will be handled by smtproutes instead (qmail's logic is "If
it's not local, it must be remote"). You'll need to HUP qmail[-send]
for the change to become effective.
阅读(2141) | 评论(0) | 转发(0) |