Hello Malcolm,

>I'd go with a small perl script hooked into syslog.  The script would mostly
>just print all it's input, but when it sees the LOGIN message, it also
>triggers the fetchmail.

wouldn't help. The client (thunderbird) only does a login once, not for
each poll. And for the login I can use "loginexec" which is much less
trouble then messing with the syslog.


>Alternatively, you could create a more complex scheme that looks at the
>timestamps on the Maildir entries, but that would be much more complex since
>it would have to ignore artifacts of itself.

Sounds like a good idea, if I can't use propper hooks.


>Other options: a "special" Maildir directory for which a modification to a
>file would trigger the fetchmail, so just copy any old message to it and the
>fetch would occur.
>
>Or a special address on the server (e.g. "fetchmail-userid") which would
>trigger a fetch if you send anything to it (using maildrop).

Too cumbersome and dangerous. If I accidently move the mail instead of
copying, it would be lost ...

A web interface to trigger fetchmail would be still klutzy but cleaner.


Regards,
Norbert




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to