Hello, everyone. I thought before I potential reinvent the wheel, I would ask here if someone hasn't done this before:
I am looking at doing 3 things in postfix on a relay which is set as the smart relay on a number of machines. 1.) Check the client host name, if in table 1, allow relay unconditional, stop further checks 2.) Check if recipient address is [EMAIL PROTECTED], [EMAIL PROTECTED] but not [EMAIL PROTECTED], if true, then allow relay and stop further checks. 3.) Check the client host name, if in table 2, use field in table to rewrite the recipient address and insert header with original recipient address, stop further checks. 4.) And last if all fails, rewrite the recipient address to [EMAIL PROTECTED], which will allow us to classify the client host into 1 or 3. Anyone done something similar and cares to share? Any other suggestions? Ulf Zimmermann | Senior System Architect OPENLANE 4600 Bohannon Drive, Suite 100 Menlo Park, CA 94025 O: 650-532-6382 M: (510) 396-1764 F: (510) 580-0929 Email: [EMAIL PROTECTED] | Web: www.openlane.com