Zimbra

Tips Bypass Relay Email on Zimbra Mail Server

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 : https://imanudin.net/2014/09/18/how-to-configure-outgoing-smtp-authentication-on-zimbra-8-5/

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 : https://imanudin.net/2014/12/25/relay-tips-based-on-userdomain-receiver-on-zimbra-8-5-8-6/

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 😀

2 comments

  1. halo mas ahmad salam kenal, selama ini menggunakan smtp relay dari server di kantor (ex: internal.com). saat ini saya mengalami masalah spam sehingga ip public domain saya (external.com) di block oleh beberapa domain tujuan. apakah tutorial di halaman ini berarti bahwa internal.com 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

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.