summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.c
AgeCommit message (Expand)Author
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-05-31Rewrite entire queue code.Jacek Masiulaniec
2010-05-31imsg_compose_event() return value was never checked. Make it fatal() if needed.Charles Longeau
2010-05-27when a rule has two conditions (ie: accept for { domain foo, domain bar } )Gilles Chehade
2010-05-23When executing external mda, call dup2, closefrom, and chdir beforeJacek Masiulaniec
2010-05-21Use _exit(2) in mda helper child process.Jacek Masiulaniec
2010-05-20S_ISREG() should be called on st.st_mode not st.st_flagsGilles Chehade
2010-05-09in recent change, an assignation was removed which would cause a bogusGilles Chehade
2010-04-21Runner process is just a helper for queue, so tear down its imsgJacek Masiulaniec
2010-04-20Kill *2400* lines of code by abstracting common bits of the imsg handlers.Jacek Masiulaniec
2010-04-20setproctitle(3) the parent process to "[priv]" to match other OpenBSDJacek Masiulaniec
2010-04-20Make smtpd -d produce verbose output, ie. restore behaviour from beforeJacek Masiulaniec
2010-04-19- use perror(3)Jacek Masiulaniec
2010-04-19Simplify local delivery codepath:Jacek Masiulaniec
2010-03-01typo in warning logGilles Chehade
2010-01-10have smtpd errx() at startup if no hostname could be detected either fromGilles Chehade
2010-01-03Implement "log verbose" and "log brief" to enable or disable verbose debugCharles Longeau
2009-12-24kill PATH_RUNQUEUEHIGH and PATH_RUNQUEUELOW, i had great plans for them butGilles Chehade
2009-12-14Tweak the logic behind setting the fd limits so that smtpd is less likelyJacek Masiulaniec
2009-12-14Do non-blocking I/O when delivering locally over a pipe.Jacek Masiulaniec
2009-12-13Use safe fd limits in smtp, lka, queue, and control. Removes aJacek Masiulaniec
2009-11-14remove duplicate header includeCharles Longeau
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