# So just uncomment all the lines marked QNX.
PACKAGE = fetchmail
-VERSION = 5.8.14
+VERSION = 5.8.15
# Ultrix 2.2 make doesn't expand the value of VPATH.
srcdir = @srcdir@
AC_ERROR([Sendmail selected as fallback, but not found])
#not reached
fi
- AC_DEFINE(FALLBACK_MDA, "$sendmail %T")
+ AC_DEFINE_UNQUOTED(FALLBACK_MDA, "$sendmail %T")
echo "Will use $sendmail as fallback MDA."
;;
procmail) if test -z "$procmail" ; then
AC_ERROR([procmail selected as fallback, but not found])
#not reached
fi
- AC_DEFINE(FALLBACK_MDA, "$procmail -d %T")
+ AC_DEFINE_UNQUOTED(FALLBACK_MDA, "$procmail -d %T")
echo "Will use $procmail as fallback MDA."
;;
no|unset) echo "Will not use a fallback MDA"
;;
auto|yes|set) if test -n "$procmail" ; then
- AC_DEFINE(FALLBACK_MDA, "$procmail -d %T")
+ AC_DEFINE_UNQUOTED(FALLBACK_MDA,"$procmail -d %T")
echo "Will use $procmail as fallback MDA."
elif test -n "$sendmail" ; then
- AC_DEFINE(FALLBACK_MDA, "$sendmail %T")
+ AC_DEFINE_UNQUOTED(FALLBACK_MDA,"$sendmail %T")
echo "Will use $sendmail as fallback MDA."
else echo "No fallback MDA available."
fi
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="/~esr/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: 2001/06/24 19:23:57 $
+<td width="30%" align=right>$Date: 2001/07/31 05:54:40 $
</table>
<HR>
<H1 ALIGN=CENTER>Design Notes On Fetchmail</H1>
<DL>
<DT><A HREF="ftp://ftp.isi.edu/in-notes/rfc821.txt">RFC821</A>
-<DD> SMTP protocol
+<DD> SMTP protocol
<DT><A HREF="ftp://ftp.isi.edu/in-notes/rfc822.txt">RFC822</A>
-<DD> Mail header format
+<DD> Mail header format
<DT><A HREF="ftp://ftp.isi.edu/in-notes/rfc937.txt">RFC937</A>
-<DD> Post Office Protocol - Version 2
+<DD> Post Office Protocol - Version 2
<DT><A HREF="ftp://ftp.isi.edu/in-notes/rfc974.txt">RFC974</A>
-<DD> MX routing
+<DD> MX routing
<DT><A HREF="ftp://ftp.isi.edu/in-notes/rfc976.txt">RFC976</A>
-<DD> UUCP mail format
+<DD> UUCP mail format
<DT><A HREF="ftp://ftp.isi.edu/in-notes/rfc1081.txt">RFC1081</A>
<DD> Post Office Protocol - Version 3
<DT><A HREF="ftp://ftp.isi.edu/in-notes/rfc1123.txt">RFC1123</A>
<DT><A HREF="ftp://ftp.isi.edu/in-notes/rfc2683.txt">RFC2683</A>
<DD> IMAP4 Implementation Recommendations
<DT><A HREF="ftp://ftp.isi.edu/in-notes/rfc2595.html">RFC2595</A>
-<DD>Using TLS with IMAP, POP3 and ACAP
+<DD> Using TLS with IMAP, POP3 and ACAP
<DT><A HREF="ftp://ftp.isi.edu/in-notes/rfc2645.html">RFC2645</A>
<DD>On-Demand Mail Relay: SMTP with Dynamic IP Addresses
+<DT><A HREF="ftp://ftp.isi.edu/in-notes/rfc2821.html">RFC2821</A>
+<DD> Simple Mail Transfer Protocol
+<DT><A HREF="ftp://ftp.isi.edu/in-notes/rfc2822.txt">RFC2822</A>
+<DD>Internet Message Format
</DL>
<!--
RFC2192 IMAP URL Scheme
<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: 2001/06/24 19:23:57 $
+<td width="30%" align=right>$Date: 2001/07/31 05:54:40 $
</table>
<P><ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com"><esr@snark.thyrsus.com></A></ADDRESS>
Tell fetchail to poll trace information in the form `polling %s
account %s' to the Received line it generates, where the %s parts are
replaced by the user's remote name and the poll label (the Received
-header also normally inclodes the server's truename). This can be
+header also normally includes the server's truename). This can be
used to facilate mail filtering based on the account it is being
received from.
.TP
.nf
poll pop.provider.net proto pop3 port 3111
user "jsmith" with pass "secret1" is "smith" here
- user jones with pass "secret2" is "jjones" here
+ user jones with pass "secret2" is "jjones" here keep
.fi
This associates the local username `smith' with the pop.provider.net
username `jsmith' and the local username `jjones' with the
-pop.provider.net username `jones'.
+pop.provider.net username `jones'. Mail for `jones' is kept on the
+server after download.
.PP
Here's what a simple retrieval configuration for a multi-drop mailbox
looks like:
.SH APPLICABLE STANDARDS
.TP 5
SMTP/ESMTP:
-RFC 821, RFC 1869, RFC 1652, RFC 1870, RFC1983, RFC 1985
+RFC 821, RFC2821, RFC 1869, RFC 1652, RFC 1870, RFC1983, RFC 1985
.TP 5
mail:
-RFC 822, RFC 1123, RFC 1892, RFC 1894
+RFC 822, RFC2822, RFC 1123, RFC 1892, RFC 1894
.TP 5
POP2:
RFC 937
gen_send(sock, "FETCH %d RFC822.HEADER", number);
/* looking for FETCH response */
- do {
+ for (;;)
+ {
int ok;
if ((ok = gen_recv(sock, buf, sizeof(buf))))
return(ok);
- } while
- (sscanf(buf+2, "%d FETCH (%*s {%d}", &num, lenp) != 2);
+ if (sscanf(buf+2, "%d FETCH (%*s {%d}", &num, lenp) == 2)
+ break;
+ else if (sscanf(buf+2, "%d NO", &num) == 1)
+ return(PS_ERROR);
+ else if (sscanf(buf+2, "%d BAD", &num) == 1)
+ return(PS_ERROR);
+ }
if (num != number)
return(PS_ERROR);
href="http://www.hawkins.emu.id.au/gotmail/">gotmail</a>
that can retrieve Hotmail.
+<P>A hacker identifying himself simply as `Steines' has written a
+filter which rewrites the to-line with a line which only includes
+receipients for a given domain and renames the old to-line. It also
+rewrites the domainpart of addresses if the offical domain is
+different to local domain. You can find it <a
+href="http://www.steines.com/mailf/">here</a>.
+
<H1>Fetchmail's funniest fan letter:</H1>
<A HREF="funny.html">This letter</A> still cracks me up whenever I reread it.
| SET NO SPAMBOUNCE {run.spambounce = FALSE;}
| SET PROPERTIES optmap STRING {run.properties =xstrdup($4);}
| SET SYSLOG {run.use_syslog = TRUE;}
+ | SET NO SYSLOG {run.use_syslog = FALSE;}
| SET INVISIBLE {run.invisible = TRUE;}
+ | SET NO INVISIBLE {run.invisible = FALSE;}
| SET SHOWDOTS {run.showdots = TRUE;}
+ | SET NO SHOWDOTS {run.showdots = FALSE;}
/*
* The way the next two productions are written depends on the fact that
"%s@%s", ctl->remotename, ctl->server.truename);
ap = addr;
}
- else if (strchr(msg->return_path, '@'))
+ else if (strchr(msg->return_path,'@') || strchr(msg->return_path,'!'))
ap = msg->return_path;
else /* in case Return-Path existed but was local */
{