[Dovecot] Using deliver from Getmail?

mouss mlist.only at free.fr
Mon Jan 14 23:18:19 EET 2008


Andreas Ntaflos wrote:
> Hello list, 
> 
> a quick question: can I use Dovecot's LDA "deliver" as a destination in 
> Getmail? I.e.:
> 
> [destination]
> type = MDA_external
> path = /usr/local/libexec/dovecot/deliver
> arguments = ("-d", "username",)
> 
> Or is deliver not supposed to be called this way? 
> 
> What I'd like to do is use deliver in the same way I would have used procmail 
> ages ago. Getmail retrieves the mail messages, filters them according to the 
> filter sections set up and then puts them in the final destination as noted 
> above.
> 
> Of course I would like to have deliver honour my .dovecot.sieve sieve script. 
> My first tries have not been very successful, all messages retrieved in this 
> way are put in the top level INBOX, not being sieved. 
> 
> I also got this error message, but I am not sure how it is related:
> 
> Jan 14 16:08:04 localhost deliver(username): 
> net_connect(/usr/local/var/run/dovecot/auth-master) failed: Permission denied
> 
> Does my user need any special permissions to use the LDA?
> 

it needs access to the auth-master socket. you can specify the
ownership/permissions of this in dovecot.conf.

> TIA!
> 
> Andreas
> 
> P.S.: Using Dovecot 1.0.5 with the Sieve plugin. I can post the output of 
> dovecot -n but I don't think it's necessary?



More information about the dovecot mailing list