postfix-users

Re: postfix+ldap: sending to a list (of users)

Subject: Re: postfix+ldap: sending to a list (of users)
From: postfix <postfix AT ayni DOT com>
To: Marc Cuypers <m.cuypers AT mgvd DOT be>
Date: Fri, 10 Aug 2007 11:11:57 +0200
Wietse, one o'theese days gave us the following hint for a mini-mailing-list:

/etc/aliases:
foo-committee: :include:/some/where/foo-committee-list
owner-foo-committee: maintainer

/etc/foo-committee-list:
joe AT this DOT tld
jane AT that DOT tld

Where "maintainer" is optional. This is the user who fixes problems
with foo-committee mailing list deliveries.

---------------------------
you can "translate" this into an LDAP representation. in our installation, the alias file is repesented by the LDAP qmail-user attribute "mailAlternateAddress". in order to realize a mini-mailing-list, therefore, i create a new LDAP entry with the schema qmail-user, the mail address of which is the mail-list-address, and the mailAlternateAddress attributes are the members of your mail-list.
and off you go.

suomi



Marc Cuypers wrote:
Hi,

I can't find a decent solution for my problem.

Given: I'm using debian (sarge) + postfix 2.1 + openldap

Problem: I want to be able to sent an email to a group by sending an email to a 'special' email-address. This email will then be forwarded, with all members of the group in the 'To:|CC:'-header field. The sender must also receive this email back with all destination addresses in the 'To:|CC:'-header field.

ex: An email address list AT domain DOT xx, members of this list are user1 AT domain1 DOT xx, user2 AT domain2 DOT xx. So an email sent from sender AT domain3 DOT xx to list AT domain DOT xx will result in an email sent to sender AT domain3 DOT xx, user1 AT domain1 DOT xx and user2 AT domain2 DOT xx. If sender AT domain3 DOT xx is a member of the list, the mail may be sent twice to sender AT domain3 DOT xx but it would be better to sent it only once.

What would be the most elegant way to do this?

Thanks for helping me out.


<Prev in Thread] Current Thread [Next in Thread>