John Goerzen wrote:
> Are you *sure* it's bsmtp adding that header, and not your MTA?  What
> has made you sure?


bacula-2.4.4/src/tools/bsmtp.c line 522:

   if ((pwd = getpwuid(getuid())) == 0) {
      fprintf(sfp, "Sender: userid...@%s\r\n", (int)getuid(), my_hostname);
      Dmsg2(10, "Sender: userid...@%s\r\n", (int)getuid(), my_hostname);
   } else {
      fprintf(sfp, "Sender: %...@%s\r\n", pwd->pw_name, my_hostname);
      Dmsg2(10, "Sender: %...@%s\r\n", pwd->pw_name, my_hostname);
   }




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to