Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users
Re: Is there a way to control the delivery rate?
 

Index | Next | Previous | View Flat


clive at messagecare

Dec 16, 2004, 2:44 PM


Views: 23134
Permalink
Re: Is there a way to control the delivery rate? [In reply to]

Net Virtual Mailing Lists wrote:

>The delivery rate I need to ensure is something like "1 message every 3
>or 4 minutes", which is pretty easy for qmail to exceed.....
>
>

It sounds to me like you would want to deliver the messages to a local
holding mailbox (instead of the real recipient), then have a cron job
pick the first message up from that mailbox, inject it to the real
recipient, and delete it from the mailbox. If the cron job runs every 4
minutes, you will have your controlled rate.

Of course, this will involve some scripting, but it should be a simple
enough shell script. At simplest, if you're using maildirs, something
like this should do it (you will need to work out the details):

to=user [at] domai
file=`ls | head -1`
qmail-inject $to < $file && rm $file

If you're not using maildirs, you might do something a little more
involved using something like fetchmail.

Clive

Subject User Time
Is there a way to control the delivery rate? mailinglists at net-virtual Dec 16, 2004, 1:29 AM
    Re: Is there a way to control the delivery rate? kitchen at scriptkitchen Dec 16, 2004, 8:03 AM
    Re: Is there a way to control the delivery rate? qmail at discworld Dec 16, 2004, 8:18 AM
    Re: Is there a way to control the delivery rate? mailinglists at net-virtual Dec 16, 2004, 1:41 PM
    Re: Is there a way to control the delivery rate? mailinglists at net-virtual Dec 16, 2004, 1:41 PM
        Re: Is there a way to control the delivery rate? clive at messagecare Dec 16, 2004, 2:44 PM
            Re: Is there a way to control the delivery rate? clive at messagecare Dec 16, 2004, 3:36 PM
                Re: Is there a way to control the delivery rate? mailinglists at net-virtual Dec 16, 2004, 4:20 PM
                    Re: Is there a way to control the delivery rate? clive at messagecare Dec 16, 2004, 4:55 PM
        Re: Is there a way to control the delivery rate? qmail at discworld Dec 16, 2004, 3:21 PM
    Re: Is there a way to control the delivery rate? mailinglists at net-virtual Dec 16, 2004, 4:17 PM
        Re: Is there a way to control the delivery rate? safari-qmail at safari Dec 16, 2004, 5:03 PM
        Re: Is there a way to control the delivery rate? xistence at x-istence Dec 16, 2004, 5:27 PM
            Re: Is there a way to control the delivery rate? mailinglists at net-virtual Dec 16, 2004, 5:57 PM
                Re: Is there a way to control the delivery rate? lbudney at pobox Dec 16, 2004, 7:44 PM
                    Re: Is there a way to control the delivery rate? kitchen at scriptkitchen Dec 17, 2004, 9:39 AM
                Re: Is there a way to control the delivery rate? xistence at x-istence Dec 16, 2004, 7:51 PM
        Re: Is there a way to control the delivery rate? frob-qmail at webcentral Dec 16, 2004, 5:56 PM
        Re: Is there a way to control the delivery rate? kitchen at scriptkitchen Dec 17, 2004, 9:38 AM
    Re: Is there a way to control the delivery rate? mailinglists at net-virtual Dec 16, 2004, 6:02 PM
        Re: Is there a way to control the delivery rate? frob-qmail at webcentral Dec 16, 2004, 8:31 PM
    Re: Is there a way to control the delivery rate? mailinglists at net-virtual Dec 16, 2004, 8:06 PM
        Re: Is there a way to control the delivery rate? qmail at discworld Dec 17, 2004, 6:37 AM
    Re: Is there a way to control the delivery rate? kitchen at scriptkitchen Dec 17, 2004, 9:40 AM
    Re: Is there a way to control the delivery rate? mailinglists at net-virtual Dec 17, 2004, 3:01 PM
    Re: Is there a way to control the delivery rate? mjd at plover Mar 6, 2008, 12:19 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.