On 11/27/2012 06:45 PM, Thomas Bruederli wrote:
If you created identity for each email address it should be selected accordingly. At least, there's a logic for this, but it depends on message headers and might be not perfect.
While it works for regular replies it probably doesn't for mailing list messages. The current code checks recipient headers (To and Cc) against sender identities but messages from mailing lists usually don't specify you explicitly as recipient. In this case we'd have to consider the Delivered-To: header as well and that's currently not done.
Right. There's actually a logic to get recipient from Return-Path (VERP), but this doesn't work for all mailing lists (it works e.g. with PEAR lists). So, we need Delivered-To support.