On 3/1/2011 11:13 PM, Seelke, Eddie wrote:
I have a VPS setup that is running two websites. I am using Virtualmin
to manage these two sites.

On deluxetech.com, I have WHMCS installed and am using Google Apps for
email. I have Google Apps setup so that any email not recognized is
automatically forwarded to the smtp of this vps server. I have about
10 email addresses setup in WHMCS's ticketing system. All of these
emails are coming through fine. WHMCS is also sending out the response
to the user.

However, the problem I am having is that u...@deluxetech.com is not
being redirected to Google Apps. I have setup my email address in
Transport Mapping under Postfix in Webmin. But, I get the following
error:

Admin Email Notification Sending Failed - SMTP Error: The following
recipients failed: u...@deluxetech.com
SMTP server error: 5.1.1 : Recipient address rejected: User unknown in
virtual alias table

I have my Transport Mapping as:
u...@deluxetech.com     smtp:deluxetech.com.s9a1.psmtp.com.


I am pretty sure the issue has to do with the fact that Postfix is not
reading the transport mapping before the virtual aliases, but I cannot
figure out how to do that. If possible, I would prefer the smtp server
to redirect any unk...@deluxetech.com user to Google Apps.

Thanks for any help that you can provide,
Eddie
I am confused by your question so others might be as well. Without delving into the transports stuff which others are better to comment on, clarify your architecture/scenario.

As background, here's your MX record (I'm only showing priority 1, the highest): deluxetech.com MX preference = 1, mail exchanger = deluxetech.com.s9a1.psmtp.com

So the *incoming* scenario is:
1) Any outsider sends an e-mail to u...@deluxetech.com
2) Their relay MTA looks up the MX record and sends it on to deluxetech.com.s9a1.psmtp.com, the Google Apps server 3) The Google Apps server is forwarding unrecognized users' mail to your Postfix server. This includes 'u...@deluxetech.com'? Or not? 4a) If 3)->yes, then you want the e-mail to go BACK to deluxetech.com.s9a1.psmtp.com, as per your transport table?? Creating a routing loop? 4b) If 3)->no, then you can't expect to have any further control over the message addressed to u...@deluxetech.com, correct? It just stays in Google Mail storage.

Or are you referring to an entirely different scenario? Some kind of *outgoing* relay issue?

-Daniel



Reply via email to