diff options
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | fetchmail-FAQ.html | 21 | ||||
-rw-r--r-- | fetchmail.man | 6 | ||||
-rw-r--r-- | pop3.c | 2 | ||||
-rw-r--r-- | rcfile_y.y | 21 | ||||
-rwxr-xr-x | specgen.sh | 30 |
6 files changed, 58 insertions, 26 deletions
@@ -8,6 +8,10 @@ Release Notes: ------------------------------------------------------------------------------ +fetchmail-4.5.2 (): +* German-language internationalization in the RPM, thanks to Jochen Hayek. +* .fetchmailrc files are now permitted to be executable by user and group. + fetchmail-4.5.1 (Wed Jul 1 19:27:56 EDT 1998): * Checkalias option from Enrico Musio <enrico.musio@spaziozerouno.it>. * Discard Unix From_ lines in headers (copes with Debian bug report #23808. diff --git a/fetchmail-FAQ.html b/fetchmail-FAQ.html index 8300bab6..b5f36cbd 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: 1998/07/09 14:44:24 $ +<td width="30%" align=right>$Date: 1998/07/13 16:38:41 $ </table> <HR> <H1>Frequently Asked Questions About Fetchmail</H1> @@ -393,7 +393,7 @@ AUTH=KERBEROS_V4 in the CAPABILITY response.<P> If you are fetching mail from a CompuServe POP3 account, you can use their RPA authentication (which works much like APOP). See <a -href="#T7">T7</a> for details.<P> +href="#T8">T8</a> for details.<P> Your POP3 server may have the RFC1938 OTP capability to use one-time passwords (if it doesn't, you can get OTP patches for the 2.2 version @@ -1245,6 +1245,21 @@ plain-text password handshake.<P> <strong>Warning:</strong> the verbose output of fetchmail will show your pass-phrase in Unicode!<P> +These two .fetchmailrc entries show the difference between an RPA and +non-RPA configuration: + +<pre> +# This version will use RPA +kip csi.com via "pop.site1.csi.com" with proto POP3 and options no dns + user "CSERVE_USER@compuserve.com" there with password "CSERVE_PASSWORD" + is LOCAL_USER here options fetchall stripcr + +# This version will not use RPA +skip non-rpa.csi.com via "pop.site1.csi.com" with proto POP3 and options no dns + user "CSERVE_USER" there with password "CSERVE_POP3_PASSWORD" + is LOCAL_USER here options fetchall stripcr +</pre> + <hr> <h2><a name="T9">T9. How can I use fetchmail with usa.net's servers?</a></h2> @@ -2028,7 +2043,7 @@ Re-ordering messages is a user-agent function, anyway.<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: 1998/07/09 14:44:24 $ +<td width="30%" align=right>$Date: 1998/07/13 16:38:41 $ </table> <P><ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com"><esr@snark.thyrsus.com></A></ADDRESS> diff --git a/fetchmail.man b/fetchmail.man index d7a174c0..67b0f02e 100644 --- a/fetchmail.man +++ b/fetchmail.man @@ -111,9 +111,9 @@ tell kept messages from new ones. This means it will work with IMAP, not work with POP2, and may occasionally flake out under POP3. .TP .B \-s, --silent -Silent mode. Suppresses all progress/status messages that are normally -echoed to standard error during a fetch. The --verbose option -overrides this. +Silent mode. Suppresses all progress/status messages that are +normally echoed to standard error during a fetch (but does not +suppress actual error messages). The --verbose option overrides this. .TP .B \-v, --verbose Verbose mode. All control messages passed between @@ -67,7 +67,7 @@ int pop3_ok (int sock, char *argbuf) #endif /* OPIE */ ok = 0; } - else if (strcmp(buf,"-ERR") == 0) + else if (strncmp(buf,"-ERR", 4) == 0) { if (phase > PHASE_GETAUTH) ok = PS_PROTOCOL; @@ -333,7 +333,7 @@ const flag securecheck; /* special cases useful for debugging purposes */ if (strcmp("/dev/null", pathname) == 0) - return(0); + return(PS_SUCCESS); /* the run control file must have the same uid as the REAL uid of this process, it must have permissions no greater than 600, and it must not @@ -341,7 +341,7 @@ const flag securecheck; if (lstat(pathname, &statbuf) < 0) { if (errno == ENOENT) - return(0); + return(PS_SUCCESS); else { error(0, errno, "lstat: %s", pathname); return(PS_IOERR); @@ -350,23 +350,26 @@ const flag securecheck; if (!securecheck) return 0; - if ((statbuf.st_mode & S_IFLNK) == S_IFLNK) { + if ((statbuf.st_mode & S_IFLNK) == S_IFLNK) + { fprintf(stderr, "File %s must not be a symbolic link.\n", pathname); return(PS_AUTHFAIL); } - if (statbuf.st_mode & ~(S_IFREG | S_IREAD | S_IWRITE)) { - fprintf(stderr, "File %s must have no more than -rw------ (0600) permissions.\n", + if (statbuf.st_mode & ~(S_IFREG | S_IREAD | S_IWRITE | S_IEXEC | S_IXGRP)) + { + fprintf(stderr, "File %s must have no more than -rwx--x--- (0710) permissions.\n", pathname); return(PS_AUTHFAIL); } - if (statbuf.st_uid != getuid()) { + if (statbuf.st_uid != getuid()) + { fprintf(stderr, "File %s must be owned by you.\n", pathname); return(PS_AUTHFAIL); } #endif - return(0); + return(PS_SUCCESS); } int prc_parse_file (const char *pathname, const flag securecheck) @@ -382,7 +385,7 @@ int prc_parse_file (const char *pathname, const flag securecheck) return(prc_errflag); if (errno == ENOENT) - return(0); + return(PS_SUCCESS); /* Open the configuration and feed it to the lexer. */ if ((yyin = fopen(pathname,"r")) == (FILE *)NULL) { @@ -397,7 +400,7 @@ int prc_parse_file (const char *pathname, const flag securecheck) if (prc_errflag) return(PS_SYNTAX); else - return(0); + return(PS_SUCCESS); } static void reset_server(char *name, int skip) @@ -5,7 +5,7 @@ cat <<EOF %define builddir \$RPM_BUILD_DIR/%{name}-%{version} Name: %{name} Version: %{version} -Release: 1 +Release: %{release} Vendor: Eric Conspiracy Secret Labs Packager: Eric S. Raymond <esr@thyrsus.com> URL: http://www.tuxedo.org/~esr/fetchmail @@ -14,8 +14,10 @@ Group: Applications/Mail Copyright: GPL Icon: fetchmail.gif Requires: smtpdaemon +BuildRoot: /var/tmp/%{name}-%{version} Summary: Full-featured POP/IMAP mail retrieval daemon Summary(fr): Collecteur (POP/IMAP) de courrier électronique +Summary(de): Program zum Abholen von E-Mail via POP/IMAP %description fetchmail is a free, full-featured, robust, and well-documented remote @@ -23,17 +25,26 @@ mail retrieval and forwarding utility intended to be used over on-demand TCP/IP links (such as SLIP or PPP connections). It retrieves mail from remote mail servers and forwards it to your local (client) machine's delivery system, so it can then be be read by -normal mail user agents such as mutt, elm, pine, or mailx. +normal mail user agents such as mutt, elm, pine, (x)emacs/gnus, or mailx. Comes with an interactive GUI configurator suitable for end-users. %description -l fr -Fetchmail est un programme qui permet d'aller -rechercher du courrier électronique sur un -serveur de mail distant. Fetchmail connait -les protocoles POP (Post Office Protocol), -IMAP (Internet Mail Access Protocol) et -délivre le courrier électronique a travers -le serveur SMTP local (habituellement sendmail). +Fetchmail est un programme qui permet d'aller rechercher du courrier +électronique sur un serveur de mail distant. Fetchmail connait les +protocoles POP (Post Office Protocol), IMAP (Internet Mail Access +Protocol) et délivre le courrier électronique a travers le +serveur SMTP local (habituellement sendmail). + +%description -l de +Fetchmail ist ein freies, vollständiges, robustes und +wohldokumentiertes Werkzeug zum Abholen und Weiterreichen von E-Mail, +gedacht zum Gebrauchüber temporäre TCP/IP-Verbindungen (wie +z.B. SLIP- oder PPP-Verbindungen). Es holt E-Mail von (weit) +entfernten Mail-Servern abund reicht sie an das Auslieferungssystem +der lokalen Client-Maschine weiter, damit sie dann von normalen MUAs +("mail user agents") wie mutt, elm, pine, (x)emacs/gnus oder mailx +gelesen werden kann. Ein interaktiver GUI-Konfigurator auch gut +geeignet zum Gebrauch durch Endbenutzer wird mitgeliefert. %prep %setup @@ -56,7 +67,6 @@ cp %{builddir}/rh-config/fetchmailconf.wmconfig \$RPM_BUILD_ROOT/etc/X11/wmconfi %clean rm -rf \$RPM_BUILD_ROOT -rm -rf %{builddir} %files %doc README NEWS NOTES FAQ COPYING FEATURES sample.rcfile contrib |