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) <https://img.newoldstamp.com/r/292975/p> Adam Raszkiewicz p: 845.896.0191 e: araszkiewicz at medallies.com w: www.medallies.com <http://www.medallies.com/main.html> <https://img.newoldstamp.com/r/292975/twitter> <https://img.newoldstamp.com/r/292975/linkedin> <https://img.newoldstamp.com/r/292975/instagram> <https://img.newoldstamp.com/r/292975/b> This communication and any files or attachments transmitted with it may contain information that is confidential, privileged and exempt from disclosure under applicable law. It is intended solely for the use of the individual or the entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any use, dissemination, or copying of this communication is strictly prohibited by federal law. If you have received this communication in error, please destroy it and notify the sender. ?On 3/31/20, 1:45 PM, "dovecot on behalf of Aki Tuomi" <dovecot-bounces at dovecot.org on behalf of aki.tuomi at open-xchange.com> wrote: > On 31/03/2020 19:35 Adam Raszkiewicz <araszkiewicz at medallies.com> wrote: > > > > Hi, > > > 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 > Dovecot LDA is fully optional. Just don't use it in postfix configuration Aki > > Thanks, > > Adam
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, >AdamWhy 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
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