Re: [exim] compare two headers_rule in acl dont work properl…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: vitas1
Datum:  
To: exim-users
Betreff: Re: [exim] compare two headers_rule in acl dont work properly
...

> And this one probably /always/ matches, because mostly $return_path and
> $sender_address are the same thing (read what the spec has to say about
> $return_path).
>
> If you want to test for this at all, you probably want to compare
> ${address:$h_From:} to $sender_address. But be aware that non-matching

does
> not mean that it's spam.
>
> --
> Dave Evans
> http://djce.org.uk/
> http://djce.org.uk/pgpkey
> [attachment "signature.asc" deleted by Vitas Burchenkov/Itera] --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/


I have a rule that compares just domain parts of the addresses -
${domain:$h_From:} and ${domain:$sender_address}.
Seems in legal e-mail they are almost always identical - and in this list
too :-)

Regards,

Vitas.From addw@??? Thu Jul 23 14:16:33 2009
Envelope-to: exim-users@???
Received: from boom.graemef.net ([82.113.154.29]:40228)
    by tahini.csx.cam.ac.uk with esmtp (Exim 4.69)
    (envelope-from <addw@???>) id 1MTy9v-00016o-H6
    for exim-users@???; Thu, 23 Jul 2009 14:16:33 +0100
Received: from freshmint.phcomp.co.uk ([213.152.38.186] helo=mint.phcomp.co.uk)
    by boom.graemef.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69)
    (envelope-from <addw@???>) id 1MTuOW-0006WQ-Lv
    for exim-users@???; Thu, 23 Jul 2009 10:15:23 +0100
Received: from addw by mint.phcomp.co.uk with local (Exim 4.63)
    (envelope-from <addw@???>)
    id 1MTuEh-0004ms-Q4; Thu, 23 Jul 2009 10:05:11 +0100
Date: Thu, 23 Jul 2009 10:05:11 +0100
From: Alain Williams <addw@???>
To: Brad <brads@???>
Message-ID: <20090723090511.GH7908@???>
References: <01b701ca0b49$cffa3580$6feea080$@com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <01b701ca0b49$cffa3580$6feea080$@com>
User-Agent: Mutt/1.4.2.2i
Organization: Parliament Hill Computers Ltd
X-Spam-Score: -1.7 (-) 
X-Spam-Status: No, score=-1.7 required=5.0 tests=AWL=-0.188,
    BAYES_00=-1.5 autolearn=no version=3.1.8
Cc: exim-users@???
Subject: Re: [exim] Exim and Yahoo
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: Thu, 23 Jul 2009 13:16:33 -0000


On Wed, Jul 22, 2009 at 11:58:17PM -0400, Brad wrote:
> Is there a way to login a exim user to yahoo account and send and receive
> email on the yahoo?
>
> I am trying fetchmail but having issues.
>
> Ypops for winblows kindof works but Linux version appears to be broken when
> downloaded from the website?
>
> I would like to do this all from the server level anyways.


I think that you need to revise and understand what the components are.

Exim is MTA, it will happily send email to the yahoo MTAs for people with yahoo mailboxes.
If someone with a yahoo account sends mail to someone with mail hosted on your machine,
their MTA will speak to yours (Exim) and transfer the mail.
All these transfers happen using the SMTP protocol.

Fetchmail is used for retrieving mail that has been delivered to a mailbox, it will
do this using the POP3 or IMAP protocols. Once the mail has been retrieved,
fetchmail will invoke exim to deliver it to a local mailbox.

--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
Past chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>