? phplist.patch
Index: phplist.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/massmailer/engines/phplist/phplist.module,v
retrieving revision 1.29
diff -u -p -r1.29 phplist.module
--- phplist.module	30 Nov 2005 00:00:55 -0000	1.29
+++ phplist.module	28 Dec 2005 23:20:01 -0000
@@ -61,7 +61,8 @@ function phplist_engine_settings() {
     variable_set($key, $value);
   }
 
-  variable_set('phplist_command_line_user', $_SERVER["USER"]);
+  $apache_user = posix_getpwuid(posix_getuid());
+  variable_set('phplist_command_line_user', $apache_user['name']);
   //variable_set('phplist_version', '2.8.11');
 
   //  $group = form_item('', t('If you are on a shared host, it will probably be appreciated if you don\'t send out loads of emails in one go. To do this, you can configure batch processing. Please note, the following two values can be overridden by your ISP by using a server wide configuration. So if you notice these values to be different in reality, that may be the case'));
