On Mon, Dec 03, 2001 at 02:48:53PM +0530, H.S.Rai wrote:
> On Mon, 3 Dec 2001, Suresh Ramasubramanian wrote:
>
> > Create a /etc/aliases entry mapping to all the users in
> > your address book.
>
> But, it does show address of recipient, rather show the
> alias_name@domain_name_of_sender. I wish to have recip-
> ient's email in To field.
>
---end quoted text---
Just my 2p. The best thing for bulk mailing is to use a
simple bash script and sending it directly through the MTA
(sendmail -vt) without the need for any MUA. If you want
all the addressees to recieve with only their name on it
(and not the whole list of addressees), then use Bcc:
Only thing is you need to take out all the addresses from
the pine addressbook first ...
The following script should do the job for you, with each
recipient getting an "original" copy :-
------------<snip>-------------
#!/bin/bash
sendmail -vt <<- -EndOfMail-
To: [EMAIL PROTECTED]
Cc:
Bcc: [EMAIL PROTECTED],
[EMAIL PROTECTED],
....
[EMAIL PROTECTED]
Subject: Just for you
The following is the text just for
you and you alone !
Someone
-EndOfMail-
------------</snip>-------------
Note: There is no comma after the last address.
Note the space after each colon in headers.
No space between the first two lines or
within the mail header section.
OR, write a script to mail individually using the "mailx"
program. Example:
for ADDEE in `cat address.list`; do
mail -v -s "Just for You" $ADDEE < message.txt
done
The file address.list should have all names in sequence
without any line gaps or terminating commas.
HTH
Bish
--
:
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : Formatting a floppy LOST #104
Unlike DOS/Windows, floppy formatting in Linux is a two staged
process, first a low level format with programs like fdformat
or superformat ... and then we put the file system on it with
mkfs. Any of the file systems supported by linux can be used
inclusive of ext2, msdos and minix. (See man mkfs, fdformat)
####<[EMAIL PROTECTED]>########################################
:
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help