GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
NOATTACH(8) FreeBSD System Manager's Manual NOATTACH(8)

noattach
scan email messages for bad attachments

noattach [-hn] [-p portinfo]

Noattach 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:

Display a short help with commandline options.
Makes the program stay in foreground, i.e. don't fork into the background and don't update the pid file
portinfo
The port to listen to

Listen to ipv4 port 26 on localhost:

noattach -p inet:26@localhost

Listen on a unix socket:

noattach -p local:/var/run/f1.sock

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.

These pathnames are set at complie time.

/usr/local/etc/noattach.patterns

Regular expressions used to find bad attachments.

sendmail(8)

http://www.sendmail.org/

http://www.milter.org/

Olafur Osvaldsson ⟨oli@isnic.is⟩

IPv6 has not been tested at all.
April 11, 2002 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.