Mail Scripting Hooks?
September 8, 2005 6:35 PM
Subscribe
Can I hook a script onto the 'Get Mail' button/function in Apple's Mail.app in OS X Tiger?
I run my own IMAP server on a Linux machine in my house. It consolidates mail from POP sources with fetchmail. So I'd really like the 'Get Mail' button to first do 'ssh imap.server fetchmail' before it actually checks for new mail. (The machines are set up so that that ssh command works fine with key-based authentication to awaken the fetchmail daemon).
posted by teece to computers & internet (7 comments total)
I have a similar setup, but I just have fetchmail running periodically (every few minutes) -- any reason why you can't do that?
posted by xil at 6:43 PM on September 8, 2005