[imapfilter-devel] error: another imapfilter is running with pid 7848
jan
j-a-n at gmx.de
Mon Nov 17 11:40:45 EET 2003
>
>
>On Thu, Nov 13, 2003 at 12:37:54PM +0100, jan wrote:
>>/ hello
>/>/
>/>/ i don't know how you are using imapfilter. i have integrated it in my
>/>/ .forward file on the mailserver. i'm very glad about this tool and it
>/>/ does it's task perfectly. but sometimes, when a mail is arriving, the
>/>/ following error raises:
>/>/
>/>/ Command output: imapfilter: another imapfilter is running with pid 7848
>/>/
>/>/ the error ist not the problem, but an errormessate is sended to the sender.
>/>/ but the mail still arrives.
>/>/ how can i suppress this mail, or this errormessage, or better, why can't
>/>/ imapfilter run twice?
>/
>What kind of error message is send to the sender?
>
>
>
a mail like this
--------------
Subject: Undelivered Mail Returned to Sender
Date: Tue, 4 Nov 2003 10:28:52 +0100 (CET)
From: MAILER-DAEMON at ....org (Mail Delivery System)
To: chr... at ....de
This is the Postfix program at host fry.....org.
I'm sorry to have to inform you that the message returned below could
not be delivered to one or more destinations.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can delete your
own text from the message returned below.
The Postfix program
<jan at linux......de>: Command died with status 4:
"/home/jan/bin/imapfilter/imapfilter -c /home/jan/.imapfilterrc".
Command output: imapfilter: another imapfilter is running with pid 7848
--------------------------
Reporting-MTA: dns; fry.software-engineering.org
Arrival-Date: Tue, 4 Nov 2003 10:28:48 +0100 (CET)
Final-Recipient: rfc822; jan at linux.....de
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; Command died with status 4:
"/home/jan/bin/imapfilter/imapfilter -c /home/jan/.imapfilterrc".
Command output: imapfilter: another imapfilter is running with pid 7848
---------------------
>Imapfilter cannot run twice, because, for example, there will be
>problems with two clients trying to make changes to the same mailbox in
>the mail server.
>
>
>
ok.. i understand
>I suggest that you run imapfilter in daemon mode. You can specify
>an interval of 300 or 600 seconds, so your messages will be processed
>continuously and periodically.
>
i have tryed, but this is not comfortable... an incomming email appears
first in inbox, and some time
later it disappears and moves to the right folder. not a good solution.
what about supressing the errormessage? is it done with the -q option?
can i redirect the stdout to /dev/null?
and whats about checking previously whether imapfilter is running? is it
possible to get the information anywhere?
or can you upgrade the -k operator so it does not quit when no session
is running?
thanx for your help
jan
More information about the Imapfilter-devel
mailing list