zsh-users
 help / color / mirror / code / Atom feed
* 2nd mail question :)
@ 2001-06-27  3:34 Jörg Ziefle
  2001-06-27  7:28 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Jörg Ziefle @ 2001-06-27  3:34 UTC (permalink / raw)
  To: zsh-users

Does anybody see a way to execute an external program when new mail has
come in?  Events, for example?

What I wanna do is when new mail arrives, I want to have a little
program executed that starts my mailer with the right folder
(user-specified if several folders have received mail).

Thanks,

Jörg


^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: 2nd mail question :)
@ 2001-07-03 14:55 William H. Magill
  0 siblings, 0 replies; 3+ messages in thread
From: William H. Magill @ 2001-07-03 14:55 UTC (permalink / raw)
  To: gt4556a; +Cc: zsh-users

>   Date: Tue, 26 Jun 2001 23:34:35 -0400
>   From: =?iso-8859-1?Q?J=F6rg_Ziefle?= <gt4556a@prism.gatech.edu>
>
>   Does anybody see a way to execute an external program when new mail has
>   come in?  Events, for example?
>
>   What I wanna do is when new mail arrives, I want to have a little
>   program executed that starts my mailer with the right folder
>   (user-specified if several folders have received mail).
>
What you need is "procmail." It does exactly what you want, plus lots more.

It is a mail filter or local delivery agent. 

You can sort mail via a .procmailrc into all kinds of incoming mail boxes,
run programs on them, etc.

-- 
                        www.tru64unix.compaq.com
                              www.tru64.org
                             comp.unix.tru64
                        
T.T.F.N.
William H. Magill                          Senior Systems Administrator
Information Services and Computing (ISC)   University of Pennsylvania
Internet: magill@isc.upenn.edu             magill@acm.org
http://www.isc-net.upenn.edu/~magill/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-03 14:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-27  3:34 2nd mail question :) Jörg Ziefle
2001-06-27  7:28 ` Bart Schaefer
2001-07-03 14:55 William H. Magill

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).