Zimbra 8.8 per domain relay

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

Zimbra 8.8 per domain relay

Post by carbod »

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

Post by carbod »

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
Ambassador
Ambassador
Posts: 2747
Joined: Mon Dec 16, 2013 11:35 am
Location: France - Drôme
ZCS/ZD Version: All of them
Contact:

Re: Zimbra 8.8 per domain relay

Post by Klug »

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: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: Zimbra 8.8 per domain relay

Post by fs.schmidt »

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: 313
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

Post by tonster »

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

Post by carbod »

@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

Post by davy »

Can you tell how to config it ?

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

Re: Zimbra 8.8 per domain relay

Post by alexg »

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: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zimbra 8.8 per domain relay

Post by phoenix »

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
Post Reply