1 (edited by Vincent 2014-10-18 13:30:22)

Topic: Error.log since last ubuntu upgrade (Spamassain disable and warnings)

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Ubuntu
- Related log if you're reporting an issue: Ubuntu 14.0.4.1 LTS
====

Hello,
Since the last Ubuntu upgrade, when the server start i can see this (boot.log):

SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin
Starting iredapd ...
* Not starting internet superserver: no services enabled
* Starting Postfix Mail Transport Agent postfix       [ OK ]
* Starting postfix policy daemon cluebringer       [ OK ]
WARNING 'pidfile' not defined in 'Definition'. Using default one: '/var/run/fail2ban/fail2ban.pid'
WARNING 'findtime' not defined in 'ssh'. Using default one: 600
WARNING 'usedns' not defined in 'ssh'. Using default one: 'warn'
WARNING 'findtime' not defined in 'dropbear'. Using default one: 600
WARNING 'usedns' not defined in 'dropbear'. Using default one: 'warn'
WARNING 'findtime' not defined in 'pam-generic'. Using default one: 600
WARNING 'usedns' not defined in 'pam-generic'. Using default one: 'warn'
WARNING 'findtime' not defined in 'xinetd-fail'. Using default one: 600
WARNING 'usedns' not defined in 'xinetd-fail'. Using default one: 'warn'
WARNING 'findtime' not defined in 'ssh-ddos'. Using default one: 600
WARNING 'usedns' not defined in 'ssh-ddos'. Using default one: 'warn'
WARNING 'findtime' not defined in 'apache'. Using default one: 600
WARNING 'usedns' not defined in 'apache'. Using default one: 'warn'
WARNING 'findtime' not defined in 'apache-multiport'. Using default one: 600
WARNING 'usedns' not defined in 'apache-multiport'. Using default one: 'warn'
WARNING 'findtime' not defined in 'apache-noscript'. Using default one: 600
WARNING 'usedns' not defined in 'apache-noscript'. Using default one: 'warn'
WARNING 'findtime' not defined in 'apache-overflows'. Using default one: 600
WARNING 'usedns' not defined in 'apache-overflows'. Using default one: 'warn'
WARNING 'findtime' not defined in 'vsftpd'. Using default one: 600
WARNING 'usedns' not defined in 'vsftpd'. Using default one: 'warn'
WARNING 'findtime' not defined in 'proftpd'. Using default one: 600
WARNING 'usedns' not defined in 'proftpd'. Using default one: 'warn'
WARNING 'findtime' not defined in 'pure-ftpd'. Using default one: 600
WARNING 'usedns' not defined in 'pure-ftpd'. Using default one: 'warn'
WARNING 'findtime' not defined in 'wuftpd'. Using default one: 600
WARNING 'usedns' not defined in 'wuftpd'. Using default one: 'warn'
WARNING 'findtime' not defined in 'postfix'. Using default one: 600
WARNING 'usedns' not defined in 'postfix'. Using default one: 'warn'
WARNING 'findtime' not defined in 'couriersmtp'. Using default one: 600
WARNING 'usedns' not defined in 'couriersmtp'. Using default one: 'warn'
WARNING 'findtime' not defined in 'courierauth'. Using default one: 600
WARNING 'usedns' not defined in 'courierauth'. Using default one: 'warn'
WARNING 'findtime' not defined in 'sasl'. Using default one: 600
WARNING 'usedns' not defined in 'sasl'. Using default one: 'warn'
WARNING 'findtime' not defined in 'dovecot'. Using default one: 600
WARNING 'usedns' not defined in 'dovecot'. Using default one: 'warn'
WARNING 'findtime' not defined in 'named-refused-tcp'. Using default one: 600
WARNING 'usedns' not defined in 'named-refused-tcp'. Using default one: 'warn'
WARNING 'findtime' not defined in 'ssh-iredmail'. Using default one: 600
WARNING 'usedns' not defined in 'ssh-iredmail'. Using default one: 'warn'
WARNING 'usedns' not defined in 'roundcube-iredmail'. Using default one: 'warn'
WARNING 'usedns' not defined in 'dovecot-iredmail'. Using default one: 'warn'
WARNING 'findtime' not defined in 'postfix-iredmail'. Using default one: 600
WARNING 'usedns' not defined in 'postfix-iredmail'. Using default one: 'warn'
ERROR  NOK: (2, 'No such file or directory')
* Starting authentication failure monitor fail2ban       [ OK ]

I can use roundcube and send mail.

But what i can do for spamassassin and for WARNING flags ?

Thank you
Vincent

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Error.log since last ubuntu upgrade (Spamassain disable and warnings)

These warning messages are related to Fail2ban, not SpamAssassin.
Do you have Fail2ban config file /etc/fail2ban/jail.conf and /etc/fail2ban/jail.local?

3

Re: Error.log since last ubuntu upgrade (Spamassain disable and warnings)

Yes I have this 2 files.
Did you want a copy here ?

Warning is for fail2 ban: yes.
But in the top of error.log i see:
"SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin"
What Can i see in /etc/default/spamassassin ?

Thanks

4

Re: Error.log since last ubuntu upgrade (Spamassain disable and warnings)

Sorry about my mistake. These are warnings for /etc/fail2ban/filters.d/*, it's safe to ignore them since Fail2ban correctly uses default values for missed parameters.