New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select identity automagically for response to a mailing list #160

Closed
Mimoza opened this Issue May 12, 2014 · 3 comments

Comments

2 participants
@Mimoza

Mimoza commented May 12, 2014

Hi,
It will be greate if, when you write a response for a mailing list, the identities will be automagically selected depends on "Delivered-To" field. Actualy for a normal correspondance (email to email) it's work perfectly, but between email an mailing list it dosn't work and select the principal alias

@Mimoza Mimoza changed the title from Select identity automagically for response to Select identity automagically for response to a mailing list May 23, 2014

@RainLoop RainLoop closed this in 2f07443 May 23, 2014

@Mimoza

This comment has been minimized.

Mimoza commented May 26, 2014

Hi,
I make a mistake (again), finally the field "Delivered-To" don't contains the alias, it is into the «Recieved» field. Below an exemple :

Return-Path: listmaster@HostDomain.com
Delivered-To: MyPrincipalAccount@MyDomain.com
Received: from mx1.HostDomain.net (mail.HostDomain.net [XXX.XXX.XXX.XXX])
by mail.MyDomain.com (Postfix) with ESMTPS id A3XXXXXC
for MyAlias@MyOtherDomain.com; Fri, 23 May 2014 22:31:47 +0200 (CEST)
Received: from listengine (helo=HostDomain.com)
by mx1.HostDomain.net with local-bsmtp (Exim 4.72)
(envelope-from listMaster@HostDomain.com)
id 1XXX1-00XXXT-Xz
for MyAlias@MyOtherDomain.com; Fri, 23 May 2014 22:31:45 +0200
Received: from xxx.correspondentDomain.org ([XXX.XXX.XXX.XXX] helo=correspondentDomain.org) by
mx1.HostDomain.net with esmtp (Exim 4.72) (envelope-from
originateEmail@correspondentDomain.org) id 1XXXy-00XXXG-XY for MLadress@DomainML.com;
Fri, 23 May 2014 22:31:42 +0200
Received: from localhost (localhost.localdomain [127.0.0.1]) by
xxx.correspondentDomain.org (Postfix) with ESMTP id XXXXXXA for
MLadress@DomainML.com; Fri, 23 May 2014 22:31:41 +0200 (CEST)
Received: from [XXX.XXX.XXX.XXX](mflXXX-XXX-XXX-XXX-XXX-XXX.XXX.XXX.net
[XXX.XXX.XXX.XXX]) by xxx.correspondentDomain.org (Postfix) with ESMTPSA id 2XXX5
for MLadress@DomainML.com; Fri, 23 May 2014 22:31:40 +0200 (CEST)
Message-ID: XXX.XXX@correspondentDomain.org
Date: Fri, 23 May 2014 22:29:51 +0200
From: correspondentEmail@correspondentDomain.org

As we can see on the fith line :
for MyAlias@MyOtherDomain.com; Fri, 23 May 2014 22:31:47 +0200 (CEST)
juste after the «for» we can found the alias that i want to reply.

@RainLoop

This comment has been minimized.

Owner

RainLoop commented May 27, 2014

I think that parsing of Received header is a bad idea.

@Mimoza

This comment has been minimized.

Mimoza commented May 27, 2014

It's up to you.
Thanx for your work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment