Tips Bypass Relay Email on Zimbra Mail Server

Posted by

I have condition in my clients where all outgoing email from their server do relay into Relay server. This caused usually Public IP got blacklisted by RBL. I am perform the relay configuration by use this guidance :

All email to outside well fine until found problem when sending email to some clients and getting error “too many hops”. Finally i am perform bypass for sending emails to some domains

– Perform configuration relay based on user/domain receiver like described in this link :

But fill configuration file on /opt/zimbra/postfix/conf/transportfile so that like below

destination-domain.tld     smtp:

Notedestination-domain.tld is destination domain who cannot sent email by relay caused too many hops

Above configuration will bypass sending email to outside and not using relay server for outgoing.

Good luck and hopefully useful 😀


  1. halo mas ahmad salam kenal, selama ini menggunakan smtp relay dari server di kantor (ex: saat ini saya mengalami masalah spam sehingga ip public domain saya ( di block oleh beberapa domain tujuan. apakah tutorial di halaman ini berarti bahwa akan mengirimkan langsung ke domain tujuan? apakah ini sama juga seperti cara kerja spam? thanks

    1. Hi mas Heri,
      – Cara ini bisa digunakan jika kiriman pada domain tertentu tidak melewati SMTP Relay. Namun untuk kiriman pada domain lain tetap via SMTP Relay yang sudah disetup
      – Cara ini beda dengan cara kerja spam. Spammer tidak bisa melakukan bypass pengiriman email secara langsung. Meskipun sudah menguasai password salah satu account yang bocor. Kiriman bisa langsung apabila domain yang dituju listed di file bypass

Leave a Reply to iman Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.