Re: Forgive the newbie question: Mixing Virtual and Local

From: (no name) (no email)
Date: Sun Feb 01 2004 - 14:04:31 EST


On Sun, 1 Feb 2004, Aleksandr Milewski wrote:

> I now need to get Sympa installed, and while I can put the right
> entries in the alias table, I don't know what, if anything, to put in
> the virtual table to get things delivered to that local alias.
>
> Perhaps I'm mistaken, but my understanding is that Sympa's aliases
> need to be handled by local delivery so the scripts can be executed.

Your understanding is correct. You are most of the way there.

> Part of my problem, and this is my own fault, is that I'm trying to
> configure this server to be a drop-in replacement for the current
> mail server. The result of which is that if this machine does an MX
> lookups, it gets the current mail server and delivers there. Virtual
> works fine, but local seems to send the mail to the current host. Can
> you put MX records in /etc/hosts?
>

Make sure that "localhost.$mydomain" is listed in mydestination. Configure
any virtual(5) entries you want delivered with RHS values of the form:

                        out-addr at localhost

This will work for all values of the myorigin setting (which per your
description is not yet local on the replacement machine). It will also
work in production without changes.

-- 
	Viktor.







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD