Hi all,
If log in as root and send mail to a remote host using qmail-inject,
the mail I receive is not from root but from my tcropper account.
I been trying to figure this our for hours ... Any help would be
appreciated.
Below are the steps I go through to send the mail
I ssh to the host and the su to root
check my id: uid=0(root) gid=0(root)
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
Retrieve mail from hotmail:
From: [EMAIL PROTECTED]
Date: 4 Jan 2001 05:49:08 -0000
>From qmail-header man page: If there is no From field, qmail-inject
adds a new From field with the name of the user invoking qmail-inject.
How can this happen when I was logged in as root when sending to
qmail-inject???
Thanks
-Tim