svn path=/trunk/; revision=607
* If SMTP returns 571 (unsolicited mail refused) to a MAIL FROM, the
address is excluded by the local sendmail's spam filter. Drop the mail.
+ (This the only circumstance in which mail is thrown away.)
bugs --
* Fixed a bug in non-implicit (poll specified host) mode also due to aka.
* Various minor portability fixes for Suns.
* Avoid using -lresolv when possible, some Linux versions are badly broken.
+* Fix error in MX record handling that was causing multidrop problems
fetchmail-2.1 (Thu Nov 28 11:07:48 EST 1996):
*/
h_errno = 0;
if ((mxrecords = getmxrecords(name)) == (struct mxentry *)NULL)
+ {
switch (h_errno)
{
case HOST_NOT_FOUND: /* specified host is unknown */
for (mxp = mxrecords; mxp->name; mxp++)
if (strcmp(name, mxp->name) == 0)
goto match;
+ return(FALSE);
break;
case NO_RECOVERY: /* non-recoverable name server error */
longjmp(restart, 2); /* try again next poll cycle */
break;
}
-
- return(FALSE);
+ }
match:
/* add this name to relevant server's `also known as' list */