aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
...
* Cleanup.Eric S. Raymond2002-04-011-2/+2
* Other routine fixups.Eric S. Raymond2002-04-016-14/+36
* Debian 5.9.10 fixes.Eric S. Raymond2002-04-0110-57/+121
* Improve subscription info.Eric S. Raymond2002-03-261-6/+8
* Internationalization fix.Eric S. Raymond2002-03-152-7/+8
* Auth failure on the GMX servers.Eric S. Raymond2002-03-153-2/+19
* Ready to upload.Eric S. Raymond2002-03-101-0/+4
* Expose the ESMTP name and password options.Eric S. Raymond2002-03-101-24/+35
* Expose the ESMTP name and password options.Eric S. Raymond2002-03-1011-126/+148
* Ready to put in esmtp password.Eric S. Raymond2002-03-104-3/+18
* Ready to ship.Eric S. Raymond2002-03-091-0/+4
* Handle Resent-From envelope correctly.Eric S. Raymond2002-03-091-37/+39
* Version bump.Eric S. Raymond2002-03-091-1/+1
* Added a bug note.Eric S. Raymond2002-03-091-2/+27
* Initial version of ESMTP AUTH.Eric S. Raymond2002-03-097-14/+129
* Fallback to maildrop enabled.Eric S. Raymond2002-03-092-0/+11
* Bounce doc bug fix.Eric S. Raymond2002-03-091-1/+2
* Error return bug fix.Eric S. Raymond2002-03-091-3/+4
* Debian patch merge.Eric S. Raymond2002-03-092-2/+4
* Minor fixes.Eric S. Raymond2002-03-095-3/+38
* Corrected comments.Eric S. Raymond2002-02-151-2/+3
* Fill in stats.Eric S. Raymond2002-02-151-0/+4
* Initial revisionEric S. Raymond2002-02-151-0/+15
* Version bump.Eric S. Raymond2002-02-151-1/+1
* Minor fixes for 5.9.8.Eric S. Raymond2002-02-1513-20/+71
* Ready to ship.Eric S. Raymond2002-02-021-0/+4
* GSSAPI and ODMR fixes.Eric S. Raymond2002-02-023-1/+6
* Don't bomb silently on SSL when SSL isn't compiled.Eric S. Raymond2002-02-012-2/+15
* Use smtpaddress to specify the return path on warning mail.Eric S. Raymond2002-02-012-1/+3
* 2.2 compatibility.Eric S. Raymond2002-02-011-5/+5
* Fixes by Matthias Andree.Eric S. Raymond2002-02-015-5/+37
* Sunil Shetye's fixews for IMAP and SMTP edge cases.Eric S. Raymond2002-02-016-29/+53
* Before the next fix round.Eric S. Raymond2002-02-014-6/+33
* Two new FAQ entries.Eric S. Raymond2001-12-251-31/+90
* Make silent mode silent.Eric S. Raymond2001-12-251-2/+5
* Minor fixes from Henrique.Eric S. Raymond2001-12-194-5/+9
* Ready to ship.Eric S. Raymond2001-12-142-3/+5
* Version bump.Eric S. Raymond2001-12-141-1/+1
* Slight change in bounce logic.Eric S. Raymond2001-12-141-3/+7
* Revised dup-killer code.Eric S. Raymond2001-12-143-38/+56
* LMTP fix.Eric S. Raymond2001-12-142-7/+12
* Documentation fix.Eric S. Raymond2001-12-141-1/+4
* Note some recent problems.Eric S. Raymond2001-12-141-5/+9
* Sunil Shetye's disconect-reconnect fix.Eric S. Raymond2001-12-141-3/+7
* Note a new bug.Eric S. Raymond2001-12-141-2/+8
* Fix for OPIE operation.Eric S. Raymond2001-12-141-9/+18
* Better handling of malformed messages.Eric S. Raymond2001-12-041-1/+1
* Initial revisionEric S. Raymond2001-12-041-0/+74
* LSM generator is now Python.Eric S. Raymond2001-11-091-2/+2
* Ready to ship.Eric S. Raymond2001-11-081-0/+4
class="s">"%s: can't determine your host!", program_name); exit(PS_IOERR); } #ifdef HAVE_GETHOSTBYNAME { struct hostent *hp; /* in case we got a basename (as we do in Linux) make a FQDN of it */ hp = gethostbyname(tmpbuf); if (hp == (struct hostent *) NULL) { /* exit with error message */ fprintf(stderr, "gethostbyname failed for %s", tmpbuf); exit(PS_DNS); } strcpy(tmpbuf, hp->h_name); } #endif /* HAVE_GETHOSTBYNAME */ fetchmailhost = xstrdup(tmpbuf); #define RCFILE_NAME ".fetchmailrc" rcfile = (char *) xmalloc(strlen(home)+strlen(RCFILE_NAME)+2); strcpy(rcfile, home); strcat(rcfile, "/"); strcat(rcfile, RCFILE_NAME); } char *showproto(int proto) /* protocol index to protocol name mapping */ { switch (proto) { case P_AUTO: return("auto"); break; #ifdef POP2_ENABLE case P_POP2: return("POP2"); break; #endif /* POP2_ENABLE */ case P_POP3: return("POP3"); break; case P_IMAP: return("IMAP"); break; case P_IMAP_K4: return("IMAP-K4"); break; case P_APOP: return("APOP"); break; case P_RPOP: return("RPOP"); break; case P_ETRN: return("ETRN"); break; default: return("unknown?!?"); break; } } char *visbuf(const char *buf) /* visibilize a given string */ { static char vbuf[BUFSIZ]; char *tp = vbuf; while (*buf) { if (isprint(*buf) || *buf == ' ') *tp++ = *buf++; else if (*buf == '\n') { *tp++ = '\\'; *tp++ = 'n'; buf++; } else if (*buf == '\r') { *tp++ = '\\'; *tp++ = 'r'; buf++; } else if (*buf == '\b') { *tp++ = '\\'; *tp++ = 'b'; buf++; } else if (*buf < ' ') { *tp++ = '\\'; *tp++ = '^'; *tp++ = '@' + *buf; buf++; } else { (void) sprintf(tp, "\\0x%02x", *buf++); tp += strlen(tp); } } *tp++ = '\0'; return(vbuf); } /* env.c ends here */