Markus Stumpf writes:

> On Mon, Apr 26, 1999 at 02:51:14AM +0000, Sam wrote:
> > Configure Qmail normally, except that you'll initialize control/smtproutes
> > to have all non-local E-mail smarthosted through your ISP's mail server.
> > 
> > Then, motify the ip-up script to automatically send a SIGHUP to qmail-send
> > when the connection to the Internet is established, causing all pent up
> > E-mail to be flushed to the smarthost.
> 
> It's SIGALRM isn't it?

Probably.  I'm so used to kicking qmail-send, the fingers move
automatically.

> And it won't work, if you are within the 2 minute "timeout" of tcpto ?

Works for me.

> IMHO it's better to configure qmail to deliver all outgoing email to
> a Maildir and use the serialmail package (found on djb's website) to
> send it to the smarthost on dial-out. 

Why complicate things?  The mail is sitting nicely in the queue, there's
one less script that can possibly break, and this really doesn't accomplish
anything useful.

-- 
Sam

Reply via email to