Topic: Spamassassin and Amavisd-New not working
==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: FreeBSD 10
- Related log if you're reporting an issue:
====
I've installed FreeBSD and iRedMail twice now, both times I would get errors that Mail::SPF Geo::IP Razor2::Client::Agent and Net::Patricia were not loaded. I could install Net::Patricia using:
perl -MCPAN -e shell
cpan> install Net::Patricia
but could not install the others.
After my 2nd fresh install, found the following to fix Spamassassin:
perl -MCPAN -e shell
cpan> o conf prerequisites_policy ask
cpan> force install Geo::IP IO::Socket::IP Net::Patricia NetAddr::IP
cpan> force install Mail::SpamAssassin Mail::SpamAssassin::Plugin::Razor2
cpan> quit
sa-update
spamassassin --lint -D
now works, but after reboot both Amavis and Spamassassin refuse to work. Console log shows 2 warnings:
Jul 3 15:18:01 plankton root: /etc/rc: WARNING: failed to start amavisd
Jul 3 15:18:06 plankton ntpd[746]: time reset -0.316679 s
Jul 3 15:18:20 plankton root: /etc/rc: WARNING: failed to start policyd2
Maillog only shows Postfix starting, and errors because Amavis did not start.
Jul 3 15:18:20 plankton postfix/postfix-script[1153]: starting the Postfix mail system
Jul 3 15:18:20 plankton postfix/master[1155]: daemon started -- version 2.11.1, configuration /usr/local/etc/postfix
Jul 3 15:25:45 plankton postfix/smtpd[1264]: connect from Postfix[10.0.1.220]
Jul 3 15:27:00 plankton postfix/smtpd[1264]: warning: connect to 127.0.0.1:10031: Operation timed out
Jul 3 15:27:00 plankton postfix/smtpd[1264]: warning: problem talking to server 127.0.0.1:10031: Operation timed out
Jul 3 15:28:16 plankton postfix/smtpd[1264]: warning: connect to 127.0.0.1:10031: Operation timed out
I suspect the force installation of Spamassassin broke permissions and maybe put things in non-iRedMail preferred locations?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.