Pramodh I S S <ee95185(_at_)ee(_dot_)iitm(_dot_)ernet(_dot_)in> writes:
in the .forward file I have given my own file name instead of
procmail
so that whenever mail arrives my program is executed.In my program I save the
mail it works.The only thing that doesn't work is printing to a terminal.
I wan't to indicate the user that mail has arrived.I used printf and also
tried writing to my term the program did not print but nevertheless it saved
the mail.I guess that the problem is that the standard output is duped to
some other pipe discriptor whose other end is the mail daemon itself.
Please tell me what the problem is and also the solution.I also wan't to know
how procmail writes to terminal.
procmail doesn't write to the terminal. If configured to do so it will
send a message to the comsat daemon which will perform "biff" processing
and possibly write to your terminal, but procmail itself never does.
Philip Guenther