Hi

In lynx /usr/doc/maildrop-1.3.6/mailbot.html I found:

########## >8 Schnipp >8 ##########
mailbot [options] program arg arg...

.mailfilter:

    if (/^Subject: *info/)
    {
         cc "| mailbot -t /usr/share/autoresponse/info -d autoresponsedb \
                -A 'From: [EMAIL PROTECTED]' /usr/bin/sendmail -f ''"
########## >8 Schnapp >8 ##########


in my .mailfilter I put the following to see, if mailbot runs:

########## >8 Schnipp >8 ##########
if ((/^To:.*abrunstest/))
{
   cc "|/usr/bin/mailbot -m /home/abrunstest/Maildir/autoresponses/test1 -A
'From: [EMAIL PROTECTED]' \
    /bin/cat > /home/abrunstest/output"
}

to "/home/abrunstest/Maildir/."
########## >8 Schnapp >8 ##########

But the File /home/abrunstest/output is not written or changed. The Rights
for the Folder /home/abrunstest are 777 !!!

When I test this from conole, the folowing runs:

In /root/testmailjens stands:
########## >8 Schnipp >8 ##########
[root@mail abrunstest]# cat /root/testmailjens
From: "Alexander Bruns" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: testmitjens
Date: Wed, 19 Dec 2001 15:51:49 +0100
MIME-Version: 1.0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700

Testtext

########## >8 Schnapp >8 ##########



when run from console the following:
[root@mail abrunstest]# cat /root/testmailjens | /usr/bin/mailbot -A
"X-Sender: [EMAIL PROTECTED]" -A "From:
[EMAIL PROTECTED]" -m
"/home/abrunstest/Maildir/autoresponses/test1" /bin/cat

########## >8 Schnipp >8 ##########
X-Sender: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: Re: testmitjens
To: [EMAIL PROTECTED]
Precedence: junk
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

blatext
########## >8 Schnapp >8 ##########


Why does the software funktion at console but to invoked from maildrop?



Alexander Bruns
System- und Netzwerkadministration
FTK - Forschungsinstitut fuer Telekommunikation
Martin-Schmeisser-Weg 4
D - 44227 Dortmund
tel + 49 (0) 231 97 50 56 16
fax + 49 (0) 231 97 50 56 10
mail [EMAIL PROTECTED]


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to