On 13.03.2015 14:42, Janos SUTO wrote: > > On 2015-03-13 14:10, Frederik Wagner wrote: >> Hi Janos, >> >> On 13.03.2015 13:55, Janos SUTO wrote: >>> >>> Hello Frederik, >>> >>> On 2015-03-13 13:29, Frederik Wagner wrote: >>>> >>>> I'm wondering how to search archived mails which are send to >>>> mailinglists. >>>> >>>> Looking with a global auditors account through the mails (empty search >>>> queries), I see all mails to mailing lists. >>>> Here an icon next to mailing lists address in the 'To' column >>>> indicates >>>> that there are multiple recipients. Hovering over the icon correctly >>>> resolves into all mailing list members. >>>> >>>> My problem: >>>> 1. when filtering 'to: mailinglistmember@domain' the mails to the >>>> mailing lists are not shown. >>>> >>>> 2. logging into piler as a mailing list member, I cannot see the >>>> mailing list mails at all. >>>> >>>> >>>> Why are theses mails not available to all the members? >>> >>> I think members' addresses are not present in the email itself, and >>> the gui is unaware of that this specific email actually belongs to >>> a group of users. >> >> So you mean, that the "To:" field is only filled by the mailing lists >> name (which is the case) and the members are only resolved into the >> Envelope? > > yes > >> So why is they gui able to resolve all the members in 'Icon Hoover' but >> not actually in the search? > > exactly. That's why I asked what mail server you have, because your mta > may insert the envelope recipient to the mail header. Eg. postfix can do > that, see below. > >>> The solution depends on what mail server you have, and if it's >>> an internal mailing list or external mailing list, eg. piler-user@ >> >> Postfix+Mailman. Delivery to local Mailinglists. > > Try what the docs says (http://www.mailpiler.org/en/installation.html): > > /etc/postfix/main.cf: > > smtpd_recipient_restrictions = reject_non_fqdn_recipient, ..., \ > check_recipient_access > pcre:$config_directory/x-add-envelope-to, ... > > > /etc/postfix/x-add-envelope-to: > > /(.*)/ prepend X-Envelope-To: $1 >
Ah thanks, I didn't see this part in the docs ;-) > > By default this extra header is processed by the piler parser. Hmm, if I understand it right, X-Envelope-To should contain the list member, right? I just configured it into the system and it looks like it resolves to the mailaddress of the mailing list instead. Is this header injected at the wrong place? Is the extra 'amavis-loop' a problem? Thanks a lot, Frederik
