How to send a message after
Hi, Supose I'm supervising the qmail queue and see a message with (2 attachments of 2mb each for 5 different addresses). This message will consume a lot of my link, so I want to send this message during the night. How to do this? Best regards, Ari
Re: How to send a message after
run your mail program in night;-) On Thu, 9 Dec 1999, Ari Arantes Filho wrote: > Hi, > > Supose I'm supervising the qmail queue and see a message with (2 > attachments of 2mb each for 5 different addresses). This message will > consume a lot of my link, so I want to send this message during the night. > How to do this? > > Best regards, > > Ari > > >
Re: How to send a message after
Thus said "Ari Arantes Filho" on Thu, 09 Dec 1999 19:14:54 -0200: > Supose I'm supervising the qmail queue and see a message with (2 > attachments of 2mb each for 5 different addresses). This message will > consume a lot of my link, so I want to send this message during the night. > How to do this? You could always write a simple cronjob that would suspend qmail-send until an hour that you deem proper for sending such large emails and then have another cronjob that reactivates it at the specified time. This might involve control/concurrencyremote by setting the value to 0 and then HUP'ing qmail-send. I'm not qmail expert by any means but this might work. Andy -- +== Andy == TiK: garbaglio ==+ |Linux is about freedom of choice| +== http://www.xmission.com/~bradipo/ ===+
Re: How to send a message after
On Fri, Dec 10, 1999 at 12:48:20AM -0700, Andy Bradford wrote: > Thus said "Ari Arantes Filho" on Thu, 09 Dec 1999 19:14:54 -0200: > > > Supose I'm supervising the qmail queue and see a message with (2 > > attachments of 2mb each for 5 different addresses). This message will > > consume a lot of my link, so I want to send this message during the night. > > How to do this? > You could always write a simple cronjob that would suspend qmail-send > until an hour that you deem proper for sending such large emails and > then have another cronjob that reactivates it at the specified time. > This might involve control/concurrencyremote by setting the value to 0 > and then HUP'ing qmail-send. I'm not qmail expert by any means but > this might work. qmail-send needs a real restart to reread concurrency info. There is a patch that allows you to start/stop delivery without restarting qmail, it's somewhere on www.qmail.org. Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Re: How to send a message after
Thus said [EMAIL PROTECTED] on Fri, 10 Dec 1999 08:54:46 +0100: > qmail-send needs a real restart to reread concurrency info. There is a patch > that allows you to start/stop delivery without restarting qmail, it's somewhere > on www.qmail.org. Would an ALRM be enough or does it require a full restart? Andy -- +== Andy == TiK: garbaglio ==+ |Linux is about freedom of choice| +== http://www.xmission.com/~bradipo/ ===+
Re: How to send a message after
On Fri, Dec 10, 1999 at 12:58:17AM -0700, Andy Bradford wrote: > Thus said [EMAIL PROTECTED] on Fri, 10 Dec 1999 08:54:46 +0100: > > > qmail-send needs a real restart to reread concurrency info. There is a patch > > that allows you to start/stop delivery without restarting qmail, it's somewhere > > on www.qmail.org. > Would an ALRM be enough or does it require a full restart? Reading helps. I typed 'needs a real restart' but 'There is a patch that allows...' Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Re: How to send a message after
Thus said [EMAIL PROTECTED] on Fri, 10 Dec 1999 09:02:06 +0100: > Reading helps. Yes, I did read, however, I would rather avoid another patch if possible... :) Plus, it wasn't for my sake but the sake of Ari. > I typed 'needs a real restart' but 'There is a patch that allows...' Define 'real restart' in this context please... :) Andy -- +== Andy == TiK: garbaglio ==+ |Linux is about freedom of choice| +== http://www.xmission.com/~bradipo/ ===+
Re: How to send a message after
On Fri, Dec 10, 1999 at 01:05:28AM -0700, Andy Bradford wrote: > Thus said [EMAIL PROTECTED] on Fri, 10 Dec 1999 09:02:06 +0100: > > > Reading helps. > Yes, I did read, however, I would rather avoid another patch if > possible... :) Plus, it wasn't for my sake but the sake of Ari. > > > I typed 'needs a real restart' but 'There is a patch that allows...' > Define 'real restart' in this context please... :) kill -TERM the qmail-send process wait for it to die off normally start qmail Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Re: How to send a message after
On Fri, Dec 10, 1999 at 12:58:17AM -0700, Andy Bradford wrote: > Thus said [EMAIL PROTECTED] on Fri, 10 Dec 1999 08:54:46 +0100: > > > qmail-send needs a real restart to reread concurrency info. There is a patch > > that allows you to start/stop delivery without restarting qmail, it's somewhere > > on www.qmail.org. > Would an ALRM be enough or does it require a full restart? > Andy > -- > +== Andy == TiK: garbaglio ==+ > |Linux is about freedom of choice| > +== http://www.xmission.com/~bradipo/ ===+ I am running a ISDN-line, so I applied the patch, the signal is HUP. Regards Mirko -- privat: http://sites.inka.de/picard commerce: http://www.webideal.de qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads
Re: How to send a message after
The user sends the email, not me!!! - Original Message - From: <[EMAIL PROTECTED]> To: Ari Arantes Filho <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, December 10, 1999 1:42 AM Subject: Re: How to send a message after > run your mail program in night;-) > > On Thu, 9 Dec 1999, Ari Arantes Filho wrote: > > > Hi, > > > > Supose I'm supervising the qmail queue and see a message with (2 > > attachments of 2mb each for 5 different addresses). This message will > > consume a lot of my link, so I want to send this message during the night. > > How to do this? > > > > Best regards, > > > > Ari > > > > > > >
Re: How to send a message after
What ari appears to me to be asking for is a way to derail large e-mails into a secondary queue: He wants email to flow 24/z for little memos, but attachments above a threshold must wait until off-peak. A variety of approaches come to mind. Disabling _all_ outgoing e-mail until off-peak times is not one of them. Some point in the process must be selected for removal/insertion, and a size-based gateway installed there. Read your source code, Ari, I look forward to seeing your upcoming patch! Ari Arantes Filho wrote: > > The user sends the email, not me!!! > > - Original Message - > From: <[EMAIL PROTECTED]> > To: Ari Arantes Filho <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Friday, December 10, 1999 1:42 AM > Subject: Re: How to send a message after > > > run your mail program in night;-) > > > > On Thu, 9 Dec 1999, Ari Arantes Filho wrote: > > > > > Hi, > > > > > > Supose I'm supervising the qmail queue and see a message with (2 > > > attachments of 2mb each for 5 different addresses). This message will > > > consume a lot of my link, so I want to send this message during the > night. > > > How to do this? > > > > > > Best regards, > > > > > > Ari > > > > > > > > > > > -- ___ David Nicol 816.235.1187 [EMAIL PROTECTED] Safeguard your finances against the great Beanie crash of 2000
Re: How to send a message after
David, You are totally right: > What ari appears to me to be asking for is a way to derail large e-mails > into a secondary queue: He wants email to flow 24/z for little memos, > but attachments above a threshold must wait until off-peak. I'm using the qmail-hold patch, so I can create a control/holdremote (with 1), send HUP the qmail-send and the queue is paused. But at this time, all messages will be stopped. I would like to stop only the big one. Is it safetty to remove a message with this patch and when the queue is stopped? How do I return this message to the queue at 11pm for example? In december, users love to send Christmas cards, most of them very big attachments and addressed to more than one friend at the same time But other user needs to send a very important message, not so big, and his message will delay!!! I would like to decide which message should be send later!!! Regards, Ari - Original Message - From: David L. Nicol <[EMAIL PROTECTED]> To: Ari Arantes Filho <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, December 10, 1999 7:25 PM Subject: Re: How to send a message after > A variety of approaches come to mind. Disabling _all_ outgoing e-mail > until off-peak times is not one of them. > > Some point in the process must be selected for removal/insertion, and > a size-based gateway installed there. > > Read your source code, Ari, I look forward to seeing your upcoming > patch! > > > > > > > > Ari Arantes Filho wrote: > > > > The user sends the email, not me!!! > > > > - Original Message - > > From: <[EMAIL PROTECTED]> > > To: Ari Arantes Filho <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Friday, December 10, 1999 1:42 AM > > Subject: Re: How to send a message after > > > > > run your mail program in night;-) > > > > > > On Thu, 9 Dec 1999, Ari Arantes Filho wrote: > > > > > > > Hi, > > > > > > > > Supose I'm supervising the qmail queue and see a message with (2 > > > > attachments of 2mb each for 5 different addresses). This message will > > > > consume a lot of my link, so I want to send this message during the > > night. > > > > How to do this? > > > > > > > > Best regards, > > > > > > > > Ari > > > > > > > > > > > > > > > > > -- > ___ >David Nicol 816.235.1187 [EMAIL PROTECTED] > Safeguard your finances against > the great Beanie crash of 2000