Ralph Seichter put forth on 9/12/2010 6:44 AM: > On 12.09.10 12:37, Stan Hoeppner wrote: > >> Ralph, do you restrict submission to only certain public subnets or >> do you allow your users/customers to submit from any network? > > Submission is allowed for SASL-authenticated users from any network. > Fortunately, the number of originating domains is not too large, and > I can base header checks on the domain names: > > /^Received:\s+from\s+\w+\.privatedomain1\.tld\b/ IGNORE > /^Received:\s+from\s+\w+\.privatedomain2\.tld\b/ IGNORE > > Simple as this regular expression is, it seems to match the real life > headers encountered during my tests so far.
Getting the regex correct for your scenario was my concern and it looks like you've already got a handle on it Ralph. Glad to read in your other reply that it's all working the way you want it to, and that mouss got you going relatively easily. :) He's helped me out many a time as well. -- Stan