Hi,
Am 2014-08-26 16:48, schrieb Gregory Finch:
I don't think that LMTP/LDA use passdb. I'm pretty sure that they use userdb only.
The delivery agents just need to lookup if the recipient exists and where to store the mail.
OK, good point. Now I tried to disable LMTP for one user by means of a special userdb that would return 'return-fail' when it finds a user. I figured then LMTP would reject the message. Not so much though ... this is the special userdb I am using. The default fields are there to keep error messages in logs low.
userdb { driver = passwd-file args = /etc/dovecot/deny/%s/deny-user default_fields = uid=vmail gid=vmail home=/tmp/%Ln
result_success = return-fail }
Attached you find the config I tested.
Cheers,
J.Hofmüller
Im Übrigen bin ich der Meinung, das Joanneum muss zerschlagen werden! - Barbara Fischer