Re: Issue on disable ipv6
stay on list! Am 09.07.2016 um 12:50 schrieb Massimo Sandolo: Hi all, my etc/hosts is the following: cat /etc/hosts fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.0.1 localhost.localdomain localhost # Auto-generated hostname. Please do not remove this comment. xx.yyy.zzz.jjj bbb.aaa.domain abcdef ::1 localhost ip6-localhost ip6-loopback And about "the better question is why are you using TCP instead a unix socket at all in case of localhost?" Good question .. Sincerely I don't know .. on Postfix I have "smtpd_milters = unix:/spamass/spamass.sock" postfix don't talk to spamd directly but to the milter but from mail.log "spamd: connection from localhost.localdomain [127.0.0.1]:59866 to port 783, fd 5" .. so I think that I'm using tcp/ip as you said that's the connection from spmass-milter to spamd How can I setup spamd to run on socket? Do I add --socketpath on /etc/default/spamassassin config file? dunno where you configure things on your systems because with systemd i just edit unit-iles for the services and be done /usr/bin/spamd --max-children=5 --round-robin --max-conn-per-child=50 --socketpath=/run/spamassassin/spamassassin.sock --socketmode=0666 spamass-milter -p /run/spamass-milter/spamass-milter.sock -g sa-milt -R Blocked by Spamfilter -B spamfil...@thelounge.net -r 8.0 -i 10.0.0.0/24 -- -s 10485760 --socket=/run/spamassassin/spamassassin.sock 2016-07-02 5:21 GMT+02:00 Reindl Harald>: Am 01.07.2016 um 20:25 schrieb Massimo Sandolo: I have an issue when try to disable ipv6. I'm running Debian 8.3 with SpamAssassin version 3.4.0 (running on Perl version 5.20.2). In /etc/defualt/spamassassin the options line is the following: OPTIONS="-4 --create-prefs --max-children 5 --helper-home-dir -x -u usermail" I tried also with --ipv4-only, but it doesn't work, I'm still receiving the following error "spamc[22477]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused" the better question is why are you using TCP instead a unix socket at all in case of localhost? -- Reindl Harald the lounge interactive design GmbH A-1060 Vienna, Hofmühlgasse 17 CTO / CISO / Software-Development m: +43 (676) 40 221 40, p: +43 (1) 595 3999 33 icq: 154546673, http://www.thelounge.net/ http://www.thelounge.net/signature.asc.what.htm signature.asc Description: OpenPGP digital signature
Re: Issue on disable ipv6
Am 01.07.2016 um 20:25 schrieb Massimo Sandolo: I have an issue when try to disable ipv6. I'm running Debian 8.3 with SpamAssassin version 3.4.0 (running on Perl version 5.20.2). In /etc/defualt/spamassassin the options line is the following: OPTIONS="-4 --create-prefs --max-children 5 --helper-home-dir -x -u usermail" I tried also with --ipv4-only, but it doesn't work, I'm still receiving the following error "spamc[22477]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused" the better question is why are you using TCP instead a unix socket at all in case of localhost? signature.asc Description: OpenPGP digital signature
Re: Issue on disable ipv6
On 2016-07-01 23:52, Alarig Le Lay wrote: On Fri Jul 1 23:13:36 2016, Benny Pedersen wrote: ::2 ipv6.localdomain ipv6 On IPv6, localhost is just ::1, not ::1/96 or something like that. alarig@pikachu ~ % ip -6 route get ::2 ::2 from :: via fe80::20d:b9ff:fe3a:1fa1 dev wlan1 src 2a01:cb08:898f:ab00:1c23:1474:a6ad:51c metric 309 pref medium alarig@pikachu ~ % mtr -c 1 -w ::2 Start: Fri Jul 1 23:51:04 2016 HOST: pikachu Loss% Snt Last Avg Best Wrst StDev 1.|-- 2a01cb08898fab01.ipv6.abo.wanadoo.fr 0.0% 13.2 3.2 3.2 3.2 0.0 2.|-- ??? 100.0 10.0 0.0 0.0 0.0 0.0 someday people understand me, i did not say change localhost and /etc/hosts is very extensible to any problem so you did not do your own homework here sorry
Re: Issue on disable ipv6
On Fri Jul 1 23:13:36 2016, Benny Pedersen wrote: > ::2 ipv6.localdomain ipv6 On IPv6, localhost is just ::1, not ::1/96 or something like that. alarig@pikachu ~ % ip -6 route get ::2 ::2 from :: via fe80::20d:b9ff:fe3a:1fa1 dev wlan1 src 2a01:cb08:898f:ab00:1c23:1474:a6ad:51c metric 309 pref medium alarig@pikachu ~ % mtr -c 1 -w ::2 Start: Fri Jul 1 23:51:04 2016 HOST: pikachu Loss% Snt Last Avg Best Wrst StDev 1.|-- 2a01cb08898fab01.ipv6.abo.wanadoo.fr 0.0% 13.2 3.2 3.2 3.2 0.0 2.|-- ??? 100.0 10.0 0.0 0.0 0.0 0.0 -- alarig signature.asc Description: Digital signature
Re: Issue on disable ipv6
On 2016-07-01 21:08, Ian Zimmerman wrote: I tried also with --ipv4-only, but it doesn't work, I'm still receiving the following error "spamc[22477]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused". What is the line or lines containing "localhost" in /etc/hosts? You'll need to comment out the one with the IPv6 address (::1), and leave the one with IPv4 address (127.0.0.1) uncommented. This is all assuming you run spamd and spamc on the same host. If not, please tell us about the network setup between the two hosts. add ipv4 hostname to /etc/hosts 127.0.0.2 ipv4.localdomain ipv4 ::2 ipv6.localdomain ipv6 now this can be used as hostname for dual stacking servers do not change localhost being default dual stacked http://ipv6bingo.com/ :=)
Re: Issue on disable ipv6
On 2016-07-01 20:25 +0200, Massimo Sandolo wrote: > Hi, > I have an issue when try to disable ipv6. > I'm running Debian 8.3 with SpamAssassin version 3.4.0 (running on Perl > version 5.20.2). > In /etc/defualt/spamassassin the options line is the following: > OPTIONS="-4 --create-prefs --max-children 5 --helper-home-dir -x -u > usermail" > > I tried also with --ipv4-only, but it doesn't work, I'm still receiving the > following error "spamc[22477]: connect to spamd on ::1 failed, retrying (#1 > of 3): Connection refused". What is the line or lines containing "localhost" in /etc/hosts? You'll need to comment out the one with the IPv6 address (::1), and leave the one with IPv4 address (127.0.0.1) uncommented. This is all assuming you run spamd and spamc on the same host. If not, please tell us about the network setup between the two hosts. -- Please *no* private copies of mailing list or newsgroup messages. Why does the arrow on Hillary signs point to the right?
Re: Issue on disable ipv6
Hi, thanks a lot, it works Max 2016-07-01 21:06 GMT+02:00 RW: > On Fri, 1 Jul 2016 20:25:40 +0200 > Massimo Sandolo wrote: > > > Hi, > > I have an issue when try to disable ipv6. > > I'm running Debian 8.3 with SpamAssassin version 3.4.0 (running on > > Perl version 5.20.2). > > In /etc/defualt/spamassassin the options line is the following: > > OPTIONS="-4 --create-prefs --max-children 5 --helper-home-dir -x -u > > usermail" > > These are options to spamd. > > > I tried also with --ipv4-only, but it doesn't work, I'm still > > receiving the following error "spamc[22477]: connect to spamd on ::1 > > failed, retrying (#1 of 3): Connection refused". > > You need to use spamc -4 >
Re: Issue on disable ipv6
On Fri, 1 Jul 2016 20:25:40 +0200 Massimo Sandolo wrote: > Hi, > I have an issue when try to disable ipv6. > I'm running Debian 8.3 with SpamAssassin version 3.4.0 (running on > Perl version 5.20.2). > In /etc/defualt/spamassassin the options line is the following: > OPTIONS="-4 --create-prefs --max-children 5 --helper-home-dir -x -u > usermail" These are options to spamd. > I tried also with --ipv4-only, but it doesn't work, I'm still > receiving the following error "spamc[22477]: connect to spamd on ::1 > failed, retrying (#1 of 3): Connection refused". You need to use spamc -4
Issue on disable ipv6
Hi, I have an issue when try to disable ipv6. I'm running Debian 8.3 with SpamAssassin version 3.4.0 (running on Perl version 5.20.2). In /etc/defualt/spamassassin the options line is the following: OPTIONS="-4 --create-prefs --max-children 5 --helper-home-dir -x -u usermail" I tried also with --ipv4-only, but it doesn't work, I'm still receiving the following error "spamc[22477]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused". Please may you help me? thank you Max