summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mta_session.c
AgeCommit message (Expand)Author
2014-02-04add base64_encode/base64_decode helpersEric Faurot
2013-12-26bcopy -> memmoveEric Faurot
2013-12-03Rework the envelope flushing loops in mta to avoid sending all deliveryEric Faurot
2013-11-28unsigned char casts for ctypeEric Faurot
2013-11-18Allow overriding the local caEric Faurot
2013-11-06Much much improved config parser and related changes.Eric Faurot
2013-10-29add missing heloname field for relayhost.Eric Faurot
2013-10-28Report the ssl certificate verification status in the mail header.Eric Faurot
2013-10-27Add support for AUTH LOGIN in mta.Eric Faurot
2013-10-26%i -> %d in format stringsEric Faurot
2013-10-25obvious time_t mishandling. Sigh.Theo de Raadt
2013-07-22fix sockaddr overflow with IPv6Eric Faurot
2013-07-19Many MTA improvements:Eric Faurot
2013-07-19get rid of sa_set_port() and its awfully contorted implementationEric Faurot
2013-06-03plug a couple of memleaksEric Faurot
2013-05-24sync with OpenSMTPD 5.3.2Eric Faurot
2013-04-12replace MAX_LINE_SIZE and SMTP_LINE_MAX with SMTPD_MAXLINESIZE forEric Faurot
2013-02-21Fix a potential crash when connecting to a misbehaving smtp server.Eric Faurot
2013-02-15add missing bits for lmtp support (from Ashish SHUKLA).Eric Faurot
2013-02-05Spelling fixes: retreive -> retrieve. ok gillesNicholas Marriott
2013-01-31assorted fixes spotted by Coverity.Eric Faurot
2013-01-28use a stripped-down mta_envelope structure in the mta process.Eric Faurot
2013-01-28fix possible descriptor leak in mta_session when reusing session for manyGilles Chehade
2013-01-28- introduce 'smtpctl trace lookup' to trace lookup processGilles Chehade
2013-01-26Sync with our smtpd repo:Gilles Chehade
2012-11-12Cleanups and improvements:Eric Faurot
2012-11-06Remove the "is_reading" hack and simplify the read/write logic:Eric Faurot
2012-10-11- ssize_t -> size_tGilles Chehade
2012-10-10io_connect() can take an optional address to bind() before connecting.Eric Faurot
2012-10-07convert iobuf_queue()'s to iobuf_fqueue(). (idea from gilles@)Charles Longeau
2012-10-03don't try to cope with iobuf_init() failure, make it fatal() instead.Charles Longeau
2012-10-02check iobuf_init() return value.Charles Longeau
2012-09-30use xmalloc(), xcalloc() and xmemdup() helpersCharles Longeau
2012-09-27fatal -> fatalxEric Faurot
2012-09-21Add a log_envelope() function that log envelope status in a uniform way.Eric Faurot
2012-09-11Initialize fd correctly. This fixes a lot of problems.Eric Faurot
2012-09-11remove the session entry from the search tree when it's dead.Eric Faurot
2012-08-30- correctly free the task if all rcpt where rejectedEric Faurot
2012-08-21Allow smtpd to work as a backup MX, relaying only to MXs with higherEric Faurot
2012-08-21Try to connect to the next host if an IO error occurs before the mtaEric Faurot
2012-08-21Re-enable loop detection, but in mta and mda this time.Eric Faurot
2012-08-18zap struct mta_batch. Only pass ids where needed.Eric Faurot
2012-08-18Major update of the mta internals.Eric Faurot
2012-08-10Move mta and smtp specific defines into their own files.Eric Faurot
2012-08-09Improve the message flows to completely isolate operations on theEric Faurot
2012-07-29reset the session if no RCPT was accepted for the batch.Eric Faurot
2012-07-29remove the session tree from the global env and move it to mta_session.c,Eric Faurot
2012-07-15when specifying a relay port that's not standart, do not ntohs() the relayGilles Chehade
2012-06-01use PRIu64 instead of llu in format string.Charles Longeau
2012-05-12Update the internal mta implementation so that a session now has aEric Faurot