"Asterisk REQ wrote:"
> 
> This is a multi-part message in MIME format.
> --===============2623532880364256023==
> Content-Type: multipart/alternative;
>       boundary="------------060704070902040005040206"
> 
> This is a multi-part message in MIME format.
> --------------060704070902040005040206
> Content-Type: text/plain; charset=utf-8; format=flowed
> Content-Transfer-Encoding: 7bit
> 
> Ok, I revise again, I cant say that is not a sendmail problem I obtain 
> the same error on fail2ban when I try to execute something in ban 
> action: simple command, simple script, I revise permissions on script 
> path ( all 777) but same error.
> I read some fix related on 
> http://www.fail2ban.org/wiki/index.php/Fail2ban_talk:Community_Portal#fail2ban.actions.action_ERROR_on_startup.2Frestart
> like add time.sleep(0.1) but nothing
> 
> any ideas?? Thanks
> 
> 
> 
> Hi guys!
>      I install the same fail2ban system for years, but now in a centos 
> 6.6 new  installation I found this error when I try to sendemail on ssh 
> ban ( fail2ban log):
> 
> fail2ban.actions.action[16416]: ERROR   /usr/sendEmail/sendEmail -f 
> [email protected] -t [email protected] -s smtp.mail.yahoo.com -u 
> .Example rule. -v -o tls=yes -xu mimailuser -xp mimailpass -m bodymail 
> returned 7e00
> 
> but when I execute  the same command on commandline :
> 
> /usr/sendEmail/sendEmail -f [email protected] -t [email protected] -s 
> smtp.mail.yahoo.com -u .Example rule. -v -o tls=yes -xu mimailuser -xp 
> mimailpass -m bodymail
> 
> the email  was sent successfully.

If you're system has Selinux in enforcing mode it probably is blocking
the transition from fail2ban to sendmail. Do this "setenforce
Permissive" and then retry with fail2ban. Then do an ausearch -m avc and
see if there were any Selinux complaints. Put Selinux back to original
state by "setenforce Enforcing".

> 
> What I can do / revise files?
> 
> Thanks
> 
> 
> 
> 
> 
> --------------060704070902040005040206
> Content-Type: text/html; charset=utf-8
> Content-Transfer-Encoding: 8bit
> 
> <html>
>   <head>
> 
>     <meta http-equiv="content-type" content="text/html; charset=utf-8">
>   </head>
>   <body bgcolor="#FFFFFF" text="#000000">
>     Ok, I revise again, I cant say that is not a sendmail problem I
>     obtain the same error on fail2ban when I try to execute something in
>     ban action: simple command, simple script, I revise permissions on
>     script path ( all 777) but same error.<br>
>     I read some fix related on <a
> href="http://www.fail2ban.org/wiki/index.php/Fail2ban_talk:Community_Portal#fail2ban.actions.action_ERROR_on_startup.2Frestart";>http://www.fail2ban.org/wiki/index.php/Fail2ban_talk:Community_Portal#fail2ban.actions.action_ERROR_on_startup.2Frestart</a><br>
>     like add time.sleep(0.1) but nothing<br>
>     <br>
>     <div class="moz-forward-container">any ideas?? Thanks<br>
>       <br>
>       <br>
>       <br>
>       <meta http-equiv="content-type" content="text/html; charset=utf-8">
>       <font face="Times New Roman">Hi guys!<br>
>             I install the same fail2ban system for years, but now in a
>         centos 6.6 new  installation I found this error when I try to
>         sendemail on ssh ban ( fail2ban log): <br>
>         <br>
>         fail2ban.actions.action[16416]: ERROR   /usr/sendEmail/sendEmail
>         -f  <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
>           href="mailto:[email protected]";>[email protected]</a> -t <a
>           moz-do-not-send="true" class="moz-txt-link-abbreviated"
>           href="mailto:[email protected]";>[email protected]</a> -s
>         smtp.mail.yahoo.com -u .Example rule. -v -o tls=yes -xu
>         mimailuser -xp mimailpass -m bodymail returned 7e00<br>
>         <br>
>         but when I execute  the same command on commandline : <br>
>       </font><br>
>       <font face="Times New Roman">/usr/sendEmail/sendEmail -f  <a
>           moz-do-not-send="true" class="moz-txt-link-abbreviated"
>           href="mailto:[email protected]";>[email protected]</a> -t <a
>           moz-do-not-send="true" class="moz-txt-link-abbreviated"
>           href="mailto:[email protected]";>[email protected]</a> -s
>         smtp.mail.yahoo.com -u .Example rule. -v -o tls=yes -xu
>         mimailuser -xp mimailpass -m bodymail<br>
>         <br>
>         the email  was sent successfully.<br>
>         <br>
>         What I can do / revise files?<br>
>         <br>
>         Thanks<br>
>         <br>
>         <br>
>       </font> <br>
>     </div>
>     <br>
>   </body>
> </html>
> 
> --------------060704070902040005040206--
> 
> 
> --===============2623532880364256023==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> --===============2623532880364256023==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> Fail2ban-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users
> 
> --===============2623532880364256023==--
> 


-- 

Regards,

David Highley
Highley Recommended, Inc.       Phone: (206) 669-0081
2927 SW 339th Street            WEB: http://www.highley-recommended.com
Federal Way, WA 98023-7732

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to