2009/12/21 Nick Berg <nickb...@gmail.com>: > From the spamd.conf manual: > > The format of the list of addresses is expected to consist of one network > block or address per line (optionally followed by a space and text that > is ignored). Comment lines beginning with # are ignored. Network blocks > may be specified in any of the formats as in the following example: > > # CIDR format > 192.168.20.0/24 > # A start - end range > 192.168.21.0 - 192.168.21.255 > # As a single IP address > 192.168.23.1 > > Given the condition that an entry followed by a space has the > remaining text ignored, would that not invalidate the start - end > range entry? Should that not get interpreted as:
no. because a range entry is still an "entry." > > 192.168.21.0 #comment starts here > > On that note, if a space after an entry denotes the start of ignored > text, will Spamhaus' DROP list http://www.spamhaus.org/drop/drop.lasso > get parsed correctly, or should that get run through sed to strip out > everything after a semicolon? Its format: > > ; Spamhaus DROP List 12/22/09 - (c) 2009 The Spamhaus Project > 110.44.0.0/20 ; SBL74731 > 116.199.128.0/19 ; SBL56563 > 119.42.144.0/21 ; SBL70035 > 120.143.128.0/21 ; SBL67396 > 121.46.64.0/18 ; SBL72673 > 128.168.0.0/16 ; SBL51908 that first line with the semicolon list will not parse.