I recently have two strange changes in behavior with qmail-ldap.  I'm running 
20041101 under Mandrake Linux.  I was running the same version both before and 
after the changes.

The first one happened with my own email earlier this week.  What I had just 
done that seems to have triggered this was to change from using am-utils to 
autofs to mount directories.  My home directory is defined as 
/net/jupiter.trinsics.com/export/home/cwg, so it's imaginable that it would 
have some impact, but I don't understand why qmail-ldap would change behavior.

Anyway what happened is that suddenly qmail-ldap started ignoring all my 
.qmail-* files except for .qmail itself.  It didn't appear to be doing this 
with any other user, just for me.  I fixed the problem by adding 

        mailAlternateAddress: [EMAIL PROTECTED]

to my ldap object.

Other relevant fields in my ldap object are:

        accountStatus: active
        qmailUID: 200
        mail: [EMAIL PROTECTED]
        qmailGID: 203
        objectClass: qmailUser
        qmailDotMode: dotonly
        homeDirectory: /net/jupiter.trinsics.com/export/home/cwg
        mailAlternateAddress: [EMAIL PROTECTED]

The only other thing that I can imagine being relevant is that my user object 
requires following a redirect to locate.

The other one happened on a server belonging to one of my clients.  It's 
running the same software my server is.  This user had a .qmail file with a 
bunch of filtering lines followed by two lines, one of which forwarded email 
to a remote address and the other delivered to ./Maildir/.  The triggering 
event appears to have been when the user commented out the ./Maildir/ line.

Now, I did also change that server from am-utils to autofs, but I don't 
believe this happened at the same time the behavior changed.  However, I could 
be mistaken on that.

Anyway, the change in behavior in this case was that instead of the mail being
forwarded, it was delivered to the user's ./Maildir/ folder.  It appears 
that the .qmail file was suddenly being ignored.  This user's qmailDotMode 
was undefined.  I set it to "dotonly" and the .qmail file was being read 
again.

Any ideas?

Chris

-- 
Chris Garrigues                         Trinsic Solutions
President                               1611-B West 6th Street
                                        Austin, TX  78703-5074

512-322-0180                            http://www.trinsics.com

                 Would you rather proactively pay for
                uptime or reactively pay for downtime?

                          Trinsic Solutions
                 Your Proactive IT Management Partner

Attachment: pgpjAl6z9s6gC.pgp
Description: PGP signature

Reply via email to