I have tried this with no success, The issue we are having is that it can take upto 4 mins for spamc to realize that the spamd host is not running. I have tried to use the –t option with spamc but that only seams to effect how long spamc will wait on spamd after the connection is made. If I stop the spamd process on the remote host, mail is delivered fine, but if the remote host drops off the network, this is what the error log is showing:
Here is an example of the log file when this is happening: Jul 8 14:03:10 mail1 spamc[14952]: connect() to spamd at 10.1.1.100 failed, retrying (1/3): Connection timed out Jul 8 14:04:44 mail1 spamc[14952]: connect() to spamd at 10.1.1.100 failed, retrying (2/3): No route to host Jul 8 14:05:30 mail1 spamc[14952]: connect() to spamd at 10.1.1.100 failed, retrying (3/3): No route to host Jul 8 14:05:31 mail1 spamc[14952]: connection attempt to spamd aborted after 3 retries
Jul 8 13:58:51 mail1 spamc[14619]: connect() to spamd at 10.1.1.100 failed, retrying (1/3): No route to host Jul 8 14:02:01 mail1 spamc[14619]: connect() to spamd at 10.1.1.100 failed, retrying (2/3): Connection timed out Jul 8 14:05:11 mail1 spamc[14619]: connect() to spamd at 10.1.1.100 failed, retrying (3/3): Connection timed out Jul 8 14:05:12 mail1 spamc[14619]: connection attempt to spamd aborted after 3 retries
As you can see we are getting two different error messages in the log file, No Route to host and Connection Timed Out During testing we were running spamc out of procmail with –d 10.1.1.100 –t 15 as the options
Anyone have any ideas?
Thanks, Tony B, CCNA, Network+ Systems Administration GO Concepts, Inc. / www.go-concepts.com Are you on the GO yet? What about those you know, are they on the GO? 513.934.2800 1.888.ON.GO.YET
-----Original Message-----
Use the timeout switch when calling spamc. Mail will then be delivered as normal, but without any SA info.
Thomas
DISCLAIMER: |
- [SAtalk] Spamc on remote host Tony Bunce
- RE: [SAtalk] Spamc on remote host Tony Bunce
- RE: [SAtalk] Spamc on remote host Thomas Nilsen
- RE: [SAtalk] Spamc on remote host Tony Bunce