Re: [Evolution] Determining the account used for sending mail



On Tue, 2002-07-30 at 11:06, Dan Winship wrote:

1) Search the Recipient list for an address in your accounts
    (this should fail on a mailing list, so ...)
2) Use X-Evolution-Source.
3) Barring Neither working for some reason, use default account.

So you'd think, but that's basically how it was supposed to work in
1.0.x and he's saying it didn't really... I suspect something is messing
up so that it doesn't recognize the X-Evolution-Source header and step 2
fails.

That's my take, as well, and I'm using the latest 1.1 snapshot,
downloaded yesterday. 

How about scanning the "Received from" delivery chain from source to
destination first, then looking in recipients, and finally at the
X-Evolution-Source header?

I'm attaching your message as I received it below so you can check out
the headers. For some reason, evo picked my "shiva sewingwitch com"
(default) account when I selected "reply to list". Both accounts are
POP3.
From evolution-admin ximian com Tue Jul 30 11:19:27 2002
Return-Path: <evolution-admin ximian com>
Received: from smtp.well.com (smtp.well.com [206.14.209.7]) by
        mail.well.com (8.12.4/8.12.4) with ESMTP id g6UIJRri019907; Tue, 30 Jul
        2002 11:19:27 -0700 (PDT)
Received: from trna.ximian.com (trna.ximian.com [141.154.95.22]) by
        smtp.well.com (8.12.4/8.12.4) with ESMTP id g6UIJPeR019405; Tue, 30 Jul
        2002 11:19:26 -0700 (PDT)
Received: from trna.ximian.com (localhost [127.0.0.1]) by trna.ximian.com
        (8.11.6/8.11.6) with ESMTP id g6UI4M301437; Tue, 30 Jul 2002 14:04:22 -0400
Received: from peabody.ximian.com (peabody.ximian.com [141.154.95.10]) by
        trna.ximian.com (8.11.6/8.11.6) with ESMTP id g6UI4F301410 for
        <evolution ximian com>; Tue, 30 Jul 2002 14:04:15 -0400
Received: (qmail 18489 invoked from network); 30 Jul 2002 18:05:04 -0000
Received: from dmz.ximian.com (HELO twelve-monkeys.boston.ximian.com)
        (141.154.95.1) by peabody.ximian.com with SMTP; 30 Jul 2002 18:05:04 -0000
Subject: Re: [Evolution] Determining the account used for sending mail
From: Dan Winship <danw ximian com>
To: Ryan P Skadberg <skadz mindstorm com>
Cc: Evolution mailing list <evolution ximian com>
In-Reply-To: <1028051429 5304 7 camel codewarrior stigmata org>
References: <1027947076 1608 30 camel gaspode localnet>
         <1027965466 1891 4 camel tazmanian-devil boston ximian com>
         <1028041228 32331 2 camel 10-0-0-241 boston ximian com>
         <1028043246 22879 16 camel twelve-monkeys boston ximian com>
         <1028045676 21993 4 camel kempalaptop>
         <1028051429 5304 7 camel codewarrior stigmata org>
Content-Type: text/plain
Organization: 
Message-Id: <1028052404 7528 26 camel twelve-monkeys boston ximian com>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.1.0.99 (Preview Release)
Date: 30 Jul 2002 14:06:44 -0400
Sender: evolution-admin ximian com
Errors-To: evolution-admin ximian com
X-Mailman-Version: 1.1
Precedence: bulk
List-Id: Evolution users mailing list. <evolution.ximian.com>
X-BeenThere: evolution ximian com
X-Spam-Status: No, hits=-3.4 required=5.0 tests=IN_REP_TO version=2.31
X-Spam-Level: 
X-UIDL: 6e606d9da08bc0224d57a275aeeebc58
X-Evolution-Source: pop://shiva pop well com/inbox
Content-Transfer-Encoding: 8bit

On Tue, 2002-07-30 at 13:50, Ryan P Skadberg wrote:
Ahhhhhhhhhhhhhhhhh  now I get this.

So, basically, you have 2 IMAP accounts

He was actually talking about 2 POP accounts, but it should work
basically the same.

Ok!  Then, the best way for this to work is:

1) Search the Recipient list for an address in your accounts
    (this should fail on a mailing list, so ...)
2) Use X-Evolution-Source.
3) Barring Neither working for some reason, use default account.

So you'd think, but that's basically how it was supposed to work in
1.0.x and he's saying it didn't really... I suspect something is messing
up so that it doesn't recognize the X-Evolution-Source header and step 2
fails.

-- Dan


_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]