Zimbra v8.7.11.GA Forward only 554 Message rejected.

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
Elite member
Elite member
Posts: 1073
Joined: Mon Apr 18, 2016 8:18 pm
Location: Earth
ZCS/ZD Version: ZCS FLOSS - 8.7.11 Mutli servers

Re: Zimbra v8.7.11.GA Forward only 554 Message rejected.

Postby DualBoot » Wed Jan 09, 2019 5:05 pm

I was talking about SIEVE Filter.

User avatar
Outstanding Member
Outstanding Member
Posts: 459
Joined: Fri Sep 12, 2014 11:18 pm
Location: Victoria, BC
ZCS/ZD Version: 8.7.11_P12 RHEL6 Network Edition

Re: Zimbra v8.7.11.GA Forward only 554 Message rejected.

Postby JDunphy » Wed Jan 09, 2019 5:09 pm

shanmarsh28 wrote:The link you provide is a very exact description - looks like a general postfix issue rather than something specific to Zimbra but I don't know how you could integrate that solution. I know main.cf exits as I came across it but I'm a bit nervous about editing in case I break something that I am unable to fix.

Excellent... Couldn't this be handled by postfix_sender_canonical_maps? You can check https://wiki.zimbra.com/wiki/Postconf_keys to see the "zimbra way". If that is the case, perhaps this https://forums.zimbra.org/viewtopic.php?t=63234 has the information you need.

Ref: from postfix manual: http://www.postfix.org/postconf.5.html#sender_canonical_maps

Code: Select all

Optional address mapping lookup tables for envelope and header sender addresses. The table format and lookups are documented in canonical(5).

Example: you want to rewrite the SENDER address "user@ugly.domain" to "user@pretty.domain", while still being able to send mail to the RECIPIENT address "user@ugly.domain".

Note: $sender_canonical_maps is processed before $canonical_maps.

PS... Answering your other question about updating main.cf when there is no zimbra way. The issue is upgrades... you would need to put back your changes if there isn't support via the "zimbra way". They have some ldap variables that are retained between releases that the zmconfigd program uses to write its postfix output but you don't always have everything you need so sometimes one has to move in that direction for advanced solutions. As far as break something, you just put back the file or comment out your changes and restart the mta.

Posts: 12
Joined: Tue Dec 12, 2017 8:14 pm

Re: Zimbra v8.7.11.GA Forward only 554 Message rejected.

Postby shanmarsh28 » Tue Mar 19, 2019 10:57 am

Hello again,

I thought I'd bump this topic as this issue still seems to be causing issues. Sorry for my late reply, I had been working on other projects.

Has there been any further thoughts on this? I see your potential solution in postfix_sender_canonical_maps but it wouldn't be a clean solution (unless I am mistaken) as it would require a map for every forward that is setup to an external address. That could get messy. Has this been resolved in the current version of Zimbra (8.8.11+)?

I agree upgrades will be an issue however, on a side note, I have attempted in the last couple of weeks an upgrade to v8.8.11 which did not go at all well. Our installation is not upgradeable at all as each time I attempted, it resulted in the total loss of the server (backup recovery), so I will run 8.7.11 until I not longer can then migrate all accounts to a clean install of whatever the latest version is at the time.
Posts: 12
Joined: Tue Dec 12, 2017 8:14 pm

Re: Zimbra v8.7.11.GA Forward only 554 Message rejected.

Postby shanmarsh28 » Tue Mar 19, 2019 3:36 pm


I have looked into this in a lot more depth and after looking at a series of forums, what MUST happen is a process called SRS rewriting. After searching the term in the bug reports for Zimbra I found this: https://bugzilla.zimbra.com/show_bug.cgi?id=80897

It appears this is a known bug since 2013 (Zimbra 8.5) and requires a package not yet included with Zimbra. I see someone has had a go at creating a PostSRSd package but I'd be very reluctant to test that on anything other than a development server: viewtopic.php?t=62158

Return to “Administrators”

Who is online

Users browsing this forum: Google [Bot] and 17 guests