Linux Training

Linux training for private, public & voluntary sector.

0800 024 8425

City LinUX sample scripts - mmailto

NAME

mmailto - wrapper script to invoke mutt from the mailto: URI in firefox.

SYNOPSIS

mmailto [[ -c <config_file> ] [ -d ] [ -v ]] | [ -V ]]

AVAILABILITY

mmailto is a Bourne shell script which should work equally well on all versions of UNIX, Linux and Mac OS X.

DESCRIPTION

mmailto passes the parameters from the mailto: URI to a virtual terminal running mutt.

OPTIONS

-c    Use the specified configuration file in preference to the default "/usr/local/etc/mmailto.cf" . If no configuration file is found the script will continue with the default MUA mutt running in " terminal ".

-d    Set debug mode on. The -x    option is set within the shell and each command in the script is echoed to the console.

-v    Doesn't do anything at all at present and probably never will.

-V    Prints version details and terminates.

FILES

mmailto.cf.

EXAMPLES

In firefox select
"prefences", "applications", "mailto", "Use other ...".

Type in the full path name to the script as below.

	/usr/local/bin/mmailto 

BUGS

The script is quite crude and has very little, if any, error checking. The consequences of unexpected input are untested.

SEE ALSO

webupd.

AUTHOR

Clifford W Fulford, City Linux. Contact fulford@fulford.net or +44 (0)709 229 5385.


The layout and associated style sheets for this page are taken from the World Wide Web Consortium and used here under the W3C software licence.