> -----Original Message----- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of Mehmet Tolga Avcioglu > Sent: Wednesday, March 16, 2011 3:21 AM > To: Postfix users > Subject: Re: Non-smtp milter application and sasl macros > > Well, it seems obvious now that a well crafted milter application > should check to see if macros are defined first before assuming they > are there...
Yes, and there are other good reasons for that. One is that different MTAs set different macros at different times. For example, with sendmail the value of the "i" macro is set with the MAIL FROM, but with postfix it's set later in the SMTP sequence, so an application can't assume it's available at MAIL FROM if the intent is to have it work with any milter-aware MTA.