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 f10a56dc7481
children e74ee75453db
line wrap: on
line source

.TH mservdetect 1 2010-12-08 masqmail-0.3.1 "User Commands"

.SH NAME
mservdetect \- Helper for masqmail and masqdialer


.SH SYNOPSIS
\fB/usr/bin/mservdetect \fIhost port\fR


.SH DESCRIPTION

Mservdetect is a small helper application for masqmail to detect its online status
if the modem server masqdialer is used.
It connects to the\fIhost\fR at \fIport\fR and prints the connection name to stdout.

If you want to use it, set \fBonline_query\fR=\fI"/usr/bin/mservdetect host port"\fR in
masqmail.conf.

.SH OPTIONS

.TP
\fBhost\fR

The hostname where the masqdialer server is running.

.TP
\fBport\fR

The port number where the masqdialer server is listening.


.SH AUTHOR

Masqmail was written by Oliver Kurth.
It is now maintained by Markus Schnalke <meillo@marmaro.de>.

You will find the newest version of masqmail at \fBhttp://marmaro.de/prog/masqmail/\fR.
There is also a mailing list, you will find information about it at masqmail's main site.


.SH BUGS

Please report bugs to the mailing list.


.SH SEE ALSO

\fBmasqmail(8)\fR, \fBmasqmail.conf(5)\fR