I'm using fetchmail to grab mail for multiple accounts from an external IMAP server and drop it into local mailboxes via SMTP. It polls the remote server every two minutes. Can Dovecot replace this functionality more elegantly, using IDLE to avoid the polling necessary with fetchmail? I'd like to designate that mail for specific accounts on the external server be moved to specific local mailboxes. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Am 2017-07-13 um 09:34 schrieb Kenneth Porter:> I'm using fetchmail to grab mail for multiple accounts from an external > IMAP server and drop it into local mailboxes via SMTP. It polls the > remote server every two minutes. Can Dovecot replace this functionality > more elegantly, using IDLE to avoid the polling necessary with > fetchmail? I'd like to designate that mail for specific accounts on the > external server be moved to specific local mailboxes.Just in case: fetchmail can /idle/ on an IMAP server as well, though with multiple accounts that needs some tuning, see eg. https://bugs.launchpad.net/bugs/1021699 or http://fnxweb.com/blog/2012/07/14/using-multiple-fetchmail-instances-for-instant-gratification/ -- peter
Peter Chiochetti <pch at myzel.net> wrote:> Am 2017-07-13 um 09:34 schrieb Kenneth Porter: >> I'm using fetchmail to grab mail for multiple accounts from an >> external IMAP server and drop it into local mailboxes via SMTP. It >> polls the remote server every two minutes. Can Dovecot replace this >> functionality more elegantly, using IDLE to avoid the polling >> necessary with fetchmail? I'd like to designate that mail for >> specific accounts on the external server be moved to specific local >> mailboxes. > > Just in case: fetchmail can /idle/ on an IMAP server as well, though > with multiple accounts that needs some tuning, see > eg. https://bugs.launchpad.net/bugs/1021699 or > http://fnxweb.com/blog/2012/07/14/using-multiple-fetchmail-instances-for-instant-gratification/fetchmail 6.3.4 supports option for pid-file location. It simplifies the configuration. -- A. Filip