Re: selected remote folder to a specific local folder

Matthias Andree via Fetchmail-users <[email protected]> Tue, 23 Apr 2024 22:34:21 +0200
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
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 [email protected] there with password XXyyXXyy
>         is [email protected] 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.



_______________________________________________
Fetchmail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fetchmail-users