masqmail

view man/mservdetect.1 @ 312:c74adb7c4f50

null-terminated the decoded base64 strings The returned size is still the same. I only alloced one byte more and filled it with zero. TODO: I'm not sure if the allocated size is exact. It's large enough but maybe too large.
author meillo@marmaro.de
date Sun, 24 Apr 2011 20:13:47 +0200
parents 95d536599fd7
children e74ee75453db
line source
1 .TH mservdetect 1 2010-12-08 masqmail-0.3.1 "User Commands"
3 .SH NAME
4 mservdetect \- Helper for masqmail and 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 if the modem server masqdialer is used.
15 It connects to the\fIhost\fR at \fIport\fR and prints the connection name to stdout.
17 If you want to use it, set \fBonline_query\fR=\fI"/usr/bin/mservdetect host port"\fR in
18 masqmail.conf.
20 .SH OPTIONS
22 .TP
23 \fBhost\fR
25 The hostname where the masqdialer server is running.
27 .TP
28 \fBport\fR
30 The port number where the masqdialer server is listening.
33 .SH AUTHOR
35 Masqmail was written by Oliver Kurth.
36 It is now maintained by Markus Schnalke <meillo@marmaro.de>.
38 You will find the newest version of masqmail at \fBhttp://marmaro.de/prog/masqmail/\fR.
39 There is also a mailing list, you will find information about it at masqmail's main site.
42 .SH BUGS
44 Please report bugs to the mailing list.
47 .SH SEE ALSO
49 \fBmasqmail(8)\fR, \fBmasqmail.conf(5)\fR