aboutsummaryrefslogtreecommitdiffstats
path: root/smtp.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace most strncpy() by strlcpy() calls.Matthias Andree2019-05-121-2/+1
|
* Fix indentation to silence GCC 8 warnings.Matthias Andree2018-04-141-1/+1
|
* In-depth fix for to64frombits() BASE64 encoder buffer sizing.Matthias Andree2018-04-141-4/+4
|
* Revert SO_???TIMEO-based STARTTLS timeout handling.Matthias Andree2011-05-261-3/+1
| | | | | | | | | This reverts commits 47c05b10018f5ec7493e4bd9f521aaa18d96f1e2 and 72ce8bce8dd655b6aefa33d0a74e883dad5202b5, the code isn't portable, for instance, Solaris does not support SO_RCVTIMEO/SO_SNDTIMEO. These socket-level options are known, but Solaris returns EAFNOSUPPORT. Reported by Jonathan Buschmann.
* Fix socket timeout handling.Matthias Andree2011-05-221-1/+3
| | | | Fixes STARTTLS hangs reported by Thomas Jarosch.
* Call strlen() only once when removing CRLF from a lineSunil Shetye2011-05-031-8/+8
|
* Fix MD5 compile on Solaris.Matthias Andree2010-03-191-1/+1
|
* Further type fixes.Matthias Andree2010-03-181-1/+1
|
* Regression fix for multiline SMTP bugfix. Reported by Thomas Jarosch.Matthias Andree2009-10-281-2/+2
| | | | svn path=/branches/BRANCH_6-3/; revision=5445
* 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