Re: Whereami with PPP?
Andrew McMillan wrote:
> Realistically I think the best way would be to run whereami in the
> up/down hooks with --hint options used to restrict the detection
> rulesets.
So far it seems to work, except that it seems to me, that there
is a bug in whereami setmailrelay script from whereami version
0.2.9. The proper parameter of queue_remote_domains for queue
setting should be IMHO ! * not just *.
--- setmailrelay 2003/02/22 16:28:47 1.1
+++ setmailrelay 2003/02/22 16:29:26
@@ -138,7 +138,7 @@
DEFER="# queue_remote_domains = *"
RELAY="$DEFAULT_RELAY"
elif [ "$RELAY" = "queue" ]; then
- DEFER="queue_remote_domains = *"
+ DEFER="queue_remote_domains = ! *"
RELAY="$DEFAULT_RELAY"
else
DEFER="# queue_remote_domains = *"
Thanks for the tip,
Matej
--
Matej Cepl,
Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
Economics is the only discipline where two people can win a Nobel
Prize for saying exactly the opposite thing!
-- Eamonn Butler of Adam Smith Institute
on Nobel Prize awards for year 2001
Reply to: