[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 376
  • Last Modified:

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?
0
COwebmaster
Asked:
COwebmaster
  • 2
  • 2
1 Solution
 
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
 
COwebmasterAuthor Commented:
Okay, I'm using virtualmin and removed the mail from there on the account and it worked.  Thanks!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now