summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mta.c
AgeCommit message (Expand)Author
2012-11-12Cleanups and improvements:Eric Faurot
2012-10-11- no need to assign a separator to the last route flag since we're notGilles Chehade
2012-10-10show the port number for a relay if specified.Eric Faurot
2012-10-07bump max number of connections to a route from 5 to 10, the limit is tooGilles Chehade
2012-09-28use xmemdup() and xcalloc() helpersCharles Longeau
2012-09-21Add a log_envelope() function that log envelope status in a uniform way.Eric Faurot
2012-09-18- add xmemdup() helper.Eric Faurot
2012-09-16Factorize log_imsg() in imsg_dispatch() instead of in each imsg_callback()'sCharles Longeau
2012-08-30- correctly free the task if all rcpt where rejectedEric Faurot
2012-08-29Introduce the crypto_backend API and provide support for... encrypted queueGilles Chehade
2012-08-25- introduce struct stat_valueGilles Chehade
2012-08-22also need to compare backupname if set.Eric Faurot
2012-08-21Allow smtpd to work as a backup MX, relaying only to MXs with higherEric Faurot
2012-08-21Re-enable loop detection, but in mta and mda this time.Eric Faurot
2012-08-18Major update of the mta internals.Eric Faurot
2012-07-29remove the session tree from the global env and move it to mta_session.c,Eric Faurot
2012-05-11split the session logic off mta.c into mta_session.cEric Faurot
2012-05-11set the status line and log envelope change in mta_envelope_done().Eric Faurot
2012-03-30increase timeout to 5m when connecting to a remote mail server, as requiredCharles Longeau
2012-03-27Do not try STARTTLS if the server does not advertise supportEric Faurot
2012-03-25Do not fatal() when failing to connect to a relay.Eric Faurot
2012-02-01When updating an envelope status, the update is immediatly sent to theEric Faurot
2012-01-29Rewrite io code in smtp and mta using the iobuf/ioev interface to haveEric Faurot
2012-01-28- introduce the scheduler_backend APIGilles Chehade
2012-01-26Rewind the message fp before starting the SMTP dialog.Eric Faurot
2012-01-13Stop using envelope->status to report delivery outcome to theEric Faurot
2012-01-11remove bogus callEric Faurot
2011-12-18- use envelope_set_errormsg() where possible.Eric Faurot
2011-12-11Make the mta code a bit more straightforward:Eric Faurot
2011-11-14when receiving an unexpected imsg, print its name.Charles Longeau
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