actually, the problem was we got used to mailx which allowed -r and -s
for return address and subject respectively. sendmail doesnt get the
subject from the command line and mailx submits to sendmail's address
rewriting scheme. the term "work around" would mean in this situation to
getting the desired effect without actually changing sendmail's behavior
of ignoring mailx's "From" settings. ideal solution would still be
removing that rewriting from sendmail. i cant find anything on m4 for
that...and sendmail's cf is still daunting to read. and i couldnt just
migrate the whole thing to postfix.
-vince
Miguel A.L. Paraz wrote:
>On Wed, Aug 22, 2001 at 02:36:51PM +0800, vince cagud wrote:
>
>>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.
>>
>
>'-f' is not a workaround, it's the real way of telling sendmail how to
>set the From: . Subject line is always put in the body since sendmail
>only cares for the source and destination.
>_
>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]
>
_
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]