summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mta.c
AgeCommit message (Expand)Author
2011-10-27Use PRI{x,d}64 in format strings instead of %llx, %lld or %qd to print {u_,}i...Charles Longeau
2011-10-23plug leakEric Faurot
2011-10-23a few important fixes:Eric Faurot
2011-10-23fsqueue no longer stores envelopes by dumping the structure, instead use aGilles Chehade
2011-10-09show messages sent between processes in debug modeEric Faurot
2011-08-29cast all printed time_t to long long int, and change format string accordingly.Charles Longeau
2011-08-29add missing header needed by signal()Charles Longeau
2011-08-26add missing header needed by time()Charles Longeau
2011-07-20Fix reporting of permanent/temporary failures for MX lookups.Eric Faurot
2011-07-19Re-add the test which is needed in the case where the session failsEric Faurot
2011-07-06fix that fscking "fgetln(): bad file descriptor" bug experienced by many.Gilles Chehade
2011-05-21remove annoying log_debug()Gilles Chehade
2011-05-16murder struct path and make sure smtpd uses simpler structures that do notGilles Chehade
2011-05-01the smtpd env is meant to be global, so do not pass it all around.Eric Faurot
2011-04-17cleanups, cosmethic changes, functions that should be static are now staticGilles Chehade
2011-04-17a structure describing an envelope should be called struct envelope, notGilles Chehade
2011-04-15kill message_id and message_uidGilles Chehade
2011-04-13following an idea from jacekm@, smtpd now uses a ram-queue instead of doingGilles Chehade
2011-03-26check that we actually have a stdio stream opened for the message beforeGilles Chehade
2011-03-26have the client API receive a stdio stream rather than a fd to the messageGilles Chehade
2011-03-21- reset smtp_client pointer to NULL after client_close()Gilles Chehade
2010-11-29replace the fork-based-non-blocking-resolver-hack by shiny async resolverGilles Chehade
2010-11-28remove all unused headersGilles Chehade
2010-11-28a bit of .h cleanups, no functionnal changeGilles Chehade
2010-10-29smtpd no longer knows a map called "secrets" which holds credentials forGilles Chehade
2010-10-09backout the "new" queue code commited 4 months ago. it has many good ideas,Gilles Chehade
2010-06-02check event_dispatch() return valueCharles Longeau
2010-06-01new queue, again; gcc2 compile tested by deraadtJacek Masiulaniec
2010-06-01New queue doesn't compile on gcc2, back out. Spotted by deraadt@Jacek Masiulaniec
2010-06-01Better errors.Jacek Masiulaniec
2010-05-31Rewrite entire queue code.Jacek Masiulaniec
2010-04-21Runner process is just a helper for queue, so tear down its imsgJacek Masiulaniec
2010-04-21Remove unusable ifdef DEBUG code.Jacek Masiulaniec
2010-04-20Kill *2400* lines of code by abstracting common bits of the imsg handlers.Jacek Masiulaniec
2010-01-03Implement "log verbose" and "log brief" to enable or disable verbose debugCharles Longeau
2009-12-23Implementation of RFC 2920 PIPELINING extension, client side only for now.Jacek Masiulaniec
2009-12-14Impose sessions limit on the delivery sessions (mta and mda).Jacek Masiulaniec
2009-12-12When acting as a client do content reads from the disk progressivelyJacek Masiulaniec
2009-12-12Simplify client_* api, mainly by making fatal conditions result in immediateJacek Masiulaniec
2009-12-10Fix a case when 2yz status would not override existing 4yz one.Jacek Masiulaniec
2009-12-07Avoid dereferencing a null pointer when logging a DNS lookup failure.Joel Sing
2009-11-16Minimize the delay between receiving response to "." and removing the queueJacek Masiulaniec
2009-11-13Log FQDN and IP of the server we handed mail to. As a bonus, don't delayJacek Masiulaniec
2009-11-11add missing headers needed by time()Charles Longeau
2009-11-05Consider DNS lookups that result in NXDOMAIN to be a permanent failure.Joel Sing
2009-11-05Introduce a 6yz status code, used internally to report permanent errors.Joel Sing
2009-09-15Extend SMTP client_* API to support SSL+AUTH, and use it in the mtaJacek Masiulaniec
2009-09-08Cope with remote host sending '452 Insufficient system storage'.Landry Breuil
2009-09-03imsg_get sets errno so use fatal instead of fatalx.Jacek Masiulaniec
2009-08-26fix previousJacek Masiulaniec