[exim] Sender based outgoing IP Address

Page principale
Supprimer ce message
Répondre à ce message
Auteur: System Administrator
Date:  
À: exim-users
Sujet: [exim] Sender based outgoing IP Address


      BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }
Hi, 


    Is there a way for exim to choose the outgoing IP address based on
the sender domain? 


    Thanks in advance, 


    Edd Smith
-------------------------
Msg sent via Hequet - http://www.hequet.net/From sysadmin@??? Tue Jul 14 18:48:30 2009
Envelope-to: exim-users@???
Received: from boom.graemef.net ([82.113.154.29]:34144)
    by tahini.csx.cam.ac.uk with esmtp (Exim 4.69)
    (envelope-from <sysadmin@???>) id 1MQm7B-0004nV-O0
    for exim-users@???; Tue, 14 Jul 2009 18:48:30 +0100
Received: from mail.hequet.net ([78.108.174.4])
    by boom.graemef.net with esmtp (Exim 4.69)
    (envelope-from <sysadmin@???>) id 1MQlT5-00037A-Tk
    for exim-users@???; Tue, 14 Jul 2009 18:07:04 +0100
Received: from localhost ([127.0.0.1])
    by mail.hequet.net with esmtp (Exim 4.63)
    (envelope-from <sysadmin@???>) id 1MQlJE-0002aa-8L
    for exim-users@???; Tue, 14 Jul 2009 19:56:52 +0300
MIME-Version: 1.0
X-Mailer: AtMail PHP 5.2
Message-ID: <1667.1247590612@???>
To: <exim-users@???>
X-Origin: 80.79.157.87
Date: Tue, 14 Jul 2009 19:56:52 +0300
From: System Administrator <sysadmin@???>
X-Spam-Score: 1.4 (+)
X-Spam-Status: No, score>4 required~0 tests?L.037, BAYES_50.4,
    HTML_30_40.374, HTML_MESSAGE.6 autolearnO version^1.8
X-Mailman-Approved-At: Wed, 15 Jul 2009 08:45:23 +0100
Content-Type: text/plain; charset?tf-8"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.9
Subject: [exim] ratelimit / per_byte question
X-BeenThere: exim-users@???
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: sysadmin@???
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?subscribe>
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?lp>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject?bscribe>
X-List-Received-Date: Tue, 14 Jul 2009 17:48:30 -0000




      BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }
Hi, 


    In the case of a message size of 1x with n recipients, the ratelimit
per_byte counts 1x instead of n*1x. Am I missing something? 


    Thanks in advance, 


    Edd Smith


-------------------------
Msg sent via Hequet - http://www.hequet.net/From prvs?47784c41Xim-users@??? Wed Jul 15 10:39:37 2009
Envelope-to: exim-users@???
Received: from redoubt.spodhuis.org ([94.142.241.89]:56788
    heloH.spodhuis.org) by tahini.csx.cam.ac.uk with esmtp (Exim 4.69)
    (envelope-from <prvs?47784c41Xim-users@???>)
    id 1MR0re-0006uy-UL
    for exim-users@???; Wed, 15 Jul 2009 10:39:37 +0100
Received: by smtp.spodhuis.org with local
    id 1MR0hx-000GjQ-1l; Wed, 15 Jul 2009 09:23:25 +0000
Date: Wed, 15 Jul 2009 02:23:25 -0700
From: Phil Pennock <exim-users@???>
To: Lutz etf-8?Q?Preßler?<Lutz.Pressler@???>
Message-ID: <20090715092324.GA64150@???>
Mail-Followup-To: Lutz etf-8?Q?Preßler?<Lutz.Pressler@???>,
    exim-users@???
References: <E1MQjss-00HXIk-Jq@???>
    <20090714193624.GA28698@???>
    <E1MQxQn-000Pd5-3R@???>
MIME-Version: 1.0
Content-Type: text/plain; charset?f-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <E1MQxQn-000Pd5-3R@???>
X-Spam-Score: -1.8 (-)
X-Spam-Status: No, score?.8 required~0 tests?L?.292,
    BAYES_00?.5 autolearnO version^1.8
Cc: exim-users@???
Subject: Re: [exim] temporary errors (LDAP failures) while routing
X-BeenThere: exim-users@???
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: exim-users@???
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?subscribe>
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?lp>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
    <mailto:exim-users-request@exim.org?subject?bscribe>
X-List-Received-Date: Wed, 15 Jul 2009 09:39:37 -0000


On 2009-07-15 at 07:53 +0200, Lutz PreC?ler wrote:
> That's why multiple routers can route the same destination domain - which
> works, of course. But if the lookup times out in the first router
> while figuring out if it should handle this local part, the message
> is deferred immediately without doing the lookups in the other router(s).


Okay, that's a different issue from what I understood you to be saying
in the original post.

Yes, the general idea is that mail routing should be deterministic and
if you can't figure out if "X" should handle a mail, it's not safe to
just carry on.

Generally, if things have scaled to where you want to use LDAP then
hopefully you have more than one LDAP server anyway, using some
read-only replicas, perhaps even one local to the mail-server. So you
specify multiple servers in ldap_default_server and various types of
failure (documented in the LDAP stuff in The Exim Specification,
"spec.txt" and so on) will cause fail-through to the next server.

If all your LDAP servers go down, then good design means that will have
to be some kind of network or DNS issue and in either of those cases,
holding the mail is the right thing to do anyway.

-Phil