[Dovecot] Postfix user map

Robert Schetterer robert at schetterer.org
Mon Jan 9 17:37:32 EET 2012


Am 09.01.2012 16:32, schrieb Noel:
> On 1/9/2012 8:43 AM, Timo Sirainen wrote:
>> http://hg.dovecot.org/dovecot-2.1/rev/f562bcaca215 implements
>> "postmap" type sockets, which follow Postfix's tcp_table(5)
>> protocol. So you can ask:
>>
>> get user at domain
>>
>> and Dovecot answers one of:
>>
>>  - 200 1
>>  - 500 User not found
>>  - 400 Internal failure
>>
>> So you can use this with Postfix:
>>
>> virtual_mailbox_maps = tcp:127.0.0.1:1234
>>
>> With Dovecot you can enable it with:
>>
>> service auth {
>>   inet_listener postmap {
>>     listen = 127.0.0.1
>>     port = 1234
>>   }
>> }
>>
>> Anyone have ideas if this could be improved, or used for some
>> other purposes?
> 
> 
> Cool.
> Does this just check for valid user existence, or can it also check
> for over-quota (and respond 500 overquota I suppose)?

if you use dove lmtp with postfix it allready works "like that way"
for over quota
> 
> 
>   -- Noel Jones


-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria



More information about the dovecot mailing list