Hello,

     I can't change the sender address of my fail2ban emails, by using 
the config files. Somehow it uses the address fail2ban@ubuntu1404-64. I 
don't understand, where it's getting the string "ubuntu1404-64". The 
server has a fqdn hostname! Afaik the variable I want to set is just 
called "sender". No matter what I try, either fail2ban is not starting 
or it's ignoring this specific setting.

The only way to make it work was to hardwire the email-address into the 
action.

fail2ban 0.8.11-1
ubuntu (server) 14.4

mta = sendmail
action = %(action_mwl)s

mail.log:
Apr 24 15:20:25 server postfix/smtp[2386]: 8ECA81D7: 
to=<[email protected]>, relay=my.domain[87.106.5.84]:25, delay=0.27, 
delays=0.18/0.0/0.02/0.06, dsn=5.5.2, status=bounced (host 
my.domain[87.106.5.84] said: 504 5.5.2 <fail2ban@ubuntu1404-64>: Sender 
address rejected: need fully-qualified address (in reply to RCPT TO 
command))

Kind regards

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to