Jan P. Kessler: > > >> Or what the limitations are. > > > > Note that you can not return different results for different > > recipients at data or end_of_data stage. You can only pass or reject > > the whole mail at all. > > > > p.s. the policy server example included in the postfix docs would break. > substr(0,512) is to small for a potential list of hundreds of recipients ;)
The policy protocol never sends more than one recipient. See also RFC 5321 for maximum lengths of SMTP commands. Wietse