.forwaed

Derfinak Jan derfinak na hron.fei.tuke.sk
Čtvrtek Leden 22 12:55:23 CET 1998


On Thu, 22 Jan 1998, Petr Sturc wrote:

> 
>  Ahoj lidi,
> 
> zrejem triv. dotaz. Zda se, ze nejde pres .forward
> spustit zadny skript ("|/kudy/kam/neco"). Je potreba
> mit nejak specialne zkonfigurovanej sendmail?

Staci procmail.
Skus
man procmailex:

     Add the headers of all messages that didn't come from the postmaster to
     your  private  header collection (for statistics or mail debugging); and
     use the lockfile eadc.lock'.  In order to make sure  the  lockfile  is
     not removed until the pipe has finished, you have to specify option ';
     otherwise the lockfile would be removed as soon as the pipe has accepted
     the mail.

          :0 hwc:
          * !^FROM_MAILER
          | uncompress headc.Z; cat >>headc; compress headc

     Or, if you would use the more efficient gzip instead of compress:

          :0 hwc:
          * !^FROM_MAILER
          | gzip >>headc.gz


					jano

----- I can't get no satisfaction -----
			Rolling Stones
 



Další informace o konferenci Linux