Re: Queueing remote deliveries at specific intervals (ala sendmail-q)?

1998-12-30 Thread Robin Smidsrød


On Tue, 29 Dec 1998, John Gonzalez/netMDC admin wrote:

 On Tue, 29 Dec 1998, [ISO-8859-1] Robin Smidsrød wrote:
 
 -| 
 -| I guess the subject says it all?
 -| 
 -| How is it possible to enforce a "sendmail -q" specific behaviour in qmail?
 -| I'm using it in a dial-on-demand system, and I want to be able to flush the
 -| remote mail queue at specific intervals.
 -| 
 -| Anybody'd care to enlighten me?
 
 Send an -ALRM signal to qmail-send and it will re-try the queue. 

Ok, this sounds good. Now I have a way to flush the queue at specific
intervals, but; How do I stop qmail(-rspawn I guess) from trying to deliver
at all? I'm in a dial-on-demand system, and I don't won't the mailer-daemon
to trigger a dialup except when I tell it to.

Is there a signal which has the opposite effect?

TIA

-- Robin

~~
Robin Smidsrød  | Private: 33329383 | Web : http://www.smidsrod.no
Ekelyvn. 11 | Mobile : 91593393 | E-Mail  : [EMAIL PROTECTED]
N-3150 TOLVSRØD | Fax: 33324622 | CellMail: [EMAIL PROTECTED]



Re: Queueing remote deliveries at specific intervals (ala sendmail-q)?

1998-12-30 Thread John R. Levine

Ok, this sounds good. Now I have a way to flush the queue at specific
intervals, but; How do I stop qmail(-rspawn I guess) from trying to deliver
at all? I'm in a dial-on-demand system, and I don't won't the mailer-daemon
to trigger a dialup except when I tell it to.

Really, you want the serialmail package, since you don't really want
to deliver on a clock, you want to deliver when you're connected,
which may be based on a clock or may not.

Tell qmail to deliver all of the outgoing mail into a maildir by
putting a catchall entry into virtualdomains.  Then when you're dialed
up, start maildirsmtp to pump out the messages, typically by running
it at the end of the "ppp up" script.  This is exactly the sort of
application that maildirsmtp is intended for, and it works quite well.


-- 
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, 
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail



Re: Queueing remote deliveries at specific intervals (ala sendmail-q)?

1998-12-30 Thread Mirko Zeibig

Either you try to install the serialmail-package or just apply the
holdremote patch found at the qmail-homepage, the second one to be very
easy to configure. Just remove/add an /var/qmail/control/holdremote-file
in your ip-up/ip-down-Skripts, give qmail-send a SIGHUP and you are
gone. The advantage of the patch against serialmail is that while online
mail will be automatically sent, whereas with serialmail I had to fiddle
around with two different virtualdomain-files for the same intent.
Regards
Mirko
-- 
mailto:[EMAIL PROTECTED]
surfto:http://sites.inka.de/picard



Re: Queueing remote deliveries at specific intervals (ala sendmail -q)?

1998-12-29 Thread John Gonzalez/netMDC admin

On Tue, 29 Dec 1998, [ISO-8859-1] Robin Smidsrød wrote:

-| 
-| I guess the subject says it all?
-| 
-| How is it possible to enforce a "sendmail -q" specific behaviour in qmail?
-| I'm using it in a dial-on-demand system, and I want to be able to flush the
-| remote mail queue at specific intervals.
-| 
-| Anybody'd care to enlighten me?

Send an -ALRM signal to qmail-send and it will re-try the queue. 

  ___   _  __   _  
__  /___ ___    /__  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[-[system info]---]
 12:05pm  up 79 days, 15:44,  3 users,  load average: 0.01, 0.04, 0.06