Subject: | MAPS plugin's IP regex too picky |
This is MAPS.pm's regex for isolating relay IPs:
/\[((\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3}))\]/
I don't know why it expects brackets. Most of my mail puts the IP in parens, and some of it uses in the form "(name@43.33.22.11)", either style meaning the message gets a pass from an RBL check. Any reason not to take the brackets out?