https://bugs.koozali.org/show_bug.cgi?id=11586
--- Comment #12 from Graeme Fleming <[email protected]> ---
Comment on attachment 6543
--> https://bugs.koozali.org/attachment.cgi?id=6543
Modified 30Service20qpsmtpd
>{
>
>my $status = $qpsmtpd{'status'} || 'disabled';
>my $f2b = $qpsmtpd{'Fail2Ban'} || 'enabled';
>return "" if (($status ne 'enabled') || ($f2b ne 'enabled'));
>my @ports = ();
>push @ports, ($qpsmtpd{'TCPPort'} || '25');
>push @ports, ($sqpsmtpd{'TCPPort'} || '465')
> if (($sqpsmtpd{'status'} || 'disabled') eq 'enabled');
>my $port = join (",", @ports);
>
>my $max = $maxretry*3;
>
>$OUT .=<<"EOF";
>
>[qpsmtpd]
>enabled = true
>filter = qpsmtpd
>logpath = /var/log/*qpsmtpd/current
>maxretry = $max
>action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
>EOF
>
>$OUT .= " smeserver-sendmail[name=\"Qpsmtpd\",dest=$maildest]\n"
> if ($mail eq 'enabled');
>
>}
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/