> But, now comes the hard part - getting postfix to actually look it up > using the delivery address; it normally will search just with the mail > from address when doing access checks. I haven't had a chance to look > at Postfix 2.x, so I don't know how easily you can call up the > destination address, or even if Postfix will do multiple lookups in > the case of one person sending to multiple addresses... some of which > might want the mail, others who might not.
We're using postfix 2.x here, and from what I've seen, there's not a way to do that. You still have seperate sender and recipient restrictions, with no option to include variables in the lookups (eg. smtp_recipient_restriction of "pgsql:/etc/postfix/whitelist.cf $sender $recipient" or something). That seems like a nice feature that could be added if you could find the right postfix hacker to adopt the idea. (Maybe throw it across a postfix mailing list?) -- Jesse Norell jesse (at) kci.net
