--- mini_sendmail-1.3.6/mini_sendmail.c 2005-06-29 19:37:15.000000000 +0200 +++ mini_sendmail.c 2008-04-25 17:04:21.026619403 +0200 @@ -31,9 +31,9 @@ ** a significant savings in executable size. */ #define DO_RECEIVED /* whether to add a "Received:" header */ -#define DO_GETPWUID /* whether to try a getpwuid() if getlogin() fails */ +//#define DO_GETPWUID /* whether to try a getpwuid() if getlogin() fails */ #define DO_MINUS_SP /* whether to implement the -s and -p flags */ -#define DO_DNS /* whether to do a name lookup on -s, or just IP# */ +//#define DO_DNS /* whether to do a name lookup on -s, or just IP# */ #include @@ -145,7 +145,8 @@ ++argn; } - username = getlogin(); + /* username = getlogin();*/ + username = "nginx"; if ( username == (char*) 0 ) { #ifdef DO_GETPWUID