Re: [Exim] ORDB relay problems and sense of helo_verify in t…

Góra strony
Delete this message
Reply to this message
Autor: Michael Jakscht
Data:  
Dla: exim-users
CC: Nico Erfurth
Temat: Re: [Exim] ORDB relay problems and sense of helo_verify in this case...

Hi Nico,

thanx for answering,

Nico Erfurth wrote:

> > ======================
> > smtp_rzv_rzv_director:
> >   driver = smartuser
> >   condition = "${if and { \
> >                         {eq {$sender_address_domain}{vit.de}} \
> >                         {eq {$domain}{vit.de}} \
> >                         } {yes}{no}}"
> >   transport = transport_intern_rzv_smtp_rzv
> > ======================

>
> You should also check for the sender_host_address here (but
> amavis could be a problem here :-/).


Now if I want to check the sender_host_address, in which case could or will
amavis be the problem?
And (excuse me) which field is the one which applies to the variable
sender_host_address?

Below is a header of a mail coming from the internal notes-smtp-gateway
"rzvmail.vit.de" which is then put through the director above on exim...
Now what is the field sender_host_address in this case?



=======================================
Received: from mail.vit.de ([213.69.199.241]) by rzvmail.vit.de (Lotus SMTP
MTA v4.6.1  (569.2 2-6-1998)) with SMTP id C1256CA9.0051935B; Fri, 9 Jan
1970 15:50:28 +0100
Received: from exim by mail.vit.de with spam-and-virus-scanned (Exim 3.36
#2)
     id 18We1t-0007K9-00
     for jakscht@???; Thu, 09 Jan 2003 15:51:33 +0100
Received: from amavis by mail.vit.de with scanned-ok (Exim 3.36 #2)
     id 18We1t-0007K5-00
     for jakscht@???; Thu, 09 Jan 2003 15:51:33 +0100
Received: from rzvmail.vit.de ([213.69.199.243])
     by mail.vit.de with smtp (Exim 3.36 #2)
     id 18We1s-0007Jx-00
     for jakscht@???; Thu, 09 Jan 2003 15:51:32 +0100
Received: by rzvmail.vit.de(Lotus SMTP MTA v4.6.1  (569.2 2-6-1998))  id
C1256CA9.00519229 ; Thu, 9 Jan 2003 15:50:58 +0100
From: "Michael Jakscht" <jakscht@???>
To: jakscht@???
Message-ID: <C1256CA9.005180C5.00@???>
Date: Thu, 9 Jan 2003 15:50:23 +0100
Subject: test 4
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Virus-scanned: RZV network systems, (c) 2002
X-Spam-Status: No, hits=2.1 required=8.0
     tests=FROM_AND_TO_SAME_5,SPAM_PHRASE_00_01
     version=2.43
X-Spam-Level: **
X-Filtered-by: mail.vit.de at 2003-01-09 15:51:33, passed filter: domain,
from, subject, body, receiver, sender
X-Delivered-To: jakscht@???
=======================================



I tried it with these one's but it didn't work out...

=======================================
smtp_rzv_rzv_director:
  driver = smartuser
  condition = "${if and { \
                    {eq {$sender_host_address}{rzvmail.vit.de}} \
                        {eq {$sender_address_domain}{vit.de}} \
                        {eq {$domain}{vit.de}} \
                        } {yes}{no}}"
  transport = transport_intern_rzv_smtp_rzv
=======================================




=======================================
smtp_rzv_rzv_director:
  driver = smartuser
  condition = "${if and { \
                    {eq {$sender_host_address}{213.69.199.243}} \
                        {eq {$sender_address_domain}{vit.de}} \
                        {eq {$domain}{vit.de}} \
                        } {yes}{no}}"
  transport = transport_intern_rzv_smtp_rzv
=======================================




Thanx,

Michael