Håkon Alstadheim via dovecot skrev den 2025-09-02 23:19:
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
make a smtpd listner in postfix for this, or does fetchmail realy do smtpd to lmtp ?
but lda in fetchmail is intended to be direct to dovecot-lda without needing postfix
/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 } }
thats ok with 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.
i just stopped using fetchmail