postfix-users

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

Subject: postfix+ldap: sending to a list (of users)
From: Marc Cuypers <m.cuypers AT mgvd DOT be>
To: postfix-users AT postfix DOT org
Date: Fri, 10 Aug 2007 10:17:45 +0200
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.

--
Best regards,

Marc


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