procmail
[Top] [All Lists]

Re: Procmail dumping core

1996-11-26 09:54:33
    > Is there any possibility of having Procmail read a bunch of addresses
    > from a file, like Sendmail can?

For what purpose?

If you wish to create a list of addresses, from a file, you can capture
the file using either of these techniques:

        ADDRS=`cat file-of-addresses | tr '\012' ' '`

        :0
        ADDRS=|cat file-of-addresses | tr '\012' ' '

The "tr" pipe is to turn any newlines into blanks.  Then, you can use
"ADDRS" as you like, even as the target of a redirect:

        :0
        ! $ADDRS


There is also a program called "choplist", which reads a file of addresses,
and generates sendmail invocations on groups of the addresses. 

Choplist is part of SmartList, a mailing list manager written on top of
and by the same author as procmail.

___________________________________________________________
Alan Stebbens <aks(_at_)sgi(_dot_)com>      http://reality.sgi.com/aks

<Prev in Thread] Current Thread [Next in Thread>