email bounced error

on my server, I'm getting this error:

20:54 ns2 postfix/qmgr[29071]: A26F35E151F: from=<apache@mail.domain.com>, size=1527, nrcpt=1 (queue active)
Sep 17 14:20:54 ns2 postfix/trivial-rewrite[11438]: warning: do not list domain domain.com in BOTH virtual_alias_domains and relay_domains
Sep 17 14:20:54 ns2 postfix/error[11439]: A26F35E151F: to=<email@domain.com>, relay=none, delay=0.04, delays=0.03/0/0/0.01, dsn=5.0.0, status=bounced (User unknown in virtual alias table)

running apache and postfix.

Also, this is only happening on email accounts that are with godaddy.  all others work and get a 250 msg.  If it means anything, the domain in "apache@mail.domain.com" is registered with godaddy and is set up as nameserver at registrar.  Also, my isp is comcast and I have a reverse dns lookup on the name mail.domain.com (of course domain is hidden) on the ip that gets mail sent out on.

Any ideas experts?
COwebmasterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PapertripCommented:
do not list domain domain.com in BOTH virtual_alias_domains and relay_domains
Is domain.com listed in both virtual_alias_domains and relay_domains ?
0
COwebmasterAuthor Commented:
which files in /etc/postfix do I look in to check for that?
0
PapertripCommented:
All of this stuff should be in main.cf

You can use 'postconf -n' to see all the values in main.cf that have changed from default.  However since I have no clue what was changed in yours, postconf -n may not show you all the stuff we need for this.  Just a good command to remember.

While you are in there, look for all the virtual_* parameters as well.  

For any problem like this it is always a huge help to post pertinent config excerpts.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
COwebmasterAuthor Commented:
Okay, I'm using virtualmin and removed the mail from there on the account and it worked.  Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.