courier-imap triggering fetchmail
am 14.09.2006 12:03:44 von Paul Cager
I use fetchmail to collect e-mail from a number of POP3 mailservers, and
then place it in my Maildir (via Postfix). I use courier-imap to
serve the mail up to my mail viewer (Thunderbird).
fetchmail is called regularly in a cron job, but I would like to somehow
automate the calls to fetchmail, i.e.
Click "refresh" on Thunderbird -> request sent to IMAP server ->
courier-imap calls fetchmail.
Is there any way to do this? I would have expected it to be a common
goal, but I cannot find anything on the courier-mta website, or in Google.
I'm aware of the Maildir/loginexec hook, but this is only executed when
you first attach to the imap server (and logins don't seem seem to
happen if I restart Thunderbird??)
Thanks.
Re: courier-imap triggering fetchmail
am 14.09.2006 13:07:19 von Sam
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--=_mimegpg-commodore.email-scan.com-32619-1158232038-0002
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Paul Cager writes:
> I use fetchmail to collect e-mail from a number of POP3 mailservers, and
> then place it in my Maildir (via Postfix). I use courier-imap to
> serve the mail up to my mail viewer (Thunderbird).
>
> fetchmail is called regularly in a cron job, but I would like to somehow
> automate the calls to fetchmail, i.e.
>
> Click "refresh" on Thunderbird -> request sent to IMAP server ->
> courier-imap calls fetchmail.
>
> Is there any way to do this?
Sure. You have the source code. You can hack it any way you want.
> I would have expected it to be a common
> goal, but I cannot find anything on the courier-mta website, or in Google.
Then it must not be such a common goal after all.
--=_mimegpg-commodore.email-scan.com-32619-1158232038-0002
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQBFCTfmx9p3GYHlUOIRAugWAJ4x7z0ltQclvdDq0Kzgn0G1K4cBJACc Ci/S
BYhE761Rwha50jm04sN5sxc=
=9nEJ
-----END PGP SIGNATURE-----
--=_mimegpg-commodore.email-scan.com-32619-1158232038-0002--
Re: courier-imap triggering fetchmail
am 14.09.2006 22:49:18 von Alan Clifford
On Thu, 14 Sep 2006, Paul Cager wrote:
PC> I use fetchmail to collect e-mail from a number of POP3 mailservers, and
PC> then place it in my Maildir (via Postfix). I use courier-imap to
PC> serve the mail up to my mail viewer (Thunderbird).
PC>
PC> fetchmail is called regularly in a cron job, but I would like to somehow
PC> automate the calls to fetchmail, i.e.
PC>
PC> Click "refresh" on Thunderbird -> request sent to IMAP server ->
PC> courier-imap calls fetchmail.
PC>
That's not automated, that's manual. So if you want to click on
something, why not click on an icon on your desktop that runs fetchmail.
On the other hand, you could automatically download mail every, say, 5
minutes with fetchmail. Is that not frequent enough?
--
Alan
( If replying by mail, please note that all "sardines" are canned.
There is also a password autoresponder but, unless this a very
old message, a "tuna" will swim right through. )