[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I want to create "mailling lists" using mutt, that's to say, sending
> news to some users, but the users need not reply my mails.  As i want
> to implement the list using scripts, I can not invoke mutt
> interactively, all i can do is to use commandline options. 

Is there some reason you need to use Mutt?

Compose your message in a file, with full headers and all.  You need not
insert the recipients into the To: header, though you should have one in
the headers.  You can have a fake To: header, such as "To: my-list",
even if there is no such list as "my-list".

Once you have composed the file, send it directly via sendmail:

    sendmail [EMAIL PROTECTED] [EMAIL PROTECTED] \
                [EMAIL PROTECTED]  <  mail.file

As you can see, sendmail will take the contents of mail.file and
distribute it to all of the senders you name on the command line.

You can even put the list of names into a file, and insert them thusly:

    sendmail `cat users.list`  <  mail.file

Voila!  A mutt-less solution (on the mutt mailing list, no less)!  :)

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Richardson IT    |    PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44

Reply via email to