[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail problem



Hallo Daniel,

Am 2008-01-16 14:37:21, schrieb Daniel:
> Hallo,
> 
> ich versteh mein problem nicht so richtig.
> Ich habe mir ein script gebaut und wollte das über procmail laufen
> lassen.
> 
> meine procmail.rc sieht so aus:
> 
> VERBOSE=on
> LOGFILE=$HOME/procmail.log
> 
> :0
> /home/ebuero/mail.txt
> 
> {
>     :0
>     | sudo /usr/local/sbin/ebuero.sh
> }
> 
> er soll also alle emails n der mail.txt speichern und danach das
> ebuero.sh aufrufen allerdings scheint der aufruf nicht zu klappen.
> Das Speichern klappt allerdings.

Versuchs damit:

:0
{
  :0c
  /home/ebuero/mail.txt
  :0
  | sudo /usr/local/sbin/ebuero.sh
}

Nur sollte dann sudo keinen STDIN verarbeiten.

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: