summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mta_session.c
AgeCommit message (Expand)Author
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
2012-05-11split the session logic off mta.c into mta_session.cEric Faurot