CVSROOT: /cvs Module name: src Changes by: gil...@cvs.openbsd.org 2009/01/27 04:42:30
Modified files: usr.sbin/smtpd : smtpd.c Log message: temporarily drop privileges to the final user before each delivery attempt, wether it is maildir, mbox or external mda. rearrange a bit of code to also simplify most delivery methods by moving their common code to common place. while at it change some mode_t to int where it was wrongly used and unlink temporary maildir file if we fail to deliver for some reason. discussed with and ok jacek@