DragonFly On-Line Manual Pages

Search: Section:  


mail2sms(5)              DragonFly File Formats Manual             mail2sms(5)

NAME

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

SYNOPSIS

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

DESCRIPTION

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. General Keywords Left to write. See the README for now.

FILES

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

WWW

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

SEE ALSO

mail2sms(1), sendmail(8), procmail(1), aliases(5) 11 October 1999 mail2sms(5)

Search: Section: