OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: (User unknown in virtual alias table} on cleanup

From: Paul Dulaba (screwgiegmail.com)
Date: Wed Feb 13 2008 - 11:59:28 CST


On Feb 13, 2008 8:51 AM, Wietse Venema <wietseporcupine.org> wrote:

> Paul Dulaba:
> > On Feb 13, 2008 3:43 AM, mouss <moussnetoyen.net> 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 john.doejust.gov.ab.ca needs to be looked up in a table(and if not
there rejected) and mapped to john.doecsadm.just.gov.ab.ca and then relayed
over SMTP to GroupWise Server A.

Mail to john.doecsadm.just.gov.ab.ca needs to be verified as a valid
recipient, then relayed over SMTP to GroupWIse Server A.

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

Mail to jane.doentsjam.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.