Fetchmail also supports not deleting the emails from the remote mailserver (-k | --keep).
On 02/09/2025 22:19, Haakon Alstadheim via dovecot wrote: 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 -- [1]dovecot@dovecot.org To unsubscribe send an email to [2]dovecot-le...@dovecot.org References Visible links 1. mailto:dovecot@dovecot.org 2. mailto:dovecot-le...@dovecot.org
_______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org