spamassassin caches DNS servers forever
Bug #436630 reported by
James Troup
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.
Changed in spamassassin (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
description: | updated |
To post a comment you must log in.
Same problem here.
Workaround: add something like
#!/bin/sh
[ -f /etc/init.d/spamd ] || exit 0
case $1 in hibernate) /etc/init.d/spamd stop ;;
suspend|
resume|thaw) /etc/init.d/spamd start ;;
*) exit $NA ;;
esac
exit 0
to /etc/pm/sleep.d