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


Manual Reference Pages  -  NOHTML (1)

NAME

nohtml - Suppress HTML Attachments In Email

CONTENTS

Synopsis
Options
Description
Other
Bugs And Misfeatures
Copyright And Licensing
Author

SYNOPSIS

nohtml.py [-hv]

OPTIONS

-h print help information

-v print detailed version information.

DESCRIPTION

'nohtml' is a short Python script intended to be used in a mail alias to strip HTML out of inbound messages. It is most useful when used in conjunction with something like the 'majordomo' mailing list manager to keep people from posting HTML to mailing lists.

For example, here are 'Before' and 'After' entries in the sendmail 'aliases' file which enable this filter to process inbound emails before they are delivered to the mailing list:

Before:

listname: "|/usr/local/majordomo/wrapper resend -l listname -h hostdomain.com listname-list"

After:

listname: "|/local/bin/python /local/bin/nohtml.py |/usr/local/majordomo/wrapper ...

Notice that, in this context, you must explictly invoke the Python interpreter in the alias pipeline. This is because there is no shell interpeter present at the time the alias is invoked, so the usual #! shell invocation found in the first line of the script will not work.

OTHER

You must have a reasonably current version of Python installed.

BUGS AND MISFEATURES

None known as of this release.

COPYRIGHT AND LICENSING

'nohtml' is Copyright(c) 2003 TundraWare Inc. For terms of use, see the nohtml-license.txt file in the program distribution.

AUTHOR

Tim Daneliuk
nohtml@tundraware.com

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


--> NOHTML (1) TundraWare Inc.

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