[Mailman-Users] adding new members with their fullnames via commandline

Hannah Schroeter hannah at schlund.de
Thu Sep 22 12:08:05 CEST 2005


Hello!

On Thu, Sep 22, 2005 at 12:00:58PM +0300, lkolchin at univ.haifa.ac.il wrote:
>Hello Again,

>Is it true that there is no way to add member to the list with his full name from the command line?

>I know that the below syntax won't work:
>./add_members -r - "firstname1 lastname1" <user1 at domain.com> somelistname

There're a few things wrong with that command line.

First, you'd probably have to quote the special characters, ", <, and >.

Second, with "-r -" you specify that add_members will read the addresses
of the members to add from standard input.

I.e. you could try something like
  echo '"firstname lastname" <user at domain.example>' |
    add_members -r - listname

>[...]

Kind regards,

Hannah.



More information about the Mailman-Users mailing list