Re: [389-users] Need suggestions for email aliases in ldap

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

 



On 01/18/2012 04:24 PM, Arpit Tolani wrote:


    I'm looking for suggestions on storing email aliases in ldap.  It seems that
    sendmail has one schema and postfix a different one.  389 doesn't appear to
    support either out of the box.  Are there any standardization efforts out
    there?

    Thanks!


Try like below

dn: sendmailMTAKey=testuser,dc=example,dc=com
objectClass: sendmailMTA
objectClass: sendmailMTAAlias
objectClass: sendmailMTAAliasObject
sendmailMTAAliasGrouping: aliases
sendmailMTACluster: ldapter-cluster

sendmailMTAKey: testuser
sendmailMTAKey: tuser
sendmailMTAKey: testu
sendmailMTAKey: test.user
sendmailMTAKey: test_user
sendmailMTAAliasValue:test_user@xxxxxxxxxxx  <mailto:test_user@xxxxxxxxxxx>

sendmailMTAAliasValue: user.tes

replace the cluster name with the one you have mentioned insendmail.mc  <http://sendmail.mc>  file


Once the above entries are added to ldap server, please test using sendmail -bv command and see whether it returns the correct results or not.

Add the server address and basedn to /etc/openldap/ldap.conf file.

schemas that have application specific names in them (sendmailMTA*) make me shiver. Seems to defeat the purpose of a directory server.


I'm leaning towards using mailGroup as it does seem to be in 389 (though I needed to make some changes there due to trying to implement ldap routing as well) and as the postfix howto mentions it seems usable there too. With sendmail one does:

define(`ALIAS_FILE', `ldap:-k (&(objectClass=mailGroup)(mail=%0)) -v mgrpRFC822MailMember')


Now if I can only figure out how to use /etc/aliases + ldap in sendmail, if possible.


--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                  orion@xxxxxxxxxxxxx
Boulder, CO 80301              http://www.cora.nwra.com
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users



[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