Matthieu Herrb <[email protected]> writes: > Hi, > > I ended up regenerating existing custom config files using the > sendmail port, and stumbled into references to the old 'smmsp' > user/group. So lets patch the installed cf/feature/msp.m4: > > ok ?
ok jca@ Note that if you fix msp.m4 then openbsd-submit.mc doesn't need to override confRUN_AS_USER anymore. > Index: patches/patch-cf_feature_msp_m4 > =================================================================== > RCS file: patches/patch-cf_feature_msp_m4 > diff -N patches/patch-cf_feature_msp_m4 > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-cf_feature_msp_m4 4 Mar 2016 16:34:23 -0000 > @@ -0,0 +1,11 @@ > +--- cf/feature/msp.m4~ Wed Mar 5 01:59:45 2014 > ++++ cf/feature/msp.m4 Fri Mar 4 17:25:20 2016 > +@@ -20,7 +20,7 @@ > + define(`confDONT_PROBE_INTERFACES', `True') > + dnl --------------------------------------------- > + dnl run as this user (even if called by root) > +-ifdef(`confRUN_AS_USER',,`define(`confRUN_AS_USER', `smmsp')') > ++ifdef(`confRUN_AS_USER',,`define(`confRUN_AS_USER', `_smmsp')') > + ifdef(`confTRUSTED_USER',,`define(`confTRUSTED_USER', > + `ifelse(index(confRUN_AS_USER,`:'), -1, `confRUN_AS_USER', > + `substr(confRUN_AS_USER,0,index(confRUN_AS_USER,`:'))')')') -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
