Re: [exim] Meaning of addresses in rejectlog

Etusivu
Poista viesti
Vastaa
Lähettäjä: Heiko Schlittermann
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Meaning of addresses in rejectlog
Always Learning <exim@???> (Mo 23 Jun 2014 05:48:47 CEST):
>
> On Sun, 2014-06-22 at 18:41 -0700, Kaz Kylheku wrote:
>
> > I'm scanning the textual logs themselves in real-time to additionally
> > ban IP addresses from connecting.
>
> I banned Apache IP connections in real time, using a PHP routine in
> Apache, and invoking sudo and iptables.
>
> I'm sure using sudo and a IPtables command you can do the same from
> inside Exim using something like .....
>
> warn    message       = ${run{SHELL -c " .......... \ 
>                           $sender_host_address ?"}}


Are you really sure that you need the a shell and "-c" here?

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
 gnupg fingerprint: 9288 F17D BBF9 9625 5ABC  285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B)-