Bug 5359

Summary: Why does spamc -x break -d host IP randomization?
Product: Spamassassin Reporter: Jussi Silvennoinen <jussi_apache>
Component: spamc/spamdAssignee: SpamAssassin Developer Mailing List <dev>
Status: NEW ---    
Severity: trivial    
Priority: P4    
Version: 3.1.8   
Target Milestone: Undefined   
Hardware: All   
OS: Linux   
Whiteboard:

Description Jussi Silvennoinen 2007-02-28 01:01:48 UTC
spamc -u foo -d foohost

foohost resolves to three A-records.
Two are down, one answers. Spamc tries all three a-ok. Wonderful.

spamc -u foo -d foohost -x
Spamc tries three times to the same (random) host and gives up if it doesn't
respond.

I understand this is intentional, why?

I don't want the message to pass unrated if spamc cannot connect to any host,
EX_TEMPFAIL is preferred. I would like to have it try three times to connect to
different hosts.
Comment 1 Matus UHLAR - fantomas 2008-04-21 04:54:49 UTC
I have similar problem. I have "main" spamd on one machine and backup on other machine. the '-x' breaks usage of multiple IP's provided by '-d'. This is documented, but I don't understand why?

Is there any reason why should spamc contact spamd servers differently when -x is provided?

I'm sorry if this is a different problem - I may open new bug/wishlist report.