[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Mail problem



El Sábado, 21 de Julio de 2007 18:31, Gustavo J. Mata escribió:
> Vivek J. Patankar wrote:
> > Gustavo J. Mata wrote:
> >> I distribute an e-mail newsletter to a large number of
> >> recipients (approximately 5500).I have a simple script
> >> that goes through the list of recipients and sends an
> >> email to each one in turn.
> >> This script was running fine in a machine which
> >> unfortunately died a few days ago.
> >> I'm now using another machine with Fedora Core 6
> >> installed. The problem now is that the script will
> >> only send a fraction of the total list and then stop.
> >> I'm getting no error messages.
> >> Any hints?
> >
> > It would help if you posted the script.
>
> Here it goes:
>
> #!/bin/bash
> # This mails a message, contained in filename, with
> # subject topic, to a list of mail addresses mailist
> # Usage: batchmail mail_list subject text
>
> exec < $1
> while read line ; do
>         mailx  -s "$2"  $line  < $3
> done
> exit

Try with #!/bin/bash -x

Cheers
-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]