Re: shared mailing groups

[email protected] Thu, 10 Sep 2009 12:19:57 +0100
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
I did look at this some more but wasn't completely satisified with the 
result.

Instead of working out how to get Postfix to resolve the group members by 
reading the database I just created a file system group to see if Postfix 
would solve the duplicate emails issue. 

I needed to create files for each mailing group, contain comma-separated 
email addresses.  Then I added these lines to /etc/aliases :

test-list1:          :include:/var/mailgroups/test1.lst 
test-list2:          :include:/var/mailgroups/test2.lst 

then ran  'postalias /etc/aliases'. 

When mail was addressed to one of those 2 mailing groups, postfix would 
read the list of addresses out of the file system, and send the email 
those addresses.  That bit worked well.  If the list changed on the file 
system, postfix would even use the changed list.

What I wasn't satisfied with was that Postfix would still send duplicate 
emails if an address appears in more than one of the mailing groups for an 
email that was sent to multiple mailing groups.

I think that problem will remain even if Postfix was looking to the OGO 
database to resolve the addresses within a group. 

Bernard

> Adam Tauno Williams 
> 
> 
> On Fri, 2009-07-10 at 21:02 +0100, [email protected]
> > > One way of doing the expansion might be using sieve.  I can see 
> that sieve 
> > > can redirect email to at least one recipient. I will need to see if 
the 
> > > sender remains unchanged in the redirect, and whether or not the 
> > > redirection can be to multiple people.  If either of those don't 
work, 
> > > then sieve is a non-starter.
> > > That would mean OGO writing out sieve scripts, which may be 
completely 
> > > inappropriate. I'm sure others have got better ideas about how 
> this should 
> > > be implemented.
> > Nope, it is easy to hook OGo directly into the MTA.  There is already 
a
> > section in WMOGAG on how to use OGo to verify recipients.  We'd just 
do
> > the reverse.
> 
> Did you ever look into hooking your Postfix into the OGo DB?

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc