LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Parts/Attachments: text/plain (20 lines)
Print Reply
Mime-Version:
1.0
Sender:
LISTSERV site administrators' forum <[log in to unmask]>
Subject:
From:
Douglas Palmer <[log in to unmask]>
Date:
Mon, 24 Jul 2006 17:17:54 -0400
In-Reply-To:
Content-Type:
text/plain; charset="us-ascii"; format=flowed
Reply-To:
LISTSERV site administrators' forum <[log in to unmask]>
Long about 04:03 PM 7/24/2006, Nathan Brindle sent the following:

>To me, that's doing things the hard way.
>
>Seems like it would be much simpler to have your script create list 
>headers, store one header per file with a PUT command at the top of 
>the file, and then invoke Blat or some other SMTP utility to mail 
>the files to LISTSERV.  (Obviously the From: address would have to 
>be that of a LISTSERV postmaster.)

Even easier to just pipe it to lsv-amin (with the right headers)...

  foreach $i (@files) {
      system("cat $i | /usr/listserv/bin/lsv_amin -t listserv");
  }

Why send things to the mail queue that don't need to go there?

-- DCP

ATOM RSS1 RSS2