masqmail

view man/mservdetect.1 @ 392:c5fd796ea06e

Heavy refactoring in parts of conf.c. init_conf() parse_boolean() parse_list_file() Re-arrangement of code. parse_address_glob_list() Removed unneccessary parameter. parse_list() parse_interface(): Use strtok()/strchr() instead of doing is all by hand. Removed limitation of fixed size buffer. eat_comments() Use a state machine. eat_line_trailing() eat_spaces() read_lval() Better structured code. read_conf() read_route() Removed magic numbers. Made all list type in the config files accept pathname entries, except for `permanent_routes' and `query_routes.' for which this is impossible.
author markus schnalke <meillo@marmaro.de>
date Sat, 18 Feb 2012 18:07:55 +0100
parents ef346dc67514
children 34c919a8d74e
line source
1 .TH mservdetect 1 2012-01-18 masqmail-0.3.4 "User Commands"
3 .SH NAME
4 mservdetect \- Helper for masqmail in combination with masqdialer
7 .SH SYNOPSIS
8 \fB/usr/bin/mservdetect \fIhost port\fR
11 .SH DESCRIPTION
13 Mservdetect is a small helper application for masqmail to detect its online status
14 through the modem server masqdialer.
15 It connects to \fIhost\fR at \fIport\fR, speaking the masqdialer
16 protocol, and finally prints the active connection name, if any, to stdout.
18 If you want to use it, set \fBonline_query\fR=\fI"/usr/bin/mservdetect host port"\fR in
19 masqmail.conf.
21 .SH OPTIONS
23 .TP
24 \fBhost\fR
26 The hostname where the masqdialer server is running.
28 .TP
29 \fBport\fR
31 The port number where the masqdialer server is listening.
34 .SH AUTHOR
36 Masqmail was written by Oliver Kurth.
37 It is now maintained by Markus Schnalke <meillo@marmaro.de>.
39 You will find the newest version of masqmail at \fBhttp://marmaro.de/prog/masqmail/\fR.
40 There is also a mailing list, you will find information about it at masqmail's main site.
43 .SH BUGS
45 Please report bugs to the mailing list.
48 .SH SEE ALSO
50 \fBmasqmail(8)\fR, \fBmasqmail.conf(5)\fR