[Dovecot] Using deliver from Getmail?

mouss mlist.only at free.fr
Tue Jan 15 15:02:01 EET 2008


Andreas Ntaflos wrote:
> On Monday 14 January 2008 22:15:48 mouss wrote:
>> Andreas Ntaflos wrote:
>>> On Monday 14 January 2008 18:47:27 Evaggelos Balaskas wrote:
>>>> This is part of my getmailrc
>>>>
>>>> [destination]
>>>> type = MDA_external
>>>> path = /usr/local/libexec/dovecot/deliver
>>>> user = ebal
>>>> group = mail
>>>> arguments = ( '-d', 'ebal' )
>>>>
>>>> i use getmail + dovecot + sieve + spamassassin [filter getmail]
>>>> at all of my accounts.
>>> I can't seem to be too far off with my configuration, but it's just not
>>> working yet. Your user "ebal" is part of the group "mail", I gather?
>> I don't think this matters. he runs deliver as the user who owns the
>> mailbox (see -d argument).
> 
> Does that mean that one, and only one, user may be running deliver manually 
> (or from Getmail) to get his mail? This would make it quite impossible for a 
> server with multiple real system users to use Getmail and deliver mail via 
> Dovecot's LDA, wouldn't it?
> 

it does not mean that. some people use a single uid:gid for their 
mailstore. thus a single user is used to deliver all mail.

Others use different uid:gid for mailboxes. If this is your case, then 
some work is needed. one possibility is suid. check the wiki.

> Or am I not seeing the obvious solution to this problem?


More information about the dovecot mailing list