Great Circle Associates List-Managers
(June 2005)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Advice pls on Demime and pipes
From: lee <davislee @ btinternet . com>
Date: Mon, 20 Jun 2005 02:58:49 +0100
To: list-managers @ greatcircle . com
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)


Hello everyone,
(have also emailed demime list but mail hasn't come through as yet)

Can anyone advise me on how to use Demime in association with a 
particular pipe?
My trouble is how to set up so that Demime will act on all emails 
destined for a Mail2Forum import script called:
m2f_import_msgs.sh  (the .sh file just calls a .php file, as far as I 
can tell)

Some examples which may help you :-

Here is an example of how I am already piping elsewhere using demime on 
my Exim and Sendmail hosting:

abc@xyz.com: "|/home/incel/www/demime.pl 
'|/home/incel/www/mailgust/dbcron.pl 18'"

Here is an example of a successful pipe to my Mail2Forum import script 
without using demime :-

abc@xyz.com: |php -q /home/incel/www/interactive/m2f/m2f_import_msgs.sh

And below are 2 unsuccessful attempts at using demime in a pipe with the 
M2F import script; below each one is part of the mail delivery error 
which is sent out. I haven't yet looked at the demime program's code 
itself, as I don't know enough on these issues.

abc@xyz.com: |/home/incel/www/demime.pl 
|/home/incel/www/interactive/m2f/m2f_import_msgs.sh

Can't fork |/home/incel/www/interactive/m2f/m2f_import_msgs.sh off of 
MAIL0: Permission denied at /home/incel/www/demime.pl line 361, <STDIN> 
line 68.


abc@xyz.com: |/home/incel/www/demime.pl - 
|/home/incel/www/interactive/m2f/m2f_import_msgs.sh

positional parameter |/home/incel/www/interactive/m2f/m2f_import_msgs.sh 
specified after - already specified at /home/incel/www/demime.pl line 70.
Remaining args are


thanks a lot,
Lee

-- 

A perfect internet companion: LEE'S FREE MUSIC STATION 
<http://launch.yahoo.com/lc/?rt=0&rp1=0&rp2=1453474498>
Example recent playlist HERE <http://www.incelsite.com/playlist.gif>


Indexed By Date Previous:
From: (nil)
Next: Re: Advice pls on Demime and pipes
From: Bob Leigh <bobleigh@twomeeps.com>
Indexed By Thread Previous:
From: (nil)
Next: Re: Advice pls on Demime and pipes
From: Bob Leigh <bobleigh@twomeeps.com>

Google
 
Search Internet Search www.greatcircle.com