aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix SMTP_ok to cache multiline reponses...Matthias Andree2009-08-201-23/+38
| | | | | | but there are more functions that need fixing (look for smtp_response). svn path=/branches/BRANCH_6-3/; revision=5425
* Enforce minimum recommended SMTP timeouts, apply to EHLO/LHLO as well.Matthias Andree2009-05-251-17/+25
| | | | | | | | | | | | | | | | | | | | Short timeouts could cause fetchmail to not wait long enough for the "250 Ok" after shipping a long message, particularly with synchronous mailers and extensive spam filtering. This caused fetchmail to re-fetch long messages. While the actual fix is making sure that the timeout is no shorter than the time the SMTP server takes to process the message, we now enforce the minimum RFC-5321 recommended timeouts even if the user configures a lower timeout. This is to fix Berlios Bug #10972, reported by Viktor Binzberger. NOTE: it is untested whether we will properly delete the message from the POP3/IMAP server or mark it as seen, as the upstream server may close the connection sooner. svn path=/branches/BRANCH_6-3/; revision=5338
* Fix format string bugs.Matthias Andree2009-05-041-1/+1
| | | | svn path=/branches/BRANCH_6-3/; revision=5291
* * SMTP/LMTP cleanup to fix these two bugs:Matthias Andree2005-12-201-30/+22
| | | | | | | | | - switch back to SMTP after having tried LMTP hosts (multiple smtphost hosts) - switch back to LMTP after sending a bounce. The patch removes the global state variable that was the root of this problem. Patch by Sunil Shetye. svn path=/branches/BRANCH_6-3/; revision=4581
* Fix prototype, to avoid compiler warnings with --disable-nls.Matthias Andree2005-08-021-1/+1
| | | | svn path=/trunk/; revision=4217
* Fix debug mode string from SMTP to support LMTP as well.Matthias Andree2005-04-241-3/+3
| | | | svn path=/trunk/; revision=4031
* Clean up the horrible HAVE_[V]SNPRINTF mess, use Trio on systems that lackMatthias Andree2004-11-101-28/+6
| | | | | | real snprintf or vsnprintf. svn path=/trunk/; revision=3996
* Remove space after "MAIL FROM:" (patch from Phil Endecott)Rob Funk2004-07-211-2/+2
| | | | svn path=/trunk/; revision=3925
* Ready to ship.Eric S. Raymond2003-08-061-4/+8
| | | | svn path=/trunk/; revision=3831
* Guard some buffers.Eric S. Raymond2003-03-011-0/+4
| | | | svn path=/trunk/; revision=3804
* Ready to ship 6-2-0.Eric S. Raymond2002-12-131-8/+5
| | | | svn path=/trunk/; revision=3776
* Security fix release.Eric S. Raymond2002-12-091-9/+41
| | | | svn path=/trunk/; revision=3775
* Ready to ship stable.Eric S. Raymond2002-10-311-0/+2
| | | | svn path=/trunk/; revision=3763
* Various cleanup patches.Eric S. Raymond2002-04-091-19/+38
| | | | svn path=/trunk/; revision=3612
* Internationalization fix.Eric S. Raymond2002-03-151-6/+7
| | | | svn path=/trunk/; revision=3601
* Expose the ESMTP name and password options.Eric S. Raymond2002-03-101-109/+105
| | | | svn path=/trunk/; revision=3596
* Initial version of ESMTP AUTH.Eric S. Raymond2002-03-091-2/+117
| | | | svn path=/trunk/; revision=3589
* HMH's second cleanup patch.Eric S. Raymond2001-06-241-1/+5
| | | | svn path=/trunk/; revision=3377
* strncat/snprintf cleanup.Eric S. Raymond2001-06-231-3/+13
| | | | svn path=/trunk/; revision=3366
* First cut at ODMR support.Eric S. Raymond2001-02-071-0/+3
| | | | svn path=/trunk/; revision=3028
* Simplify error reporting further.Eric S. Raymond1999-02-031-10/+10
| | | | svn path=/trunk/; revision=2374
* Return of the dancing progress dots.Eric S. Raymond1999-02-011-10/+10
| | | | svn path=/trunk/; revision=2369
* Progress messages now go to stdout.Eric S. Raymond1999-01-051-10/+10
| | | | svn path=/trunk/; revision=2328
* First step towards splitting error from progress messages.Eric S. Raymond1999-01-051-10/+10
| | | | svn path=/trunk/; revision=2326
* gcc -Wall cleanup.Eric S. Raymond1998-12-151-1/+1
| | | | svn path=/trunk/; revision=2278
* Fix a garbage return.Eric S. Raymond1998-11-261-0/+2
| | | | svn path=/trunk/; revision=2209
* Added LMTP support.Eric S. Raymond1998-11-071-11/+26
| | | | svn path=/trunk/; revision=2177
* Jonathan T. Agnew's massive code cleanup.Eric S. Raymond1998-10-261-6/+6
| | | | svn path=/trunk/; revision=2137
* More verbosity fixes.Eric S. Raymond1998-10-171-10/+10
| | | | svn path=/trunk/; revision=2103
* Introduced O_DEBUG.Eric S. Raymond1998-10-171-10/+10
| | | | svn path=/trunk/; revision=2102
* Don't <-enclose MAIL FROM name if it already contains one.Eric S. Raymond1998-05-251-11/+14
| | | | svn path=/trunk/; revision=1824
* Typo fix.Eric S. Raymond1998-02-221-1/+1
| | | | svn path=/trunk/; revision=1667
* Copyright cleanup.Eric S. Raymond1997-06-131-2/+1
| | | | svn path=/trunk/; revision=1095
* -Wall cleanup.Eric S. Raymond1997-05-151-2/+0
| | | | svn path=/trunk/; revision=1011
* Change type of socket descriptors from FILE * to int. Change SockGetsEric S. Raymond1997-05-131-31/+28
| | | | | | | to SockRead a la read(2). This is all part of an attempt to deal with embedded NULs in IMAP messages. svn path=/trunk/; revision=992
* Added RFC1985 ETRN support.Eric S. Raymond1997-02-101-0/+1
| | | | svn path=/trunk/; revision=861
* ESMTP SIZE option support.Eric S. Raymond1997-01-221-25/+36
| | | | svn path=/trunk/; revision=804
* Support for EHLO and 8BITMIME extension.Eric S. Raymond1997-01-221-3/+57
| | | | svn path=/trunk/; revision=803
* Drop back to using SockGets/SockWrite.Eric S. Raymond1996-12-241-7/+8
| | | | svn path=/trunk/; revision=683
* Remove some inclusions no longer needed.Eric S. Raymond1996-12-171-2/+0
| | | | svn path=/trunk/; revision=653
* Clean up some extra trailing LFs.Eric S. Raymond1996-12-171-0/+4
| | | | svn path=/trunk/; revision=652
* SockGets is gone.Eric S. Raymond1996-12-171-3/+4
| | | | svn path=/trunk/; revision=650
* Eliminate SockWrite and SockPrintf.Eric S. Raymond1996-12-171-6/+6
| | | | svn path=/trunk/; revision=649
* More through error conversion.Eric S. Raymond1996-12-171-7/+7
| | | | svn path=/trunk/; revision=644
* Don't use stderr here.Eric S. Raymond1996-12-171-7/+7
| | | | svn path=/trunk/; revision=642
* Ready for Rachel.Eric S. Raymond1996-12-051-39/+1
| | | | svn path=/trunk/; revision=602
* Try to accomodate spam filteringEric S. Raymond1996-11-301-0/+3
| | | | svn path=/trunk/; revision=588
* Include Cameron McPherson's patch for handling multi-line SMTP responses.Eric S. Raymond1996-11-161-30/+26
| | | | svn path=/trunk/; revision=545
* Make error paths clearer.Eric S. Raymond1996-11-151-0/+4
| | | | svn path=/trunk/; revision=543
* De-confuse SMTP response echoing.Eric S. Raymond1996-11-081-1/+1
| | | | svn path=/trunk/; revision=505