Zimbra 8.8 per domain relay

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
carbod
Posts: 5
Joined: Mon Jul 02, 2018 10:16 am

Zimbra 8.8 per domain relay

Postby carbod » Mon Jul 02, 2018 10:21 am

I've followed the wiki below :

https://wiki.zimbra.com/wiki/Relay_per_Domain

But don't worl for me :

Code: Select all

cat >> /opt/zimbra/conf/postfix_sender_dependent_relayhost_maps.cf
mdb:/opt/zimbra/common/conf/relay_domain_conf


if I add this, the zimbra.log report me a error

Code: Select all

error: unsupported dictionary type: mdb
Jul  2 11:38:16 zimbra01 postfix/trivial-rewrite[60262]: warning: mdb:/opt/zimbra/common/conf/relay_domain_conf is unavailable. unsupported dictionary type: mdb
Jul  2 11:38:16 zimbra01 postfix/trivial-rewrite[60262]: warning: mdb:/opt/zimbra/common/conf/relay_domain_conf lookup error for "xxxxx@domain,com"
Jul  2 11:38:16 zimbra01 postfix/trivial-rewrite[60262]: warning: sender_dependent_relayhost_maps lookup failure


Then I change mdb to lmdb and the error gone, but the mail for @domain.com are not router.

Someone can point me to the correct solution ?

Thanks


carbod
Posts: 5
Joined: Mon Jul 02, 2018 10:16 am

Re: Zimbra 8.8 per domain relay

Postby carbod » Mon Jul 02, 2018 2:04 pm

I've tryed also the 8.7 configuration by bysender, but nothing don't work.

But if I configure relay in global conf, all work.
Klug
Elite member
Elite member
Posts: 2365
Joined: Mon Dec 16, 2013 11:35 am
Contact:

Re: Zimbra 8.8 per domain relay

Postby Klug » Tue Jul 03, 2018 11:11 am

As suggested in this thread, I think you should do this on another VM/VPS outside of Zimbra: viewtopic.php?f=15&t=64397
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 224
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: Zimbra 8.8 per domain relay

Postby fs.schmidt » Tue Jul 03, 2018 7:00 pm

carbod wrote:I've followed the wiki below :

https://wiki.zimbra.com/wiki/Relay_per_Domain

But don't worl for me :

Code: Select all

cat >> /opt/zimbra/conf/postfix_sender_dependent_relayhost_maps.cf
mdb:/opt/zimbra/common/conf/relay_domain_conf


if I add this, the zimbra.log report me a error

Code: Select all

error: unsupported dictionary type: mdb
Jul  2 11:38:16 zimbra01 postfix/trivial-rewrite[60262]: warning: mdb:/opt/zimbra/common/conf/relay_domain_conf is unavailable. unsupported dictionary type: mdb
Jul  2 11:38:16 zimbra01 postfix/trivial-rewrite[60262]: warning: mdb:/opt/zimbra/common/conf/relay_domain_conf lookup error for "xxxxx@domain,com"
Jul  2 11:38:16 zimbra01 postfix/trivial-rewrite[60262]: warning: sender_dependent_relayhost_maps lookup failure


Then I change mdb to lmdb and the error gone, but the mail for @domain.com are not router.

Someone can point me to the correct solution ?

Thanks


Hi,

Try this way:

https://translate.google.com/translate? ... metente%2F
User avatar
tonster
Zimbra Employee
Zimbra Employee
Posts: 312
Joined: Fri Feb 21, 2014 10:14 am
Location: Ypsilanti, MI
ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016

Re: Zimbra 8.8 per domain relay

Postby tonster » Wed Jul 04, 2018 4:47 am

fs.schmidt wrote:
carbod wrote:I've followed the wiki below :

https://wiki.zimbra.com/wiki/Relay_per_Domain

But don't worl for me :

Code: Select all

cat >> /opt/zimbra/conf/postfix_sender_dependent_relayhost_maps.cf
mdb:/opt/zimbra/common/conf/relay_domain_conf


if I add this, the zimbra.log report me a error

Code: Select all

error: unsupported dictionary type: mdb
Jul  2 11:38:16 zimbra01 postfix/trivial-rewrite[60262]: warning: mdb:/opt/zimbra/common/conf/relay_domain_conf is unavailable. unsupported dictionary type: mdb
Jul  2 11:38:16 zimbra01 postfix/trivial-rewrite[60262]: warning: mdb:/opt/zimbra/common/conf/relay_domain_conf lookup error for "xxxxx@domain,com"
Jul  2 11:38:16 zimbra01 postfix/trivial-rewrite[60262]: warning: sender_dependent_relayhost_maps lookup failure


Then I change mdb to lmdb and the error gone, but the mail for @domain.com are not router.

Someone can point me to the correct solution ?

Thanks


Hi,

Try this way:

https://translate.google.com/translate? ... metente%2F


The only supported dictionary types are lmdb and mysql, so you should change mdb to lmdb and then re-run postmap.
carbod
Posts: 5
Joined: Mon Jul 02, 2018 10:16 am

Re: Zimbra 8.8 per domain relay

Postby carbod » Wed Jul 04, 2018 7:18 am

@tonster :
i've changed to lmdb but I've the same problem

@all
i've resolved configuring trasnport.
davy
Posts: 1
Joined: Tue Sep 25, 2018 4:24 am

Re: Zimbra 8.8 per domain relay

Postby davy » Tue Sep 25, 2018 7:39 am

Can you tell how to config it ?

Thank you.
alexg
Posts: 2
Joined: Tue Jul 02, 2019 2:35 pm

Re: Zimbra 8.8 per domain relay

Postby alexg » Tue Apr 07, 2020 12:01 pm

I think the instructions in the wiki are unclear.

The last line does NOT go into the file. It is an independent command:

Code: Select all

postmap /opt/zimbra/common/conf/relay_domain_conf
phoenix
Ambassador
Ambassador
Posts: 26527
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zimbra 8.8 per domain relay

Postby phoenix » Tue Apr 07, 2020 2:53 pm

alexg wrote:I think the instructions in the wiki are unclear.

The last line does NOT go into the file. It is an independent command:

Code: Select all

postmap /opt/zimbra/common/conf/relay_domain_conf
I don't think the instructions imply it goes in any file, but that's just me. It is a community contribution and you could register for a wiki account and make a modification to that entry if you think it needs improving.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 10 guests