Nelson, [EMAIL PROTECTED] wrote: > Parameter: possible values > accountStatus: active, nopop, disabled, deleted > qmailDotMode: both, dotonly, ldaponly, ldapwithprog, none > qmailAccountPurge: it is a date ? How is the format ? empty value is a > option ? > mailForwardingAddress: empty or not
General: see http://www.nrg4u.com/qmail/QLDAPINSTALL^ (Search for Chapter 'DEFAULT LDAP PARAMETER FIELDS') It's not a how-to, but with some text comprehension skills it usually tells what I want to know :-) As far as I've tested, by the time you set the Attribute 'mailForwardingAddress' it gets used; that is, if deliveryMode is 'normal', mail is stored locally /and /forwarded. You need deliveryMode 'forwardonly' and a valid mailForwardingAddress content to avoid local delivery. > deliveryProgramPath: empty or not > deliveryMode: normal, forwardonly, nombox, localdelivery, reply, echo See above. 'Reply' is quite interesting for 'Out-Of-Office' auto replies. Use in conjunction with Attrib 'mailReplyText'. Don't use 'echo'. > > thereis any more parameter that have influence over how > to deliver an incomming e-mail ? > > I am confused on how values put on above parameters to: > > -> normal mode: mail arrives at queue and delivered to > user mailbox ( Maildir Path ); > > -> forward with copy to mailbox: mail arrives at queue and deliver a > forward to e-email(s) address(es) outside server hosted domain; and > deliver to user mailbox ( Maildir ); > > -> only forward: mail arrives at queue and this is redirected to e-mail(s) > address(es) outside this server domain; without copy to local user > address mailbox ( Maildir ); > > -> alias(es) to existent e-mail address: there is a user address with > mailbox; but I need to replicate to other users on same server > domain; Or I need to redirect an old address to a new one ; Just use multiple 'mail' Attribs together with 'mailForwardingAddress=DestinationUserEMailAddress' and 'deliveryMode=forwardonly' (You could as well use 'mailAlternateAddress' instead of 'mail', but I wouldn't recommend to since that doesn't get queried by usual clients (Mozilla...).) > > -> alias(es) to non-existent e-mail address: an email address without > mailbox, that is redirected to local server or not, real users; > > -> It is possible to make a forward with copy and deliver to a program too > ? > > -> It is possible to deactivate the user to access the account, and > maintain his account receiving e-mail normally ? (pop3/imap) Qmail-ldap's flag should by 'accountStatus', but the LDAP Query doesn't really care, as I just found... User access to Mail depends upon your MDA... what are you using? If it's courier, use something like LDAP_FILTER (objectClass=qmailuser)(accountStatus=active) or LDAP_FILTER (objectClass=qmailuser)(ou='This is my own flag to allow/restrict user access to Mail') in your 'authldaprc'. > I cant use .qmail files because I use diferent "mailHost" for these users. > normally these all can be done in .qmail files, but in qmail-ldap > how to do ? A common reason to use Qmail-ldap is to avoid .qmail mess in qmail/aliases. Do it all in LDAP?! Max
