Report this

What is the reason for this report?

Can fail2ban on privately networked droplet use exim on other droplet

Posted on June 16, 2017

Using Exim on Droplet 1 with FQDN to send myself rootkit hunter and fail2ban updates via gmail SMPT.

I would like to run fail2ban on a droplet 2 privately networked to droplet 1.
Droplet 2 has SRV record xmpp.domain.com

all above works.

Can I configure fail2ban on Droplet 2 to use EXIM on Droplet 1?

thanks to all.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @jbdough

Yes, you can setup Exim on Droplet2, and configure it to relay to Droplet1. So more or less the same as you’ve done with the Gmail SMTP on Droplet1, but instead of relaying directly to Gmail on Droplet2, you would go through Droplet1.

I would probably recommend setting Exim on Droplet2 to go directly to Gmail instead of going through Droplet1. Meaning use the same configuration on Droplet1 and Droplet2.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.