mail aliases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Craig White wrote:
> What I used to do in openldap was use an objectclass
> inetLocalMailRecipient which was defined in the 'misc.schema' and my
> primary usage was to use an attribute inetLocalMailAddress to stuff
> additional addresses as aliases because I struggled with multiple values
> in the mail attribute.

The mail attribute is not multi-valued.


> Obviously I can import the openldap schema that I was using into FDS but
> now I am thinking that it is probably a better idea to re-examine my
> usage.

Why?


> To reduce my questions to basic...
> 
> - is the mail attribute multi-valued? 

No.

> - How do I determine which attributes are multi-valued?

Attributes are multi-valued by default. If you want them to be 
single-valued, you must specify it in the schema:

attributeTypes: (
   1.3.6.1.4.1.300.1.8.1
   NAME 'fooName'
   DESC 'Foo Name'
   SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
   SINGLE-VALUE
   )

> - Is there an attribute better used for mail aliases?

That depends on the usage. If you are setting up an MTA to do deliveries 
based on LDAP queries, then the MTA might use multiple attributes.

Qmail-LDAP reads "mail" first, and then "mailAlternateAddress" (which is 
multi-valued) second. So, with Qmail-LDAP, a user's main address is 
assigned to mail and all subsequent addresses are assigned to 
mailAlternateAddress.

See the following schema for examples:

http://www.bayour.com/openldap/schemas/qmail.schema


--
mike




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux