Hallo,

ok I have some fixes.

Maybe it will work for those who have the same problem.

1.)
I did modify file /etc/sysconfig/spamassassin
And changed
SPAMDOPTIONS="-d -c -m5 -H"
to
SPAMDOPTIONS="-d -c -m5 -H --socketpath=/var/run/spamd.sock"


2.)
I did patch /usr/share/perl5/vendor_perl/Mail/SpamAssassin/DnsResolver.pm with 
http://files1.directadmin.com/services/custombuild/patches/dns_resolver.patch
Because I did see a lot of this messages:
Oct 16 11:14:34 alfisti spamd[24272]: rules: failed to run NO_DNS_FOR_FROM RBL 
test, skipping:
Oct 16 11:14:34 alfisti spamd[24272]: (available_nameservers: [...] No DNS 
servers available!)
Oct 16 11:14:34 alfisti spamd[24272]: spf: lookup failed: 
available_nameservers: No DNS servers available!


3.)
I did change /etc/mail/spamassassin/v310.pre
And changed
#loadplugin Mail::SpamAssassin::Plugin::DCC
to 
loadplugin Mail::SpamAssassin::Plugin::DCC

and 
#loadplugin Mail::SpamAssassin::Plugin::AWL
To
loadplugin Mail::SpamAssassin::Plugin::AWL

Now all error messages are gone and scanning seems to be working good again.

Best regards,
Dirk

---

blackpoint GmbH - Friedberger Straße 106b - 61118 Bad Vilbel


-----Ursprüngliche Nachricht-----
Von: Blueonyx <blueonyx-boun...@mail.blueonyx.it> Im Auftrag von Dirk Estenfeld
Gesendet: Dienstag, 16. Oktober 2018 10:58
An: BlueOnyx General Mailing List <blueonyx@mail.blueonyx.it>
Betreff: [BlueOnyx:22450] Re: Problems with spamassassin

Hello,

another error.
Every spamassassin restart show this error

Oct 16 10:55:10 bpa18de spamd[29459]: config: failed to parse line, skipping, 
in "/etc/mail/spamassassin/local.cf": use_auto_whitelist 0 Oct 16 10:55:10 
bpa18de spamd[29459]: config: failed to parse line, skipping, in 
"/etc/mail/spamassassin/local.cf": use_dcc 1 Oct 16 10:55:10 bpa18de 
spamd[29459]: config: failed to parse line, skipping, in 
"/etc/mail/spamassassin/sql.cf": use_auto_whitelist 1 Oct 16 10:55:10 bpa18de 
spamd[29459]: config: failed to parse line, skipping, in 
"/etc/mail/spamassassin/sql.cf": auto_whitelist_factory 
Mail::SpamAssassin::SQLBasedAddrList
Oct 16 10:55:10 bpa18de spamd[29459]: config: failed to parse line, skipping, 
in "/etc/mail/spamassassin/sql.cf": user_awl_dsn 
DBI:mysql:avspam6:localhost:3306 Oct 16 10:55:10 bpa18de spamd[29459]: config: 
failed to parse line, skipping, in "/etc/mail/spamassassin/sql.cf": 
user_awl_sql_username avspam Oct 16 10:55:10 bpa18de spamd[29459]: config: 
failed to parse line, skipping, in "/etc/mail/spamassassin/sql.cf": 
user_awl_sql_password Oct 16 10:55:10 bpa18de spamd[29459]: config: failed to 
parse line, skipping, in "/etc/mail/spamassassin/sql.cf": user_awl_sql_table 
awl Oct 16 10:55:16 bpa18de spamd[29459]: spamd: server started on UNIX domain 
socket /var/run/spamd.sock (running version 3.4.0)

I think this is also since updated this morning.

Best regards,
Dirk Estenfeld


---

blackpoint GmbH - Friedberger Straße 106b - 61118 Bad Vilbel


-----Ursprüngliche Nachricht-----
Von: Blueonyx <blueonyx-boun...@mail.blueonyx.it> Im Auftrag von Dirk Estenfeld
Gesendet: Dienstag, 16. Oktober 2018 09:58
An: BlueOnyx General Mailing List <blueonyx@mail.blueonyx.it>
Betreff: [BlueOnyx:22449] Problems with spamassassin

Hello,

today I see the following error on several servers with AV-SPAM Package:

Oct 16 09:45:09 bpa17de spamass-milter[29109]: spamass-milter 0.3.1 starting 
Oct 16 09:45:31 bpa17de spamass-milter[29109]: Could not retrieve sendmail 
macro "b"!.  Please add it to confMILTER_MACROS_ENVRCPT for better spamassassin 
results Oct 16 09:45:31 bpa17de spamc[29209]: connect(AF_UNIX) to spamd using 
--socket='/var/run/spamd.sock' failed: No such file or directory Oct 16 
09:45:31 bpa17de spamass-milter[29109]: Could not extract score from <> Oct 16 
09:46:45 bpa17de spamc[29353]: connect(AF_UNIX) to spamd using 
--socket='/var/run/spamd.sock' failed: No such file or directory Oct 16 
09:46:45 bpa17de spamass-milter[29109]: Could not extract score from <> Oct 16 
09:46:50 bpa17de spamc[29367]: connect(AF_UNIX) to spamd using 
--socket='/var/run/spamd.sock' failed: No such file or directory Oct 16 
09:46:50 bpa17de spamass-milter[29109]: Could not extract score from <> Oct 16 
09:46:52 bpa17de spamc[29377]: connect(AF_UNIX) to spamd using 
--socket='/var/run/spamd.sock' failed: No such file or directory Oct 16 
09:46:52 bpa17de spamass-milter[29109]: Could not extract score from <> Oct 16 
09:46:58 bpa17de spamc[29399]: connect(AF_UNIX) to spamd using 
--socket='/var/run/spamd.sock' failed: No such file or directory Oct 16 
09:46:58 bpa17de spamass-milter[29109]: Could not extract score from <>


Some suggestions what did happen and how I can fix the issue?

Best regards,
Dirk 


---

blackpoint GmbH - Friedberger Straße 106b - 61118 Bad Vilbel



_______________________________________________
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx

_______________________________________________
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx

Reply via email to