I have a quick question, I'm sure the answer is simple.

I want to do the following:

1. send an email to a list through a bash script (no interaction)
2. hide the recepients (bcc) 
3. be able to alter the from: address (or set a reply-to), to
listoperator@domain instead of [EMAIL PROTECTED]

I normally use "mail" to accomplish this, but I cannot figure out how to
do last one.

I have:

echo "text" | mail root -b list@domain -s subject

Do I have to set a reply-to or different from in my /root/.mailrc or
/etc/mail.rc?

Is there someway I can do this with mutt or perhaps sendmail?

Thanks in advance.

Vinny



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to