|
NAMEnoattach —
scan email messages for bad attachments
SYNOPSIS
DESCRIPTIONNoattach is a milter that parses the body of email
messages from
sendmail(8)
and checks if the filename of attachments matches one of the regular
expressions in a given pattern file and rejects those emails that match.
Filenames are rfc2047 or rfc2231 decoded if needed. The options are as follows: EXAMPLESListen to ipv4 port 26 on localhost:
Listen on a unix socket:
You also need to add INPUT_MAIL_FILTER to the .mc file you use to make the sendmail.cf. Information about the parameters for INPUT_MAIL_FILTER is in the README.libmilter file wich is in the source tree. FILESThese pathnames are set at complie time./usr/local/etc/noattach.patterns Regular expressions used to find bad
attachments.
SEE ALSOsendmail(8)http://www.sendmail.org/ http://www.milter.org/ AUTHORSOlafur Osvaldsson ⟨oli@isnic.is⟩BUGSIPv6 has not been tested at all.
Visit the GSP FreeBSD Man Page Interface. |