>From man qmail-send
"If a message is  temporarily  undeliverable  to  one or more addresses,
qmail-send leaves it in the queue and tries the addresses again later."

Isn't that sufficient for your purpose ?? Or do you actually want the
emails to be sent out at predefined timings.



Mithun

Sandip Bhattacharya wrote:
> 
> Hi!
> 
> Is there an equivalent of "sendmail -q" in qmail? I wrote the
> following script for sending a SIGALRM to qmail-send. But it keeps
> doing it in the background. Can it be modified in a way to run in the
> foreground? That way I can use it in CRON scripts to send all mails at
> regular intervals.
> 
> TIA,
>  Sandip
> 
> >#!/bin/bash
> >
> >PID=`ps ax | grep qmail-send | grep -v grep | tr -s ' ' | cut -d ' ' -f 2 `
> >/var/qmail/bin/qmail-tcpok
> >echo "Sending SIGALRM to qmail-send($PID)"
> >kill -ALRM $PID
> 
> --
> -------------------------------------
> Sandip Bhattacharya
> sandipb @ bigfoot.com
> -------------------------------------
> 
> ----------------------------------------------
> LIH is all for free speech.  But it was created
> for a purpose.  Violations of the rules of
> this list will result in stern action.

----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to