Bug 5359 - Why does spamc -x break -d host IP randomization?
Summary: Why does spamc -x break -d host IP randomization?
Status: NEW
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: 3.1.8
Hardware: All Linux
: P4 trivial
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 01:01 UTC by Jussi Silvennoinen
Modified: 2008-04-21 04:54 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
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.