Disable Dovecot LDA

Adam Raszkiewicz araszkiewicz at medallies.com
Thu Apr 2 16:18:14 EEST 2020


Desired flow looks like:

Dovecot ---------------------> Postfix --> Relay Server -┐
Dovecot <-- LMTP/LDA <-- Postfix <---------------------┘

Top part of that flow works fine - a message will get to the relay server and it will be send back to the postfix for a local delivery but then
it will start to loop back to the relay server instead hand over to LMTP/LDA. 

For some reason Postfix  doesn't know that abcd at localdomain.com is located on Dovecot and it will try to send it back to the relay server.
I have the same problem explained here: https://serverfault.com/questions/1010325/postfix-via-relay-server-and-lmtp-configuration-for-incoming-delivery-to-local-m

Thanks for any help!
~Adam

On 4/1/20, 6:45 PM, "dovecot on behalf of Dauser Martin Johannes" <dovecot-bounces at dovecot.org on behalf of mdauser at cs.sbg.ac.at> wrote:

    On Dienstag, 31. März 2020 21:14:26 CEST Adam Raszkiewicz wrote:
    > But then it loops again when get back to the postfix as an incoming message
    > (doesn't know that abcd at localdomain.com is located on that Dovecot)
    +
    > Is there any way to disable Dovecot LDA? I want to always send email via 
    > postfix and relay server even it will be a local delivery within the Dovecot
    > server
    >
    >Thanks,
    >Adam
    
    Why should a disabled LDA or a relayhost help in this matter? Honestly, who is 
    sending what to where anyway? 
    
    I mean Dovecot is an IMAP-Server: It receives emails from Postfix and 
    mailclients connect to Dovecot to get these mails. When a mailclient sends an 
    email it connects to Postfix not to Dovecot, so a delivery "within Dovecot" 
    isn't really happening. Dovecot's LDA has options to send (bounce) mails back 
    to Postfix. I guess loops occur there?
    
    WHO doesn't know that abcd at localdomain.com is located on Dovecot -- Dovecot 
    itself (= unknown recipient or perhaps permission problems while saving the 
    mail) or Postfix (= no transport to Dovecot)? 
    
    Martin
    
    
    
    
    
    



More information about the dovecot mailing list