On Tue, Nov 5, 2013 at 7:55 AM, Nathan Schultheiss <nat...@schultheiss.fr> wrote: > Hello All, > > By spawn I've a script that checks several parameters before accepting an > SMTP email. > I found the list of variables here > http://www.cs.ait.ac.th/~on/postfix/SMTPD_POLICY_README.html > > But I would retrieve the subject with this method. > My script already gets all other parameters before returning reject, dunno, > ... > > Are there a way to have the subject ? > > Bests Regards, > Nath
You choose the wrong interface to do that job. Check the milter interface http://www.postfix.org/MILTER_README.html José Borges Ferreira