LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-29-2018, 04:29 AM   #1
kaiszza
LQ Newbie
 
Registered: May 2018
Posts: 3

Rep: Reputation: Disabled
Exclamation Postfix DSN=5.0.0 (domain.com) status=bounced


Hey guys,

first of all: I hope this is the right part of the forum. If not, just move this thread, dear mods ;-)

I am struggling with a serious issue and just cant find a solution. I have set up Ubuntu 16.04 on one of our company's server (an old one for testing purposes since I am a trainee) to test out the groupware software ZIMBRA. The installation went fine and I also configured all the necessarry things like hosts, networks and DNS. I can send mails between the ZIMBRA host and our network and telnet also works fine. The problem appears when I try to send a mail to an unknown receiver.

Lets say we have 2 domains: @123.de (company domain) and @abc.de (ZIMBRA domain I received from our sysadmin for testing purposes). The @abc.de domain was in use some years ago and some addresses are still in use, circulating "through the web". Since ZIMBRA uses Postfix as the MTA, I found out that there are 2 options:

luser_relay and local_recipient_maps

The first one defines a static email address where all the mails from all addresses with the @abc.de domain are merged so that none of the potential addresses in use gets lost. Lets call that one dump@abc.de => for example, when I send a mail from user@123.de to xyz@abc.de (non existent address) to test whether the mail is being collected by dump@abc.de, I get the DSN=5.0.0 error. The mail is getting bounced and deferred to the senders working address (@123.de). I have tried every solution offered by ZIMBRA and/or postfix and many other forums.

Does anyone have an idea? I will post the mail.log!

Code:
May 29 11:22:47 zimbravm postfix/dkimmilter/smtpd[27891]: connect from localhost.abc.de[127.0.0.1]
May 29 11:22:47 zimbravm postfix/dkimmilter/smtpd[27891]: 2A15D1427F7: client=localhost.abc.de[127.0.0.1]
May 29 11:22:47 zimbravm postfix/cleanup[27888]: 2A15D1427F7: message-id=<20180529092241.821F71427DE@zimbravm.abc.de>
May 29 11:22:47 zimbravm postfix/qmgr[4596]: 2A15D1427F7: from=<user@123.de>, size=817, nrcpt=1 (queue active)
May 29 11:22:47 zimbravm postfix/smtp[27889]: 821F71427DE: to=<xzy@abc.de>, relay=127.0.0.1[127.0.0.1]:10026, delay=12, delays=12/0.01/0.01/0.13, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10030): 250 2.0.0 Ok: queued as 2A15D1427F7)
May 29 11:22:47 zimbravm postfix/qmgr[4596]: 821F71427DE: removed
May 29 11:22:47 zimbravm postfix/amavisd/smtpd[27894]: connect from localhost.abc.de[127.0.0.1]
May 29 11:22:47 zimbravm postfix/amavisd/smtpd[27894]: 5BCD51427DE: client=localhost.abc.de[127.0.0.1]
May 29 11:22:47 zimbravm postfix/cleanup[27888]: 5BCD51427DE: message-id=<20180529092241.821F71427DE@zimbravm.abc.de>
May 29 11:22:47 zimbravm postfix/qmgr[4596]: 5BCD51427DE: from=<user@123.de>, size=1390, nrcpt=1 (queue active)
May 29 11:22:47 zimbravm postfix/smtp[27889]: 2A15D1427F7: to=<xzy@abc.de>, relay=127.0.0.1[127.0.0.1]:10032, delay=0.22, delays=0.05/0.01/0.01/0.15, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5BCD51427DE)
May 29 11:22:47 zimbravm postfix/qmgr[4596]: 2A15D1427F7: removed
May 29 11:22:47 zimbravm postfix/error[27895]: 5BCD51427DE: to=<xzy@abc.de>, relay=none, delay=0.05, delays=0/0.02/0/0.02, dsn=5.0.0, status=bounced (abc.de)
May 29 11:22:47 zimbravm postfix/cleanup[27888]: 67C581427F9: message-id=<20180529092247.67C581427F9@zimbravm.abc.de>
May 29 11:22:47 zimbravm postfix/qmgr[4596]: 67C581427F9: from=<>, size=3182, nrcpt=1 (queue active)
May 29 11:22:47 zimbravm postfix/bounce[27896]: 5BCD51427DE: sender non-delivery notification: 67C581427F9
The MTA accepts the mail, queues it and before delivering it, it gets bounced. I am really desperate!
 
Old 05-29-2018, 03:16 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Do 123.de and abc.de have name server records that are available to both.
 
Old 06-04-2018, 02:11 AM   #3
kaiszza
LQ Newbie
 
Registered: May 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
What do you exactly mean by both? I know for sure that each one of those have an own MX record, but I am uncertain if they have the same one. How can I find this out?
 
Old 06-07-2018, 03:06 PM   #4
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Rep: Reputation: 103Reputation: 103
dig MX example.com
(and optionally dig A example.com)
If postfix doesn't find an MX record, by default, as far as I know, it will use an A record.
 
Old 06-08-2018, 01:59 AM   #5
kaiszza
LQ Newbie
 
Registered: May 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hey guys, thanks for your suggestions. I finally managed to solve it. All I had to do was use this option:
Code:
zmprov modifyAccount user@domain.com zimbraMailCatchAllAddress @domain.com
After I've exchanged many mails with the official ZIMBRA support, I found out that the postfix conf is not editable to some extent. You have to use the ZIMBRA commands as the ZIMBRA user, otherwise almost nothing will change. Nevertheless, thank you all!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Invalid domain, status bounced using RT, POSTFIX shayno90 Linux - Server 13 09-05-2012 09:00 AM
[SOLVED] Postfix as a mail delivery server fails (status bounced loops back to myself) Larry James Linux - Server 8 07-18-2011 06:42 PM
status=bounced in Postfix/Cyrus on Ubuntu mailserver setup thomasJohansen Linux - Server 7 01-07-2007 11:07 AM
Problem w/ Cyrus Status=Bounced Signal 11 davidswanson1 Linux - Server 0 12-21-2006 06:24 PM
Postfix stores bounced messages? [GOD]Anck Linux - Software 1 04-29-2005 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration