summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
AgeCommit message (Expand)Author
2009-05-24Instead of keeping stats private to each process, and querying everyJacek Masiulaniec
2009-05-21no longer create a dynamic map with 127.0.0.1 and ::1 for every single ruleGilles Chehade
2009-05-21fix sockaddr_storage lenght check in mfa_check_source()Gilles Chehade
2009-05-20Delay enabling of EV_READ until S_INIT (smtps) or S_TLS (starttls).Jacek Masiulaniec
2009-05-20previous commit to add reload support was missing some code, this diffsGilles Chehade
2009-05-20replace a TAILQ_FOREACH loop with a TAILQ_FIRST loop when releasing entriesGilles Chehade
2009-05-20first step towards configuration reload in smtpd, smtpctl reload will parseGilles Chehade
2009-05-20fix a pasto causing "smtpctl resume mta" to try to resume mdaGilles Chehade
2009-05-19ever since we switched from delivering to mboxes ourselves to using theGilles Chehade
2009-05-19remove useless check on NULL ssl cert and key, the check cannot be reachedGilles Chehade
2009-05-19Accept STARTTLS only after EHLO; ok gilles@Jacek Masiulaniec
2009-05-19- Don't advertise nor accept STARTTLS command when session is secure.Jacek Masiulaniec
2009-05-19Do not ever run /usr/sbin/sendmail, it could link to sendmailJacek Masiulaniec
2009-05-19Verify the amount of IMSG payload is exactly as expected; ok gilles@Jacek Masiulaniec
2009-05-18Complete rework of bufferevent event masking allowing for moreJacek Masiulaniec
2009-05-14use the nitems() macro where appropriateEric Faurot
2009-05-14correct function name in fatalJacek Masiulaniec
2009-05-13do MX lookups in both "relay" and "relay via" case; ok gilles@Jacek Masiulaniec
2009-05-13log dbopen and db->get errors; based on diff from Daniel Ouellet.Jacek Masiulaniec
2009-05-10use both read and write timeout arguments in the bufferevent_settimeoutJacek Masiulaniec
2009-05-10use rfc number 4954 in auth_plain handler name, rfc 4616 is impliedJacek Masiulaniec
2009-05-10assert copyright; ok gilles@Jacek Masiulaniec
2009-05-10RFC 4954 says the response to "AUTH PLAIN" must be "334 ", not "334";Jacek Masiulaniec
2009-05-09correct AUTH PLAIN rfc number, no functional change.Jacek Masiulaniec
2009-05-09fix rare memleak; ok gilles@Jacek Masiulaniec
2009-05-09give few states more meaningful names; ok gilles@Jacek Masiulaniec
2009-05-09fix function names in log_debugJacek Masiulaniec
2009-05-09- New API to handle all DNS query types (A, MX, PTR) asynchronously.Jacek Masiulaniec
2009-05-01initialize secret to NULL otherwise we may try to free a junk pointer whenGilles Chehade
2009-04-28smtp auth happened to work by luck because delivery to mbox action was theGilles Chehade
2009-04-28fix a bug where client with unresolvable revdns is never greeted; ok gilles@Jacek Masiulaniec
2009-04-28don't use strlcpy before calling a function that uses strlcpyJacek Masiulaniec
2009-04-28in mta, change the batch status to S_BATCH_TEMPFAILURE by default so thatGilles Chehade
2009-04-28make S_DATAREQUEST state similar to S_{MAIL,RCPT}REQUEST; ok gilles@Jacek Masiulaniec
2009-04-28let mta, mda, and mfa become idle - no functional change; ok gilles@Jacek Masiulaniec
2009-04-27kill 2-line session_msg_submit, used just once; ok gilles@ long ago.Jacek Masiulaniec
2009-04-27fix unlikely fd leak; ok gilles@Jacek Masiulaniec
2009-04-27session_cleanup call in MAIL FROM handler may be removed as aJacek Masiulaniec
2009-04-27check message_id received from smtp uses valid format.Jacek Masiulaniec
2009-04-27Disable EV_READ when setting F_QUIT flag up. Malicious client mayJacek Masiulaniec
2009-04-26sync with changes in relayd, diff by reyk@ and okayd by meGilles Chehade
2009-04-24in session_pickup, do not handle S_RCPT state, it must never beJacek Masiulaniec
2009-04-24Make aliases case-insensitive, issue reported by Daniel Ouelett; ok gilles@Jacek Masiulaniec
2009-04-24Enclose common imsg handling code in a function, which additionallyJacek Masiulaniec
2009-04-24use same timeout at each session state, and make use ofJacek Masiulaniec
2009-04-24kill unnecessary struct message_recipient; ok gilles@Jacek Masiulaniec
2009-04-23sort "show stats" outputJacek Masiulaniec
2009-04-21small corrections to log_warns and fatalsJacek Masiulaniec
2009-04-21Make /usr/sbin/sendmail not fail due to smtpd being down.Jacek Masiulaniec
2009-04-21correct some fatal(x) calls and error stringsEric Faurot