LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

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

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

Print Reply
Douglas Palmer <[log in to unmask]>
Mon, 24 Jul 2006 17:17:54 -0400
text/plain (20 lines)
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