]> Pileus Git - ~andy/fetchmail/commitdiff
Revise manual page, fixing Debian bug #467010 (ssl cannot come before user)
authorMatthias Andree <matthias.andree@gmx.de>
Sat, 23 Feb 2008 15:38:54 +0000 (15:38 -0000)
committerMatthias Andree <matthias.andree@gmx.de>
Sat, 23 Feb 2008 15:38:54 +0000 (15:38 -0000)
reported by Francesco Potortì.

svn path=/branches/BRANCH_6-3/; revision=5162

NEWS
TODO.txt
fetchmail.man

diff --git a/NEWS b/NEWS
index 25ead9c8b84d4a70b250e066256637e8e1254730..14ebc10702b45103f9f7ebf30c5b522b0acfff8a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -109,6 +109,14 @@ fetchmail 6.3.9 (not yet released):
 * The manual page no longer asserts that .fetchids were for exclusive POP3 use, 
   since it is planned to use the file with IMAP4 later.
 * Add grammar fixes from Dan Jacobson to fetchmail.man. Debian Bug #461642.
+* The manual page now mentions that user descriptions need to come before user
+  options. Reported by Francensco Pontortì, to fix Debian Bug#467010.
+* The manual page no longer hints that multi-user declarations per server were
+  only useful in daemon mode running as root, to avoid hinting people to doing
+  that.
+* Several manual page rcfile examples now include "ssl".
+* The manual page hints that option arguments beginning with numbers can be
+  enclosed in parentheses.
 
 # TRANSLATION UPDATES:
 * Polish (Jakub Bogusz)
index d510d16fd68faef0d2d7f560bcec24db5b29afaa..d9319303ceeec8ee9c2cc3129007c38ce61d0e7c 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -4,8 +4,6 @@ soon - MUST:
 - report multiline SMTP errors properly (sample in private mail from 
   Earl Chew, 2007-07-30T02:28)
 - publish SA-2007-02 after release
-- Debian Bug #467010, mention in manpage that USER... must be before
-  user options
 
 soon - SHOULD:
 - allow \Deleted without \Seen, rf. 
index 92c338c16d18ce77e537f6ba2a34a225e3db1715..2db1689ce9f6e8a4a1574298dfe83ef5d0362105 100644 (file)
@@ -1496,8 +1496,9 @@ octal 0233 = \ex9B (CSI, control sequence introducer).
 .PP
 Each server entry consists of one of the keywords 'poll' or 'skip',
 followed by a server name, followed by server options, followed by any
-number of user descriptions.  Note: the most common cause of syntax
-errors is mixing up user and server options.
+number of user (or username) descriptions, followed by user options.
+Note: the most common cause of syntax errors is mixing up user and
+server options or putting user options before the user descriptions.
 .PP
 For backward compatibility, the word 'server' is a synonym for 'poll'.
 .PP
@@ -1658,15 +1659,18 @@ Set password for RFC2554 authentication to the ESMTP server.
 T}
 .TE
 
-Here are the legal user options:
+Here are the legal user descriptions and options:
 
 .TS
 l l l lw34.
 Keyword        Opt     Mode    Function
 _
 user[name]     \-u     \&      T{
-Set remote user name
-(local user name if name followed by 'here')
+This is the user description and must come first after server
+description and after possible server options, and before user options.
+.br
+It sets the remote user name if by itself or followed by 'there', or the
+local user name if followed by 'here'.
 T}
 is             \&      \&      T{
 Connect local and remote user names
@@ -1814,7 +1818,8 @@ String value is ignored by fetchmail (may be used by extension scripts)
 T}
 .TE
 .PP
-Remember that all user options must \fIfollow\fR all server options.
+All user options must begin with a user description (user or username
+option) and \fIfollow\fR all server descriptions and options.
 .PP
 In the .fetchmailrc file, the 'envelope' string argument may be
 preceded by a whitespace-separated number.  This number, if specified,
@@ -2195,7 +2200,7 @@ Basic format is:
 Example:
 
 .nf
-  poll pop.provider.net protocol pop3 username "jsmith" password "secret1"
+  poll pop.provider.net protocol pop3 username "jsmith" password "secret1" ssl
 .fi
 .PP
 Or, using some abbreviations:
@@ -2224,12 +2229,12 @@ This version is much easier to read and doesn't cost significantly
 more (parsing is done only once, at startup time).
 
 .PP
-If you need to include whitespace in a parameter string, enclose the
-string in double quotes.  Thus:
+If you need to include whitespace in a parameter string or start the
+latter with a number, enclose the string in double quotes.  Thus:
 
 .nf
   poll mail.provider.net with proto pop3:
-        user "jsmith" there has password "u can't krak this"
+        user "jsmith" there has password "4u but u can't krak this"
                     is jws here and wants mda "/bin/mail"
 .fi
 
@@ -2247,8 +2252,7 @@ by individual server descriptions.  So, you could write:
         user "jjsmith" there has password "secret2"
 .fi
 
-It's possible to specify more than one user per server (this is only
-likely to be useful when running fetchmail in daemon mode as root).
+It's possible to specify more than one user per server.
 The 'user' keyword leads off a user description, and every user specification
 in a multi-user entry must include it.  Here's an example: