Re: (User unknown in virtual alias table} on cleanup On Feb 13, 2008 8:51 AM, Wietse Venema  wrote:

> Paul Dulaba:
> > On Feb 13, 2008 3:43 AM, mouss  wrote:
> >
> > > Paul Dulaba wrote:
> > > > I have read that on numerous occassions. What should i use for my
> > > > situation then? Virtual mailbox domains? What can I use to rewrite
> to
> > > > a subdomain?
> > >
> > > you can use virtual mailbox domains, provided there is a mailbox for
> the
> > > final recipients.
> > >
> > There is no mailbox on the postfix server, all the mailboxes are remote,
> > delivered via SMTP to GroupWise servers.
>
> Virtual domains are not the correct solution for this.
>
> For mail that is delivered elsewhere use relay_domains and
> relay_recipient_maps, and perhaps transport_maps.
>
> http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall
>
>        Wietse
>

The users have 2 email addresses, one being a subdomain of the other.
Postfix needs to relay for both. Here are the cases that need to be met:

Mail to pelh.kiy@just.gov.ab.ca needs to be looked up in a table(and if not
there rejected) and mapped to pelh.kiy@csadm.just.gov.ab.ca and then relayed
over SMTP to GroupWise Server A.

Mail to pelh.kiy@csadm.just.gov.ab.ca needs to be verified as a valid
recipient, then relayed over SMTP to GroupWIse Server A.

Mail to grtp.dab@just.gov.ab.ca needs to be looked up in a table(and if not
there rejected) and mapped to a different subdomain;
grtp.dab@ntsjam.just.gov.ab.ca and then relayed over SMTP to GroupWise
Server B.

Mail to grtp.dab@ntsjam.just.gov.ab.ca needs to be verified as a valid
recipient, then relayed over SMTP to GroupWIse Server B.

Relay_Recipient_Maps just checks for a valid recipient, I need to alias to
other remote email addresses as well.
