I had occasion to need to allow a set of servers to send email into our environment adding them to allow lists. In Exchange 2007 this is done through the EMS (Exchange Management Shell) with the cmdlets of Get-IPAllowListEntry, Add-IPAllowListEntry and Remove-IPAllowListEntry.
Obviously Get shows you the current list. Add obviosly adds and remove removes, remove does this based on the identity of the entry, this is an automatically incrementing number that is assigned with an entry is created.
Format for Add is
Add-IPAllowListEntry -IPRange <IPRange> [-ExpirationTime <DateTime>]
Or
Add-IPAllowListEntry -IPAddress <IPAddress> [-ExpirationTime <DateTime>]
Add-IPAllowListEntry -IPAddress <IPAddress> [-ExpirationTime <DateTime>]
The date is optional on each entry and the format for -IPRange is either CIDR IP or an IP Range of the format x.x.x.x-x.x.x.x
Hope this helps those of you that need to make these changes.