aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail-FAQ.html
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-11-11 19:24:00 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-11-11 19:24:00 +0000
commit4d9ebfc1ae8788f66be711273d73bf4831a7cd4e (patch)
treedaebb4a9a23e88cd09eefc12d78feb194c9ee938 /fetchmail-FAQ.html
parent63a3fd1876062cdff8e59feca193a840a91bc0c8 (diff)
downloadfetchmail-4d9ebfc1ae8788f66be711273d73bf4831a7cd4e.tar.gz
fetchmail-4d9ebfc1ae8788f66be711273d73bf4831a7cd4e.tar.bz2
fetchmail-4d9ebfc1ae8788f66be711273d73bf4831a7cd4e.zip
Ready to ship.
svn path=/trunk/; revision=2983
Diffstat (limited to 'fetchmail-FAQ.html')
-rw-r--r--fetchmail-FAQ.html29
1 files changed, 27 insertions, 2 deletions
diff --git a/fetchmail-FAQ.html b/fetchmail-FAQ.html
index befc865f..5b52eb67 100644
--- a/fetchmail-FAQ.html
+++ b/fetchmail-FAQ.html
@@ -10,7 +10,7 @@
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 2000/11/11 18:20:46 $
+<td width="30%" align=right>$Date: 2000/11/11 19:23:49 $
</table>
<HR>
<H1>Frequently Asked Questions About Fetchmail</H1>
@@ -53,6 +53,7 @@ IP address?</a><br>
<a href="#F2">F2. The .fetchmailrc parser won't accept my all-numeric user name.</a><br>
<a href="#F3">F3. The .fetchmailrc parser won't accept my host or username beginning with `no'.</a><br>
<a href="#F4">F4. I'm getting a `parse error' message I don't understand.</a><br>
+<a href="#F5">F5. The %h and %p escapes aren't being interporated correctly.</a><br>
<h1>Configuration questions:</h1>
@@ -797,6 +798,30 @@ Unfortunately, they're necessary in order to allow the `defaults'
feature to work.<P>
<hr>
+<h2><a name="F5">F5. The %h and %p escapes aren't being interporated correctly.</a></h2>
+
+Note that %h and %p are only recognized as placeholders if they are a
+single word each; you cannot use %h:%p or other interpolations that
+aren't space-delimited. If you happen to need such a thing, write a
+wrapper. For example, in .fetchmailrc you can add this line:<p>
+
+<pre>
+plugin 'mywrap.sh %h %p'
+</pre>
+
+With mywrap.sh containing:<p>
+
+<pre>
+#! /bin/sh
+if test $# -ne 2 ; then
+ echo "usage: `basename $0` <host> <port>"
+ exit 1
+fi
+exec openssl 2>/dev/null s_client -connect $1:$2 -quiet
+exit 2 # never reached unless openssl fails
+</pre>
+
+<hr>
<h2><a name="C1">C1. Why do I need a .fetchmailrc when running as root on my own machine?</a></h2>
Ian T. Zimmerman &lt;itz@rahul.net&gt; asked:<p>
@@ -2941,7 +2966,7 @@ install Linux on your server...<p>
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 2000/11/11 18:20:46 $
+<td width="30%" align=right>$Date: 2000/11/11 19:23:49 $
</table>
<P><ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com">&lt;esr@snark.thyrsus.com&gt;</A></ADDRESS>