Hi!
I have a question to Mr. Sam.

Suppose that I'd implement support for dynamic mail aliases in ldapaliasd, what chance would that have of being checked in?
What requirements would a patch have to meet (e.g. comments/code ratio, indenting style etc.)?


I'm thinking of adding code in ldapaliasd that would support dynamic mail aliases similar to e.g. those in Netscape Messaging Server.

In addition to searching for only objects of class CourierMailAlias, ldapaliasd would then search for CourierDynamicMailAlias. This objectclass would have a schema similar to this:

attributetype ( 2.16.840.1.113730.3.1.198 NAME 'memberURL'
       DESC 'URL for looking up members'
       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)

objectclass ( 1.3.6.1.4.1.10018.1.2.4 NAME 'CourierDynamicMailAlias' SUP top AUXILIARY
DESC 'Dynamic mail aliasing/forwarding entry'
MUST ( mail $ memberURL )
MAY ( mailsource $ description $ cn) )


And the URL would be formatted according to RFC2255 (<http://www.faqs.org/rfcs/rfc2255.html>), e.g:

ldap:///dc=example,dc=com,o=Company??sub?(ou=marketing)
or:
ldap://other.ldap.host/dc=example,dc=com,o=Company?mail,maildrop,memberURL?sub?(ou=marketing)

The query by that URL should locate member entries, which could have objectclass CourierMailAccount, CourierMailAlias or CourierDomainAlias and return proper attributes (mail, maildrop, memberURL). It would then iterate over those entries and send mail to them (by requeueing it? how to avoid circular references and infinite delivery loops?).


What do you think of that?


--
Aleksander Adamowski
Jabber JID (to nie e-mail!): [EMAIL PROTECTED]
GG#: 274614
ICQ UIN: 19780575 http://olo.office.altkom.com.pl





------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to