[Mimedefang] MIMEDefang and header-adding MILTERs
    David F. Skoll 
    dfs at roaringpenguin.com
       
    Mon Aug 14 15:33:31 EDT 2006
    
    
  
Dirk the Daring wrote:
>    I'm thinking about meshing MIMEDefang (v2.57, with sendmail 8.13.7)
> with a MILTER that adds message headers, such as SnertSoft's milter-ns
> (http://www.snertsoft.com/sendmail/milter-ns) and I have a question.
>    Specifically, will such a header added by milter-ns be available to
> me in MIMEDefang?
Yes, *if* milter-ns runs first.  See
http://www.sendmail.org/doc/sendmail-current/libmilter/docs/smfi_addheader.html
"For smfi_addheader, filter order is important. Later filters will see
 the header changes made by earlier ones."
(Note that there's really no need to use milter-ns.  You can do the same
thing in Perl with Net::DNS directly in your MIMEDefang filter.)
Regards,
David.
    
    
More information about the MIMEDefang
mailing list