On Wed, Apr 20, 2016 at 04:38:31PM +0800, Mohd Zainal Abidin wrote:
Hi,

Is it possible to configure exim to push every notification from fail2ban?
Current setting i saw just use sendmail.

exim comes with a sendmail-compatible command line. This means that most distributions symlink "exim" to "sendmail" such that when you invoke "sendmail", it is actually exim doing the work.

As a bit of context, the "correct" way to send an email is to connect to an SMTP (or Submission) server and issue SMTP commands to it. Many programs find that this is overkill. So the "sendmail" command is a way for a local program to submit mail to a local SMTP server. This might involve formatting the mail and dropping it into a queue folder for the server to pick up, or it might involve piping the message to a unix socket or it might even involve full blown SMTP commands. I think the implementation of that is server specific.

Basically, you can think of "sendmail" as the "wget" of mail servers. You wouldn't want to write a full HTTP client just to download one file; similarly, you wouldn't write a full SMTP client just to send "Jail started" :)



--
For more information, please reread.

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to