On Thu, 6 Dec 2001, Suresh Ramasubramanian wrote:

>  sendmail -f<[EMAIL PROTECTED]> [EMAIL PROTECTED]

With the inputs from Bish and Suresh I was able to find a
workable solution ( may not be best or optimum in the eyes
of experts ).

I run main script file "mm" , which is as:

        ======================
for ADDEE in `cat address.list`; do
echo  To:  $ADDEE > m2
cat m1 m2 m3 > m
sendmail -t -f someone@senderDomain < m
done
        ======================

where address.list is plain text file containg email
addresses. Email addresses are writtn to file "m2" one by
one in do loop, after To: field, and then "m1" "m2" "m3"
files are combined to have a file "m" ready to be delivered.

"m1" file has only one line as:

From: Name <name@anydomain>

This any domain can be any and recipient will find this as
name of sender. Offcourse, if this is not valid address,
you won't get reply :-(

"m3" contain Subject , body of message and all the rest of
things.

Lastly it is send using sendmail, here after -f,
"senderDomain" should be valid to avoid rejection of mail by
few servers.

As, I am a humble PC users and can't do sophisticated
administrative task, is satisfied with this solution as it
just served mu purpose.

Again thanks to Suresh and Bish.

H.S.Rai



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to