1 message in net.sourceforge.lists.courier-maildrop[maildropl] Problems with mailbot!
FromSent OnAttachments
Alexander BrunsDec 19, 2001 7:32 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Problems with mailbot!Actions...
From:Alexander Bruns (abr@ftk.de)
Date:Dec 19, 2001 7:32:39 am
List:net.sourceforge.lists.courier-maildrop

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: in@domain.com' /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: abru@ftk.de' \ /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" <abr@ftk.de> To: <abru@ftk.de> 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: abru@ftk.de" -A "From: abru@ftk.de" -m "/home/abrunstest/Maildir/autoresponses/test1" /bin/cat

########## >8 Schnipp >8 ########## X-Sender: abru@ftk.de From: abru@ftk.de Subject: Re: testmitjens To: abr@ftk.de 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?