[KLUG Members] Re:Postfix relay_domain question

Bob Kanaley members@kalamazoolinux.org
Tue, 5 Mar 2002 09:34:05 -0500


Thanks for the quick responses to my Postfix relay_domain question.

Sorry for not responding sooner, but I only get the members digests.
Consequently, I am usually at least a day behind in reading the list
postings.

Althought I am running Postfix not Sendmail, Postfix is close enought to
Sendmail that most Sendmail commands work or have an analog. After reading
your Sendmail post, I did a quick search of the Postfix docs for virtual and
found that Postfix has an optional virtual table I can use to accomplish the
same thing you described for Sendmail. However, like the older version of
Sendmail, after creating the table or changing it, you have to execute a
postmap /etc/postfix/virtual to build the indexed file.

Thanks again for the help.

Bob Kanaley
IS Manger
Agdia, Inc.

> Message: 9
> To: members@kalamazoolinux.org
> Subject: Re: [KLUG Members] Postfix relay_domain question
> From: bob@acm.org
> Date: Mon, 04 Mar 2002 13:37:01 -0500
> Reply-To: members@kalamazoolinux.org
>
>  "Bob Kanaley" <rvk@agdia.com> wrote:
> >Management has request that I forward company email to a semi-retired
> >employee's home email account at Yahoo.
>
> I assume you're running sendmail. You can provide redirection by modifying
> one file (and opening yourself up to nothing else -- make no other
changes)
> called /etc/mail/virtusertable. Lines of that file look like:
>
> targetuser@my.domain destuser@that.domain
>
> and thenever a message for targetuser@my.domain is received, sendmail will
> forward it to destuser@that.domain. Change the file for your addresses,
restart
> sendmail (or send it a signal to reload its files), and you're done.

>
> Regards,
> ---> RGB <---