[Mimedefang] Simple test mimedefang, how ?

Graham Dunn gdunn at inscriber.com
Thu Jul 3 13:23:01 EDT 2003

On Thu, Jul 03, 2003 at 11:51:49AM -0500, Paul wrote:
> >Who tell me what I have to add to sendmail.mc and sendmail.cf
> >to run MIMEdefang?
> >
> >I added only in sendmail.mc
> >INPUT_MAIL_FILTER(`mimedefang',
> > `S=unix:/var/spool/MIMEDefang/mimedefang.sock, T=S:5m;R:5m')
> Do you also have the 2nd line needed, as stated in the docs? 
> define(`confINPUT_MAIL_FILTERS', `mimedefang')dnl
> so sendmail knows about MD?

This is redundant.

The sendmail docs say:

The INPUT_MAIL_FILTER() command performs the same actions as MAIL_FILTER
but also populates the m4 variable `confINPUT_MAIL_FILTERS' with the name
of the filter such that the filter will actually be called by sendmail.

For example, the two commands:

        INPUT_MAIL_FILTER(`archive', `S=local:/var/run/archivesock, F=R')
        INPUT_MAIL_FILTER(`spamcheck', `S=inet:2525 at localhost, F=T')

are equivalent to the three commands:

        MAIL_FILTER(`archive', `S=local:/var/run/archivesock, F=R')
        MAIL_FILTER(`spamcheck', `S=inet:2525 at localhost, F=T')
        define(`confINPUT_MAIL_FILTERS', `archive, spamcheck')


More information about the MIMEDefang mailing list