I want to connect spamc in IP 172.19.3.1 to spamd in IP 172.19.2.1

spamd is running in 2.1 with the following options:

# ps -ef | grep spamd
root     11192     1  0 14:20 ?        00:00:00 /usr/sbin/spamd -m 10 -A
172.19.3.1 -A 172.19.3.2 -A 127.0.0.1 -d --pidfile=/var/run/spamd.pid
root     11193 11192  0 14:20 ?        00:00:00 spamd child
root     11194 11192  0 14:20 ?        00:00:00 spamd child
....
....

and it work fine with connections in 127.0.0.1

but, wen I want to connect from 3.1 with command:

# spamc -c -d 172.19.2.1 -l < message.txt

I get the next error messages:
spamc: connect(AF_INET) to spamd at 172.19.2.1 failed, retrying (#1 of
3): Connection refused
spamc: connect(AF_INET) to spamd at 172.19.2.1 failed, retrying (#2 of
3): Connection refused
spamc: connect(AF_INET) to spamd at 172.19.2.1 failed, retrying (#3 of
3): Connection refused
spamc: connection attempt to spamd aborted after 3 retries
0/0

With tcpdump i can see that connections from 3.1 to 2.1 (por 783) are
done, but spamd in 2.1 do not apear accept client 3.1 (option -A
malfunctioning?)

Anybody can help me?

Thanks.

Reply via email to