[Dovecot] LDA without lookup as non-root?

E.B. emailbuilder88 at yahoo.com
Sun Nov 11 09:53:20 EET 2012


Timo,

Sorry I didn't see your response until now

>>  3) The interesting part -- I am invoking LDA from Maildrop. See:

>>  http://thread.gmane.org/gmane.mail.imap.dovecot/65473 > So
>>  when invoked, Maildrop has already dropped to the destination UID/GID 
>>  and the needed paths are available in the environment.  However, using 
>>  as many permutations of calling LDA as I can think of (based on    
>>  http://wiki2.dovecot.org/LDA ), I always get this:
>> 
>>  (command line usage error. Command output: lda: Fatal: Couldn't lookup 
>> our  username (uid=2500) ) 
>
> Set USER environment. 

Sorry, would you mind being more specific?  If you see my follow-up posts
on this thread, I found a source file with this error message in it (link below)
and reading that code, there is no way to avoid this error for non-system
users (uid's) if you don't use -d.  (looking at the "destination" variable)

http://hg.dovecot.org/dovecot-sieve-1.1/raw-rev/7d85833eff96



More information about the dovecot mailing list