[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Spamass-milter unable to bind onto network ports
From: |
Simon Loewenthal |
Subject: |
Re: Spamass-milter unable to bind onto network ports |
Date: |
Tue, 12 Nov 2013 22:05:47 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
On 12/11/2013 21:51, Don Armstrong wrote:
> On Sun, 10 Nov 2013, Simon Loewenthal wrote:
>> Today I turned of postfix chroot because RDNS_NONE results were
>> pointless because postfix could not resolve IP address, and I decided
>> to unchroot this.
> Postfix should be able to resolve hostnames whether it is chrooted or
> not. If it can't, something else is wrong.
>
>> So, I thought I should be using tcp ports instead and with this in mind
>> I commented all of its SOCKET* entries, and set the -p flag with:
>> -p 11783
> If you want to use tcp sockets, you need to set
> SOCKET="inet:address@hidden" or similar in /etc/default/spamass-milter,
> as documented in /usr/share/doc/spamass-milter/README.Debian.
>
>> Its error message was:
>> Nov 10 23:35:24 lt spamass-milter[14244]: spamass-milter 0.3.1 starting
>> Nov 10 23:35:24 lt spamass-milter[14244]: SpamAssassin: Unable to bind
>> to port 11783: Permission denied
>> Nov 10 23:35:24 lt spamass-milter[14244]: SpamAssassin: Unable to create
>> listening socket on conn 11783
>> Nov 10 23:35:24 lt spamass-milter[14244]: spamass-milter 0.3.1 exiting
> The -p option controls how spamc connects to spamassassin; it doesn't
> have anything to do with spamass-milter.
Hi Don,
Thanks for this, and telling me where the docs were.
I saw the milter still tries to chmod and chown the socket even though
this is a network socket :)
# /etc/init.d/spamass-milter restart
Restarting Sendmail milter plugin for SpamAssassin: chmod: cannot access
`inet:address@hidden': No such file or directory
address@hidden:/etc/postfix# ps -eaf|grep spamass
114 2890 1 0 22:01 ? 00:00:00 /usr/sbin/spamass-milter
-P /var/run/spamass/spamass.pid -f -p inet:address@hidden -u nobody -e
klunky.co.uk -M -r 10.4 -i 127.0.0.1 -- -s 1050000 -u spamd
Re: Spamass-milter unable to bind onto network ports, Don Armstrong, 2013/11/12
- Re: Spamass-milter unable to bind onto network ports,
Simon Loewenthal <=