Policy Daemon Idea: Limit number of messages in queue per client or per destination

From: Philipp Morger (no email)
Date: Fri May 20 2005 - 09:43:26 EDT

  • Next message: Ean Kingston: "Re: Postfix , howto slow down send speed to 7.5Kbyte/s ?"

    Hi folks

    I'm just had that funny idea to limit the number of messages a client
    can have in the mailqueue - this would basically eliminate the case
    where a zombi would fill the mailqueue over time (rush flood is
    prohibited by the anvil service) or by a single smtp-connection.

    basically I would like to have something like

    smtpd_queuesize_limit_host = 10

    The first parameter would allow to have 10 messages (counted per
    queueid) in the queues (active or deferred doesn't matter)

    Currently I don't have a very clear vision how to do this in a way that
    wouldn't waste to much cpu cycles...

    I assume this is something nice to do in a policy daemon...

    While thinking about it, what's about the idea to limit the number of
    mails per destination domain - something like

    hotmail.com 10000
    soekris.com 100

    Regards
    Philipp

    -- 
         _;\_    Philipp Morger / PHM2-RIPE     System & Network Administrator 
        /_.  \   Dolphins Network Systems AG    Phone +41-1-847'45'45
       |/ -\ .)  Email:			    <>
     -'^`-   \;  Don't send mail to:	    
                       
    

  • Next message: Ean Kingston: "Re: Postfix , howto slow down send speed to 7.5Kbyte/s ?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD