CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2015/02/27 05:17:36
Modified files: usr.sbin/smtpd : enqueue.c Log message: Do not use the name returned by getlogin() when pw_uid from getpwnam(getlogin()) doesn't match the real uid, unless the real uid is 0. This matches the behavior of sendmail and gives the corrent sender for mail sent by daemons that got started by a user who su'd or used sudo. OK dlg@ gilles@