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 <h.rei...@thelounge.net
<mailto:h.rei...@thelounge.net>>:



    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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to