fre, 2002-09-27 kl. 21:22 skrev Tony Earnshaw: > > could someone please tell > > me what I'm doing wrong? > This all works for me with Exim 4.10 smtp MTA. System mail aliases, user > mail boxes, virtual mail domains, the Lachman-Laser draft, client mail > authentication and more are all Openldap based. > Perhaps you are using the wrong mail server? Hmmm ... Sorry Bill, I can see that this was less than helpful. I can tell you how I organize my ldap aliases. However, how your mail server makes use of them is up to you. I can help you with Exim, but not Qmail, Postfix or Sendmail. ___________ 1: As Adam says, nisMailAlias OID 1.3.6.1.4.1.42.2.27.1.2.5 is already defined in nis.schema. Same schema: rfc822MailMember 1.3.6.1.4.1.42.2.27.2.1.15 is an allowed attribute, required attribut is cn. So, don't include rfc822-MailMember.schema in slapd.conf. 2: Make a group, call it happygroup: cn=happygroup,ou=Aliases,dc=emtex,dc=com give it an extra cn, say cn=happygroup@emtex.com put your aliases (any mail alias you want) into it as follows: rfc822MailMember: postmaster@emtex.com rfc822MailMember: jogdial@emtex.com rfc822MailMember: billd@anotherdomain.com etc. So that your ldif file looks like: dn: happygroup,ou=Aliases,dc=emtex,dc=com objectClass: top objectClass: nisMailAlias structuralObjectClass: nisMailAlias rfc822MailMember: postmaster rfc822MailMember: jogdial rfc822MailMember: billd@anotherdomain.com rfc822MailMember: fred@yetanotherdomain.net rfc822MailMember: fred rfc822MailMember: joe rfc822MailMember: sue cn: happygroup@emtex.com That's the kind of thing I have for my group aliases. For my system aliases I use Lachman-laser: dn: cn=mailer-daemon,ou=Aliases,dc=mainserver,dc=emtex,dc=com objectClass: top objectClass: person objectClass: inetLocalMailRecipient sn: mailer-daemon cn: mailer-daemon structuralObjectClass: person mailHost: localhost mailLocalAddress: bin@mainserver.emtex.com mailLocalAddress: daemon@mainserver.emtex.com mailLocalAddress: adm@mainserver.emtex.com mailLocalAddress: admin@mainserver.emtex.com mailLocalAddress: lp@mainserver.emtex.com mailLocalAddress: sync@mainserver.emtex.com mailLocalAddress: shutdown@mainserver.emtex.com mailLocalAddress: halt@mainserver.emtex.com mailLocalAddress: mail@mainserver.emtex.com mailLocalAddress: news@mainserver.emtex.com mailLocalAddress: uucp@mainserver.emtex.com mailLocalAddress: operator@mainserver.emtex.com mailLocalAddress: root@mainserver.emtex.com +++ etc etc. +++ mailhost: localhost mailRoutingAddress: billd@emtex.com ----------- Hope this helps, Tony -- Tony Earnshaw "Growing old" is compulsory, "growing up" is optional. e-post: tonni@billy.demon.nl www: http://www.billy.demon.nl gpg public key: http://www.billy.demon.nl/tonni.armor Telefoon: (+31) (0)172 530428 Mobiel: (+31) (0)6 51153356 GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981 3BE7B981
Attachment:
signature.asc
Description: Dette er en digitalt signert meldingsdel