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
mail2sms(5) FreeBSD File Formats Manual mail2sms(5)

mail2sms - reads a (MIME) mail and converts it to a short message.

/usr/local/etc/mail2sms.conf
~/.mail2sms

mail2sms offers search and replace, conditional rules, conditional search and replace etc to create a custom output. It can optionally pipe its output into a specified program.

All this is controlled with the config file, which this man page intend to describe.

The config file contains a series of control commands. Each entry has the form:

keyword   [ : value ]
keyword
This is the command that sets or control a certain item or the flow of the config file starting from here.
value
This parameter depends on the command. It may also be left out depending on the command.

Values are either written plainly and whitespaces left and right of the words are cut off, or within quotes ("). If the value is quoted, you must escape quotes to be able to have them in the string, as in: " \" ".

Fields should be separated by any number of SPACE and/or TAB characters and a colon (:).

The available commands are of a few different kinds, and therefore this description has a few different sections that describe the commands in each section.

A `#' (number sign) indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines which parses the file.

Basically, there are two kinds of keywords. The first is the one read and dealt with in real-time when read, they may also build strings that define output format, command to run etc.. The other type is the keywords that build a tree of regular expressions with accompanying actions. It is important to understand the difference.

Left to write. See the README for now.

/etc/aliases
Takes care of sendmail aliases and is a good place to automatically run mail2sms from.

http://www.contactor.se/~dast/mail2sms/

mail2sms(1), sendmail(8), procmail(1), aliases(5)

11 October 1999

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

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