troubleshooting Question

Need help configuring postfix correctly

Avatar of Doug Poulin
Doug PoulinFlag for Canada asked on
Redhat* Postfix
2 Comments1 Solution158 ViewsLast Modified:
Having problems getting postfix set up correctly.
In my case the server has several virtual domains. I have a system API that sends out emails and I want any bouncebacks to come to it.  It's not the primary domain for the server.

Assuming abc.com is the primary domain and def.com is the one I need work, I have the following entries in various configuration files:

local-host-names:
def.com

access:
def.com OK

virtual
mail_notifier@def.com mail_notifier@localhost
(I've also tried)
mail_notifier@def.com mail_notifier

I can't use the primary domain because we use office 365 and the mail MX record points to microsoft not our server.  This is also our web server, so I can't mess with the primary domain address.

The error I get back is
Recipient address rejected. User unknown in virtual alias table.

All I want to do is collect the bouncebacks from the mail_notifier account so I can automate handling for the end users.  Any help is appreciated.
ASKER CERTIFIED SOLUTION
Doug Poulin
CTO

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros