From: Matthias A. <mat...@gm...> - 2024-04-23 20:34:35
|
Am 09.04.24 um 16:18 schrieb Info: > Greeting all, > > How do I download Selected Remote Folder to Specific Local Folder > > For example: > Remote folder= INBOX.Sent > Local folder = INBOX/Sent > > > #========= fetchmail release =========# > > This is fetchmail release 6.4.37+GSS+NTLM+SDPS+SSL-SSLv2-SSLv3+NLS+KRB5. > Compiled with SSL library 0x30000080 "OpenSSL 3.0.8 7 Feb 2023" > Run-time uses SSL library 0x300000b0 "OpenSSL 3.0.11 19 Sep 2023" > OpenSSL: OPENSSLDIR: "/usr/lib/ssl" > Engines: ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-3" > > > groups fetchmail > fetchmail : nogroup vmail postfix > > > cat /etc/default/fetchmail > START_DAEMON=yes > > > cat /etc/fetchmailrc > # /etc/fetchmailrc for system-wide daemon mode > # This file must be chmod 0600, owner fetchmail > # > set daemon 300 > set postmaster root > set no bouncemail > set no spambounce > set no syslog > set logfile "/var/log/fetchmail.log" > # > ########## mail.domain.com ########## > poll mail.domain.com protocol imap > user us...@do... there with password XXyyXXyy > is us...@do...n here This has set up fetchmail to forward via SMTP, totally ignoring LMTP servers. > keep ssl > norewrite > preconnect "date >> /var/log/fetchmail.log" > > > > #========= my lmtp sockets =========# > > In order do deliver emails from a selected remote folder to a specific > local folder one has to use the MDA parameter. > > How and which MDA? This is outside fetchmail's scope and a mail filtering thing on the receiving end. You may want to consult Dovecot's documentation, dovecot-lda in particular. |