spamassassin caches DNS servers forever

Bug #436630 reported by James Troup
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
spamassassin (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: spamassassin

spamassassin appears to maintain its own internal cache of the IPs of the DNS resolvers for a system that persists long after they change. Specifically, if I boot my laptop at home (where $HOMEISP are the DNS), suspend my laptop and come into work, after I resume spamassassin continues to talk to $HOMEISP DNS servers, rather than the $WORK DNS servers (confirmed via tcpdump/wireshark).

Either spamassassin should cache less aggressively or it needs to notice that the DNS resolvers have changed.

Revision history for this message
Bastl (s-menge) wrote :

Same problem here.

Workaround: add something like

#!/bin/sh

[ -f /etc/init.d/spamd ] || exit 0

case $1 in
    suspend|hibernate) /etc/init.d/spamd stop ;;
    resume|thaw) /etc/init.d/spamd start ;;
    *) exit $NA ;;
esac
exit 0

to /etc/pm/sleep.d

Chuck Short (zulcss)
Changed in spamassassin (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
Kenyon Ralph (kralph)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.