Results 1 to 10 of 10

Thread: Relay outgoing messages to external SMTP

  1. #1
    symo is offline Intermediate Member
    Join Date
    Sep 2012
    Posts
    20
    Rep Power
    2

    Default Relay outgoing messages to external SMTP

    Hello everyone, I'm running Zimbra CE 8.0.7 and because of high volume of spam I would like to relay outgoing messages to an external SMTP.
    I'm asking you help to do this...

    Thanks in advance!
    Simone

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Quote Originally Posted by symo View Post
    Hello everyone, I'm running Zimbra CE 8.0.7 and because of high volume of spam I would like to relay outgoing messages to an external SMTP.
    What does the volume of spam have to do with you relaying through an external server? Have you looked in the Admin UI (or the wiki or the forum articles) for the settings?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    jorgedelacruz.es is offline Special Member
    Join Date
    May 2014
    Location
    Madrid
    Posts
    172
    Rep Power
    1

    Default

    Hi symo,
    I wrote this months ago with many use cases:
    1.- Send all the emails from the server trought smart host
    2.- Send all emails from the server to concrete domain trought smart host
    3.- Send emails from concrete internal domain trought smart host

    Zimbra: Haciendo uso de SmartHost Relay » Blog de Jorge de la Cruz

    Also I create a service in my own company to be this Smart Host that I mentioned before > Caso de éxito ? Servicio Anti-Spam de Emibin | Emibin - VPS, Hosting, Cloud, VMware, Veeam, EMC from 10€/month, or 10€/month + 3€/month dedicated IP for your domain

    Kind regards

  4. #4
    symo is offline Intermediate Member
    Join Date
    Sep 2012
    Posts
    20
    Rep Power
    2

    Default

    Quote Originally Posted by phoenix View Post
    What does the volume of spam have to do with you relaying through an external server? Have you looked in the Admin UI (or the wiki or the forum articles) for the settings?
    Hello! Searching the wiki I found this article Sending mail through an external relay - Zimbra :: Wiki but it applies only until version 6.0. In your opinion it could be valid also for 8.0 version?

    My idea is to relay messages to a SpamTitan server that could analyze outgoing mail and prevent the blacklisting of my server.

    Thanks
    Simone

  5. #5
    jorgedelacruz.es is offline Special Member
    Join Date
    May 2014
    Location
    Madrid
    Posts
    172
    Rep Power
    1

    Default

    Hi Symo,
    Do the next commands, are for version 8 as well:
    [root@zimbra ~]# su - zimbra
    [zimbra@zimbra ~]$ zmprov mcf zimbraMtaRelayHost smarthost.out.com:25


    You can verify that the change is effective:
    [zimbra@zimbra ~]$ zmprov gcf zimbraMtaRelayHost
    zimbraMtaRelayHost: smarthost.out.com:25


    Reboot the service and chech the log
    [zimbra@zimbra ~]$ zmcontrol stop && zmcontrol start
    [zimbra@zimbra ~]$ logout
    [root@zimbra ~]# tail -f /var/log/maillog



    PS: You need to be sure that Spamtitan accepts the relay from your IP/domain

    Kind regards

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Quote Originally Posted by symo View Post
    My idea is to relay messages to a SpamTitan server that could analyze outgoing mail and prevent the blacklisting of my server.
    The problem you need to address is why there is spam going out from your server, that's your major problem and relaying is not the answer. Have you checked for any compromised accounts on your server? Have you checked the log files and the server daily email to the admin with details of the traffic on your server? You should start with that before you look at anything else. Do you require strong passwords on your server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    symo is offline Intermediate Member
    Join Date
    Sep 2012
    Posts
    20
    Rep Power
    2

    Default

    Quote Originally Posted by phoenix View Post
    The problem you need to address is why there is spam going out from your server, that's your major problem and relaying is not the answer. Have you checked for any compromised accounts on your server? Have you checked the log files and the server daily email to the admin with details of the traffic on your server? You should start with that before you look at anything else. Do you require strong passwords on your server?
    Yes, of course. Basically my problem with outgoing spam messages is generated by users infected by viruses. Once the client is infected it starts to send tons of mail

    Thanks
    Simone

  8. #8
    jorgedelacruz.es is offline Special Member
    Join Date
    May 2014
    Location
    Madrid
    Posts
    172
    Rep Power
    1

    Default

    Hi Symo,
    Phonenix has right, check all internal first. Also you can do this simply steps for try to mitigate the spam on your System:
    Zimbra: Seguridad (I Parte) » Blog de Jorge de la Cruz

    With this simple step, you will be secure against extenrla people try to send emails using fake sender, is very typical and big problem.

    Tell us what you need.

    Kind regards.

  9. #9
    symo is offline Intermediate Member
    Join Date
    Sep 2012
    Posts
    20
    Rep Power
    2

    Default

    Quote Originally Posted by jorgedelacruz.es View Post
    Hi Symo,
    Phonenix has right, check all internal first. Also you can do this simply steps for try to mitigate the spam on your System:
    Zimbra: Seguridad (I Parte) » Blog de Jorge de la Cruz

    With this simple step, you will be secure against extenrla people try to send emails using fake sender, is very typical and big problem.

    Tell us what you need.

    Kind regards.
    Hi Jorge, thank you very much! I will check the steps mentioned at you blog! I will let you know!

    Kind regards!
    Simone

  10. #10
    symo is offline Intermediate Member
    Join Date
    Sep 2012
    Posts
    20
    Rep Power
    2

    Default

    Hi Jorge, I followed your instructions, I configured my SpamTitan server and everything is working fine!
    Just for information, if I would like to revert to original configuration, which command I need to do on my zimbra?

    Kind regards!
    Simone

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. failed to setup outgoing smtp relay
    By catchmeon in forum Administrators
    Replies: 1
    Last Post: 07-17-2012, 10:35 AM
  2. Replies: 1
    Last Post: 07-13-2012, 07:57 AM
  3. smtp relay for external domain
    By djingo in forum Administrators
    Replies: 0
    Last Post: 06-24-2010, 06:47 AM
  4. Replies: 1
    Last Post: 05-27-2009, 01:07 PM
  5. Problems with outgoing SMTP Relay
    By cyber_jack in forum Administrators
    Replies: 3
    Last Post: 01-10-2008, 03:38 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •