masqmail

annotate man/mservdetect.1 @ 323:29de6a1c4538

Fixed an important bug with folded headers! g_strconcat() returns a *copy* of the string, but hdr->value still pointed to the old header (which probably was a memory leak, too). If the folded part had been quite small it was likely that the new string was at the same position as the old one, thus making everything go well. But if pretty long headers were folded several times it was likely that the new string was allocated somewhere else in memory, thus breaking things. In result mails to lots of recipients (folded header) were frequently only sent to the ones in the first line. Sorry for the inconvenience.
author meillo@marmaro.de
date Fri, 03 Jun 2011 09:47:27 +0200
parents f10a56dc7481
children 8bf7820a0e0e
rev   line source
meillo@291 1 .TH mservdetect 1 2010-12-08 masqmail-0.3.1 "User Commands"
meillo@34 2
meillo@0 3 .SH NAME
meillo@314 4 mservdetect \- Helper for masqmail in combination with masqdialer
meillo@34 5
meillo@34 6
meillo@0 7 .SH SYNOPSIS
meillo@97 8 \fB/usr/bin/mservdetect \fIhost port\fR
meillo@0 9
meillo@34 10
meillo@0 11 .SH DESCRIPTION
meillo@0 12
meillo@34 13 Mservdetect is a small helper application for masqmail to detect its online status
meillo@314 14 through the modem server masqdialer.
meillo@314 15 It connects to \fIhost\fR at \fIport\fR, speaking the masqdialer
meillo@314 16 protocol, and finally prints the active connection name, if any, to stdout.
meillo@0 17
meillo@310 18 If you want to use it, set \fBonline_query\fR=\fI"/usr/bin/mservdetect host port"\fR in
meillo@85 19 masqmail.conf.
meillo@0 20
meillo@0 21 .SH OPTIONS
meillo@34 22
meillo@0 23 .TP
meillo@34 24 \fBhost\fR
meillo@0 25
meillo@0 26 The hostname where the masqdialer server is running.
meillo@34 27
meillo@0 28 .TP
meillo@34 29 \fBport\fR
meillo@0 30
meillo@0 31 The port number where the masqdialer server is listening.
meillo@34 32
meillo@34 33
meillo@0 34 .SH AUTHOR
meillo@0 35
meillo@34 36 Masqmail was written by Oliver Kurth.
meillo@34 37 It is now maintained by Markus Schnalke <meillo@marmaro.de>.
meillo@0 38
meillo@95 39 You will find the newest version of masqmail at \fBhttp://marmaro.de/prog/masqmail/\fR.
meillo@26 40 There is also a mailing list, you will find information about it at masqmail's main site.
meillo@0 41
meillo@34 42
meillo@0 43 .SH BUGS
meillo@0 44
meillo@34 45 Please report bugs to the mailing list.
meillo@34 46
meillo@0 47
meillo@0 48 .SH SEE ALSO
meillo@0 49
meillo@85 50 \fBmasqmail(8)\fR, \fBmasqmail.conf(5)\fR