summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mta.c
AgeCommit message (Expand)Author
2009-08-07in mta: ssl/ssl.h -> openssl/ssl.h, consistent with other filesGilles Chehade
2009-08-06fix a crash in mta when forwarding a bounce, caused by a null derefGilles Chehade
2009-08-06replace X-OpenSMPTD-Loop with Delivered-ToGilles Chehade
2009-08-06- introduce message_set_errormsg() to set the error description that willGilles Chehade
2009-08-06This commit reworks the entire mailer daemon support to actually make itGilles Chehade
2009-06-20Allocate memory for env->sc_ssl like in smtp; ok gilles@Jacek Masiulaniec
2009-06-07Change the way fds passed over a socket are retreived on the receiving side.Eric Faurot
2009-06-06Sync with relayd:Pierre-Yves Ritschard
2009-06-05make smtpd's imsg lib ready, just like relayd and ospfd.Pierre-Yves Ritschard
2009-06-03simplify struct batch; ok gilles@Jacek Masiulaniec
2009-06-02make env->sc_listeners and env->sc_ssl pointers, one step further towardGilles Chehade
2009-06-01Fix EV_READ/EV_WRITE testing inside IMSG handlers. Based on similar changeJacek Masiulaniec
2009-05-31when entering mta_connect() reset session fd to -1Gilles Chehade
2009-05-30It is now possible to specify a certificate to use when relaying to anotherGilles Chehade
2009-05-30increment mta.sessions in when we allocate a new session in mtaGilles Chehade
2009-05-30- increment stats.mta.sessions_active when session is allocated in mtaGilles Chehade
2009-05-27Insert Received: at receive time instead of delivery time; ok gilles@Jacek Masiulaniec
2009-05-24Parent process forks 3 types of processes, track them all in a single treeJacek Masiulaniec
2009-05-19Verify the amount of IMSG payload is exactly as expected; ok gilles@Jacek Masiulaniec
2009-05-14use the nitems() macro where appropriateEric Faurot
2009-05-13do MX lookups in both "relay" and "relay via" case; ok gilles@Jacek Masiulaniec
2009-05-09- New API to handle all DNS query types (A, MX, PTR) asynchronously.Jacek Masiulaniec
2009-04-28in mta, change the batch status to S_BATCH_TEMPFAILURE by default so thatGilles Chehade
2009-04-28let mta, mda, and mfa become idle - no functional change; ok gilles@Jacek Masiulaniec
2009-04-21correct some fatal(x) calls and error stringsEric Faurot
2009-04-15fix a bug where after all MX-es were found to be non-contactable,Jacek Masiulaniec
2009-04-09change syntax of the "listen on" and "relay via" directives:Jacek Masiulaniec
2009-03-29turn some log_debugs into log_warns or even fatals; "looks ok" gilles@Jacek Masiulaniec
2009-03-19in the event of a timeout, mxhost is passed to TAILQ_REMOVE before it isGilles Chehade
2009-03-18remove debug X-Cipher and turn it into a useful log_info()Gilles Chehade
2009-03-18in mta, when remote host advertises AUTH, do not attempt to authenticateGilles Chehade
2009-03-15the mda process no longer uses struct batch as its central structure toGilles Chehade
2009-03-12Add new function time_to_text to correctly display the date.pea
2009-03-10implement basic logging, needs more work; ok gilles@Jacek Masiulaniec
2009-03-09add basic support for outgoing authentication (AUTH PLAIN over ssl) whichGilles Chehade
2009-02-22add missing headersCharles Longeau
2009-02-22put repeated inet_ntop calls into new func ss_to_text, which usesJacek Masiulaniec
2009-02-22replace MAX* constants by sizeof where possibleOleg Safiullin
2009-02-20Fix "Received: from" headerspea
2009-02-15New config.c that allows for process cloning. Done by pyr@ forJacek Masiulaniec
2009-01-29missing prototype for session_respond() in mta, move session_respond()'sGilles Chehade
2009-01-29Received header line was incomplete for mail submitted through the enqueuerGilles Chehade
2009-01-29fix a bug in mta's event maskingGilles Chehade
2009-01-29initial starttls support in mta, this allows:Gilles Chehade
2009-01-29bring initial support for SSL in the mta part of smtpd, allowing for:Gilles Chehade
2009-01-28fix missing prototype and format related warningsGilles Chehade
2009-01-28now that mta uses a struct session, it can also use session_respond() justGilles Chehade
2009-01-28mta session state belongs to struct session, not struct batch, remove theGilles Chehade
2009-01-28everything we need for the event handling dance is in struct session, theGilles Chehade
2009-01-28since we're expanding "relay via ssl foobar.org" into two mxhosts (one withGilles Chehade