Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2021-06-24, 04:59:30

Author Topic: Spamd unable to connect via IPv6  (Read 3889 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Spamd unable to connect via IPv6
« on: 2019-07-15, 11:37:16 »
It shows something like this, then tries on IPv4:

spamc[27821]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused
spamd: Jul 15 11:23:32.168 [20583] info: spamd: connection from 127.0.0.1 [127.0.0.1]:60286 to port 783, fd 4

Solution is here: https://support.plesk.com/hc/en-us/articles/115000468845-SpamAssassin-does-not-work-Connection-refused

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Spamd unable to connect via IPv6
« Reply #1 on: 2019-07-16, 21:59:06 »
So /etc/sysconfig/spamassassin should be like this:

SPAMDOPTIONS="-i 127.0.0.1 -A 127.0.0.1 -v -d -p 783 -u vpopmail"

then all works fine:

spamd: Jul 16 21:57:28.013 [3933] info: spamd: connection from 127.0.0.1 [127.0.0.1]:45154 to port 783, fd 4
spamd: Jul 16 21:57:28.030 [3933] info: spamd: processing message <000601d53c10$b1f1e120$15d5a360$@wp.pl> for info@xxx.eu:89
spamd: Jul 16 21:57:28.241 [3933] info: spamd: clean message (1.2/5.0) for info@xxx.eu:89 in 0.2 seconds, 3709 bytes.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.031 seconds with 17 queries.

web stats analysis