summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.c
AgeCommit message (Expand)Author
2009-11-03Improve error logging.Jacek Masiulaniec
2009-10-19users within virtual domains do not necessarily map to a real user account,Gilles Chehade
2009-10-07now that mfa no longer does ruleset matching, parent no longer needs toGilles Chehade
2009-09-04Major mda update:Jacek Masiulaniec
2009-09-03imsg_get sets errno so use fatal instead of fatalx.Jacek Masiulaniec
2009-08-27getpwnam failure that results in setting errno could confuse theJacek Masiulaniec
2009-08-07we were linking to libkeynote to use kn_base64_encode/decode, but honestlyGilles Chehade
2009-08-07wrap auth_userokay in a new function authenticate_user() and make sureGilles Chehade
2009-08-06- change all occurences of T_DAEMON_BATCH,MESSAGE to T_BOUNCE_BATCH/MESSAGEGilles Chehade
2009-08-06This commit reworks the entire mailer daemon support to actually make itGilles Chehade
2009-07-28introduce daemon_record_message() and needed glue in queue_shared.c toGilles Chehade
2009-07-28Use strcmp() for string comparison not ==Jonathan Gray
2009-07-28indentGilles Chehade
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-03rename sc_config to sc_conffile since that's what this field is about, itGilles Chehade
2009-06-02make env->sc_listeners and env->sc_ssl pointers, one step further towardGilles Chehade
2009-06-01No need for save_getpwuid and such functions which call endpwent.Theo de Raadt
2009-06-01Fix EV_READ/EV_WRITE testing inside IMSG handlers. Based on similar changeJacek Masiulaniec
2009-05-30It is now possible to specify a certificate to use when relaying to anotherGilles Chehade
2009-05-30fatal on setsockopt() failuresGilles Chehade
2009-05-25merge smtp_listener_setup into its only caller; ok gilles@Jacek Masiulaniec
2009-05-24Parent process shouldn't be base64-decoding untrusted strings, moveJacek Masiulaniec
2009-05-24Parent process forks 3 types of processes, track them all in a single treeJacek Masiulaniec
2009-05-24Instead of keeping stats private to each process, and querying everyJacek Masiulaniec
2009-05-20previous commit to add reload support was missing some code, this diffsGilles Chehade
2009-05-20first step towards configuration reload in smtpd, smtpctl reload will parseGilles Chehade
2009-05-19ever since we switched from delivering to mboxes ourselves to using theGilles Chehade
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-14use the nitems() macro where appropriateEric Faurot
2009-05-10assert copyright; ok gilles@Jacek 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
2009-04-15don't call setproctitle for parent, at least one process shouldJacek Masiulaniec
2009-04-03The smtp auth PLAIN specification is weird. It's valid (apparently forOwain Ainsworth
2009-03-29turn some log_debugs into log_warns or even fatals; "looks ok" gilles@Jacek Masiulaniec
2009-03-22fix a bug in the resolution of forward files which would cause usernamesGilles Chehade
2009-03-10when calling external mda, use restricted environment; ok gilles@Jacek Masiulaniec
2009-03-10run external mda with cwd set to $HOME or /; ok gilles@Jacek Masiulaniec
2009-03-10kill few lines, saving one seteuid(2) call; ok gilles@Jacek Masiulaniec
2009-03-10- Use setsid(2) to create new process group for external mda.Jacek Masiulaniec
2009-03-10it's simpler to use pipe(2) than socketpair(2) to communicate withJacek Masiulaniec
2009-03-10fork(2) or socketpair(2) failures are temporary, delivery attempt should beJacek Masiulaniec
2009-03-09run external mda directly, not via sh -c; this steals addargs() APIJacek Masiulaniec
2009-03-08~/.forward files handling was fixed recently so that it is the privilegedGilles Chehade
2009-03-04plug a memory leak, remove lka session from the the lka session tree whenGilles Chehade
2009-03-03Fix a long standing issue where ~/.forward files were opened by user _smtpdGilles Chehade
2009-03-03fix mbox locking by having it done by mail.local(8) which in turns usesGilles Chehade