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?
 
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
 
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
 
COwebmasterAuthor Commented:
Okay, I'm using virtualmin and removed the mail from there on the account and it worked.  Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.