masqmail
view man/mservdetect.1 @ 340:60bb2dbe2866
In the tests: replaced logname(1) with $LOGNAME
Because logname(1) may not work if it has no controlling terminal.
See: http://aplawrence.com/cgi-bin/printer.pl?arg=/Forum/TonyLawrence8.html
Be it that reason or not, it didn't work on Crux, but $LOGNAME is set.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 31 Aug 2011 09:14:38 +0200 |
parents | 8bf7820a0e0e |
children | 35c5239ebcc1 |
line source
1 .TH mservdetect 1 2011-08-27 masqmail-0.3.3 "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