mirror of https://github.com/fail2ban/fail2ban
ENH: Provide content-type corresponding to LC_CTYPE for sendmail whois actions (Closes: #600272)
parent
9559fcd3a0
commit
ed9000c469
@ -0,0 +1,11 @@
|
||||
[INCLUDES]
|
||||
|
||||
# Load customizations if any available
|
||||
after = common.local
|
||||
|
||||
[DEFAULT]
|
||||
|
||||
_LC_CTYPE = `locale | awk -F= '/LC_CTYPE/{ print $2; }'`
|
||||
|
||||
# To avoid duplication -- define useful header fields
|
||||
_ContentTypeMailHeader = Content-Type: text/plain; charset=%(_LC_CTYPE)s
|
Loading…
Reference in new issue