thanks for the reply. *sigh* well, we made a workaround.
/usr/lib/sendmail -f 'source address' < 'text file'

and for the Subject part, we just put a 'Subject: my subject' at
the top of the message file and sendmail sees it properly, attaching
it to the header.

still, i dont like workarounds and i'd rather know how to turn
that darn thing off via sendmail.cf or m4. i think it's somewhere
near ruleset S0 or S3? where local addresses are re-writted. oh well.

-vince


Sacha Chua wrote:

>On Wed, Aug 22, 2001 at 11:33:32AM +0800, vince cagud wrote:
>
>>(From). we use mailx to do this with : mailx -s 'subject here' -r 
>>'return email address here' 'destination address' < 'filename of message 
>>problem is, sendmail insists on changing the sender address to the 
>>username of the user who called mailx.
>>
>
>Makes sense if called by normal user. Hmm, I don't have an -r flag...
>
>Perhaps try as root? If you're really desperate, talk to the SMTP port directly.
>


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to