[exim] are these options right ??

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Fayez honest
Date:  
À: exim-users
Sujet: [exim] are these options right ??



Hello there,



i'm planning to not let exim send more than 500 messages every 15
minute, & these are the options i used to implement my need :




    Code:
    ########### Exim main configuration secion ###########
queue_only = true
split_spool_directory = true
queue_run_max = 2
remote_max_parallel = 100



########### Exim transport configuration section #########
connection_max_messages = 210


########### cron job ############
*/15 * * * * exim -q > /dev/null 2>&1
please could anyone here help me if i'm wrong
        
    
        
        
                           From human.bieng@??? Mon Nov 08 20:24:59 2010
Envelope-to: exim-users@???
Received: from snt0-omc1-s12.snt0.hotmail.com ([65.55.90.23]:35594)
    by tahini.csx.cam.ac.uk with esmtp (Exim 4.72)
    (envelope-from <human.bieng@???>) id 1PFYGw-0003IR-4l
    for exim-users@???; Mon, 08 Nov 2010 20:24:59 +0000
Received: from SNT115-W33 ([65.55.90.9]) by snt0-omc1-s12.snt0.hotmail.com
    with Microsoft SMTPSVC(6.0.3790.4675); 
    Mon, 8 Nov 2010 12:24:56 -0800
Message-ID: <SNT115-W33EB3ADE89C37BAF95E614F94F0@???>
X-Originating-IP: [196.205.207.253]
From: Fayez honest <human.bieng@???>
To: <exim-users@???>
Date: Mon, 8 Nov 2010 22:24:56 +0200
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 08 Nov 2010 20:24:56.0193 (UTC)
    FILETIME=[020B4F10:01CB7F83]
X-Spam-Score: 5.3 (+++++) 
X-Spam-Status: Yes, score=5.3 required=5.0 tests=AWL=0.010, BAYES_50=0.4,
    DNS_FROM_RFC_ABUSE=0.2, DNS_FROM_RFC_POST=1.708,
    FORGED_HOTMAIL_RCVD=2.255, HTML_90_100=0.113,
    HTML_MESSAGE=0.6 autolearn=no version=3.1.8
X-Spam-Flag: YES
X-Mailman-Approved-At: Tue, 09 Nov 2010 09:20:43 +0000
Content-Type: text/plain; charset="windows-1256"
Content-Transfer-Encoding: 8bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.9
Subject: [exim] help me in these options please
X-BeenThere: exim-users@???
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: A user list for the exim MTA <exim-users.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject=unsubscribe>
List-Archive: <http://lists.exim.org/lurker/list/exim-users.html>
List-Post: <mailto:exim-users@exim.org>
List-Help: <mailto:exim-users-request@exim.org?subject=help>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Nov 2010 20:24:59 -0000



Hello there,

i'm using Exim in my server, & most domains in my server contain forums which contain many users, now each forum try to send messages to there users, meaning that a forum send one message to too many email accounts (or recipients)

my plan is that i want to only let not more than 500 message to be sent every 15 minutes

so is these options values are right

######## Exim Main Configuration section #############
queue_only = true
split_spool_directory = true
remote_max_parallel = 50

####### Exim Transport Configuration section ##########
max_rcpt = 420
connection_max_messages = 420

may all accept my best regards ,,







                           From exim-users@??? Tue Nov 09 09:49:53 2010
Envelope-to: exim-users@???
Received: from mail.grepular.com ([2001:470:1f07:85d::beef]:54923)
    by tahini.csx.cam.ac.uk with esmtp (Exim 4.72)
    (envelope-from <exim-users@???>) id 1PFkps-00067Q-74
    for exim-users@???; Tue, 09 Nov 2010 09:49:53 +0000
Received: from [127.6.6.6] (port=12345 helo=bow.chicka.wow.wow)
    by snail.grepular.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71)
    (envelope-from <exim-users@???>) id 1PFkpp-0005ZY-RG
    for exim-users@???; Tue, 09 Nov 2010 09:49:49 +0000
Message-ID: <4CD91935.4040302@???>
Date: Tue, 09 Nov 2010 09:49:41 +0000
From: Mike Cardwell <exim-users@???>
Organization: Cardwell IT Ltd.
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
    rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: exim-users@???
References: <4CD85198.1030700@???>    <AANLkTimV-UfqBf3RH-hLk0Gdx9H9Xedujq3qRDUrPekj@???>
    <20101108225816.GE2355@???>
In-Reply-To: <20101108225816.GE2355@???>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Web: <a href="http://grepular.com/">http://grepular.com/</a>
X-Sp4mTr4p-1: D0 N0T EM4IL <sp4m-tr4p-d0-n0t-em4il@???>
X-Sp4mTr4p-2: <a href="mailto:sp4m-tr4p-d0-n0t-em4il@grepular.com">D0 N0T
    EM4IL</a>
X-Spam-Score: -0.6 (/) 
X-Spam-Status: No, score=-0.6 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=-2.010,
    BAYES_00=-1.5, RATWARE_GECKO_BUILD=1.691,
    URIBL_BLACK=3 autolearn=no version=3.1.8
Subject: Re: [exim] Unusual routing question [OT]
X-BeenThere: exim-users@???
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: A user list for the exim MTA <exim-users.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject=unsubscribe>
List-Archive: <http://lists.exim.org/lurker/list/exim-users.html>
List-Post: <mailto:exim-users@exim.org>
List-Help: <mailto:exim-users-request@exim.org?subject=help>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Nov 2010 09:49:53 -0000


On 08/11/2010 22:58, Heiko Schlittermann wrote:

> Todd Lyons <tlyons@???> (Mo 08 Nov 2010 23:42:02 CET):
>> iptables should be able to do this. We use iptables to redirect port
>> 80 to some other port. It should be trivial to make the redirection
>> to your exim port apply to some specific source addresses, then add a
>> second default redirection to a different port for the rest.
>
> iptables can't reverse resolve ip addresses at runtime, as far as I
> know.
>
> So if you'd like to setup some redirection based on *.badhosts.com,
> it is not easy using plain iptables for this.


You could use the QUEUE target, but you'd need to write a small
application to do the reverse lookups. You can access libipq through
Perl using http://search.cpan.org/~jmorris/perlipq-1.25/IPQueue.pm

-- 
Mike Cardwell - Perl/Java/Web/Linux/Email developer and sysadmin
PGP Key(0018461F) - 35BC AF1D 3AA2 1F84 3DC3  B0CF 70A5 F512 0018 461F
Read my tech Blog                - https://secure.grepular.com/
Follow me on Twitter             - https://twitter.com/mickeyc
Hire me - http://cardwellit.com/ - http://linkedin.com/in/mikecardwell