Difference between revisions of "Sample-jail.local"
From Free Knowledge Base- The DUCK Project: information for everyone
(Created page with " <nowiki>[dovecot]</nowiki> <nowiki>enabled = true</nowiki> <nowiki>filter = dovecot</nowiki> <nowiki>action = iptables-multiport-tcp[name=dovecot, port="pop3,pop3s,ima...") |
m |
||
Line 2: | Line 2: | ||
<nowiki>enabled = true</nowiki> | <nowiki>enabled = true</nowiki> | ||
<nowiki>filter = dovecot</nowiki> | <nowiki>filter = dovecot</nowiki> | ||
− | <nowiki>action = iptables-multiport-tcp[name=dovecot, port="pop3,pop3s,imap,imaps", protocol=tcp] mail[name=dovecot, dest=root]</ | + | <nowiki>action = iptables-multiport-tcp[name=dovecot, port="pop3,pop3s,imap,imaps", protocol=tcp] mail[name=dovecot, dest=root]</nowiki> |
− | + | <nowiki># optionaly mail notification # mail[name=dovecot-pop3imap, dest=root@domain] </nowiki> | |
− | <nowiki># optionaly mail notification # mail[name=dovecot-pop3imap, dest=root@domain] | + | |
− | + | ||
<nowiki>logpath = /var/log/maillog</nowiki> | <nowiki>logpath = /var/log/maillog</nowiki> | ||
<nowiki>maxretry = 3</nowiki> | <nowiki>maxretry = 3</nowiki> | ||
Line 15: | Line 13: | ||
<nowiki>filter = postfix-sasl</nowiki> | <nowiki>filter = postfix-sasl</nowiki> | ||
<nowiki>action = iptables-multiport-tcp[name=postfix, port="smtp,smtps", protocol=tcp] mail[name=postfix, dest=root]</nowiki> | <nowiki>action = iptables-multiport-tcp[name=postfix, port="smtp,smtps", protocol=tcp] mail[name=postfix, dest=root]</nowiki> | ||
− | <nowiki># optionaly mail notification # mail[name=dovecot-pop3imap, dest=root@domain] | + | <nowiki># optionaly mail notification # mail[name=dovecot-pop3imap, dest=root@domain] </nowiki> |
− | + | ||
<nowiki>logpath = /var/log/maillog</nowiki> | <nowiki>logpath = /var/log/maillog</nowiki> | ||
<nowiki>maxretry = 3</nowiki> | <nowiki>maxretry = 3</nowiki> |
Latest revision as of 18:58, 7 February 2014
[dovecot] enabled = true filter = dovecot action = iptables-multiport-tcp[name=dovecot, port="pop3,pop3s,imap,imaps", protocol=tcp] mail[name=dovecot, dest=root] # optionaly mail notification # mail[name=dovecot-pop3imap, dest=root@domain] logpath = /var/log/maillog maxretry = 3 findtime = 300 bantime = 1800 [postfix-sasl] enabled = true filter = postfix-sasl action = iptables-multiport-tcp[name=postfix, port="smtp,smtps", protocol=tcp] mail[name=postfix, dest=root] # optionaly mail notification # mail[name=dovecot-pop3imap, dest=root@domain] logpath = /var/log/maillog maxretry = 3 findtime = 300 bantime = 1800 protocol = tcp