Marc: > I have problems configuring the spamass-milter to connect to the remote > spamd. I am constantly getting > > getaddrinfo(192.168.10.243:34219) failed: Name or service not known > could not resolve any hosts (192.168.10.243:34219): no such host > > Nothing of these seem to work > -D 192.168.10.243:34219 inet:34219@hostname > > this spamc commandline is processed ok > spamc -d xxxx.xxx.xxx -p 34219 < /etc/mail/spamassassin/sample-spam2.txt
Usually a SpamAssassin milter can accept additional arguments after ‘--’ that it will pass to spamc. So: spamassassin-milter ...other args... -- -d 192.168.10.243 -p 34219 Or configure the connection in /etc/spamassassin/spamc.conf, that works too.