Hugo Monteiro wrote:
Hello all,

Something very puzzling is happening with a new install i'm working on. I believe i have replicated configurations from previous installs and never the less i'm not getting the same results.

I whish to activate maildrop delivery for absolutely every user in the system so, and similarly like i've done times before, instead of defining the deliveryProgramPath, qmailDotMode and deliveryMode ldap attributes for every user, i've chosen to define ~/control/defaultdelivery (set to |/var/qmail/bin/preline /usr/bin/maildrop) so that the default delivery preformed by qmail-local is made by maildrop.

I can see qmail-lspawn running with the appropriate parameters, which are the content of the ~/control/defaultdelivery file, but qmail still delivers using qmail-local without using maildrop, as seen in the debug logs;

@4000000045ca12240ea4fc3c delivery 1: log: QMAILDOTMODE:_both/
@4000000045ca12240ea513ac delivery 1: log: executing_'qmail-local_--_hmmm_/home/agentes/[EMAIL PROTECTED]/home/agentes/15093/Maildir/'_under_uid=15093,_gid=1000/
@4000000045ca1224104f413c delivery 1: success: did_1+0+0/


I've tested the maildrop part by specifying all the needed attributes in an ldap user entry and it works, but then it simply disregards maildrop if i return to the config wish.

Shouldn't the specification of a different MDA in defaultdelivery be enough to garantee that it will be used for local delivery by qmail-local? The strange thing is that i have this working elsewhere...


Can anyone suggest a possible problem to what's happening ?


Regards,

Hugo Monteiro.


Note: I have maildrop logging, so i'm positive when it's running or not.


After some debugging, i came to the conclusion that there was a small difference between setups. Not the server setup per se, but the ldap backend. In the later install, my users had set the mailMessageStore attribute, which is nothing more than an overwrite to the parameter to be passed onto qmail-local by qmail-lspawn. After i removed that entry, my qmail-ldap instalation started to respect again the default parameters for qmail-local, as set in ~qmail/control/defaultdelivery.

Bottom line, if you wish to use some kind of server side filtering or anything else that would required specifying a different MDA, with qmail-ldap you have two choices. Either play with deliveryProgramPath, qmailDotMode and deliveryMode in each users entry, or you can set it up system wide by specifying a different defaultdelivery mode and ldapdefaultdotemode. If the choice is the later, remember that ldap attributes, such as the mentioned above, have precedence over the established values in the control files.

Cheers and thanks for putting up with my "loud talking".  =)

Hugo Monteiro.


--
ci.fct.unl.pt:~# cat .signature

Hugo Monteiro
Email    : [EMAIL PROTECTED]
Telefone : +351 212948300 Ext.15307

Centro de Informática
Faculdade de Ciências e Tecnologia da
                   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.ci.fct.unl.pt             [EMAIL PROTECTED]

ci.fct.unl.pt:~# _

  • maildrop issue Hugo Monteiro
    • Re: maildrop issue [SOLVED] Hugo Monteiro

Reply via email to