OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: problem with virtual users on postfix 2.1.5 on fc3

From: ankush grover (grover.pixgmail.com)
Date: Sun Jun 04 2006 - 03:06:07 CDT


> To the OP: That would be wrong, as the ISP will return the mail back
> to you. A virtual alias domain, is your domain, you are the primary
> MX host, but the domain has *zero* mailboxes per-se, all the addresses
> are rerouted to real mailboxes in *other* domains. If either of these
> conditions is false, DO NOT configure the domain as a virtual alias
> domain.
>
> Bad advice I think, better to just list the domain in relay_domains if
> indeed some addresses are forward off-site and others rewritten. WHo
> exactly is the primary MX host for this domain?
>

the primary MX is with my ISP. We have 3 accounts with the ISP 2
accounts my directors are using and 1 is catchall box. I download the
mails from the catchall mailbox through this Postfix server and
distribute it among the users inside my LAN. I have configured
virtual_alias_domains. Problem is when a user from my LAN wants to
send the mail to my directors that mail gets bounced with the error
message "user not mentioned in the virtual user table".

for example

user2 inside the LAN sends the mail to the director
(user1testing.com) this mail is rejected by the Postfix with the
above mentioned error.

my virtual file is like this

user1testing.com user1
user2testing.com user2testing.com
user3testing.com user3testing.com

What I wanted is that mails for user1 and user3 (both my directors
accounts) should go to my ISP where they have got their respective
mailboxes ?

How can I achieve the above with the virtual_alias_domains=testing.com
and the postfix rejecting the mail with the error "user not listed in
the virtual user table" ?

Is it possible with the postfix or not ?

Thanks & Regards

Ankush Grover