Re: [exim] resolving system group members + mail forward

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tony Finch
Päiväys:  
Vastaanottaja: Steffen Kolbe
Kopio: exim-users
Aihe: Re: [exim] resolving system group members + mail forward
On Mon, 10 Oct 2005, Steffen Kolbe wrote:

> Exim should accept mails for system groups, resolve the group members and
> forward the mail to everybody in this group.
> How can I solve this problem with Exim 4.52 (without mailman)?


I know of a system that does this. They have something like the following
which is cute and evil in about equal measure. I haven't tested it.

system_groups:
    driver = redirect
    local_parts = lsearch;/etc/group
    data = ${extract {-1}{:} {$local_part_data} }


Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}