Toen ik David W. Tamkin kietelde, kwam er dit uit:
Ruud H.G. van Tol wrote:
how
to differentiate between a procmail started from a
shell (or command line) and one started by an MTA.
If LOGFILE has not yet been defined,
:0
* ? test -t 2
{ INTERACTIVE = yes }
OK, thanks.
man test:
-t file_descriptor
True if the file whose file descriptor number is
file_descriptor is open and is associated with a terminal.
--
Affijn, Ruud ` - \xB4
+ ` \xB4 *
\xB4 ` Jvr qvg yrrfg,
\xB4 = ` fgresg wbatre.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail