Den 02.09.2025 22:44, skrev Benny Pedersen via dovecot:
Kenneth Irving via dovecot skrev den 2025-09-02 22:14:
Probably the simpest solution is to use fetchmail

with lda set in fetchmailrc

Fetchmail will automatically delete on the server after successful local delivery.  I have fetchmail use the socket for dovecot-lmtp like so:

/etc/fetchmailrc: smtphost  /var/spool/postfix/dovecot-lmtp

/etc/dovecot/dovecot.conf (or some included file):

service lmtp {
   process_limit = 512
   unix_listener /var/spool/postfix-local-deliver/dovecot-lmtp {
       group = postfix
       mode = 0660
       user = postfix
   }
}

to deliver locally. Very easy setup in fetchmailrc for several remote mail-accounts allowing to deliver to the corresponding local mail address. This has been working more or less unchanged for 20 years on my box.




_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to