[Gllug] Using sendmail to execute PHP scripts

Peter Adamson peter.adamson at ktsplc.com
Thu May 1 08:36:58 UTC 2003


Well thanks for the advice.
But the machine I'm doing this on is our companys mailserver.

I don't really want to be installing other MTA's & stuff,
and it looks like that needs Postfix. (which I assume is another MTA)

cheers,
Peter

-----Original Message-----
From: gllug-admin at linux.co.uk [mailto:gllug-admin at linux.co.uk]On Behalf
Of John Hearns
Sent: 01 May 2003 09:23
To: gllug at linux.co.uk
Subject: Re: [Gllug] Using sendmail to execute PHP scripts


On Thu, 2003-05-01 at 08:55, Peter Adamson wrote:
> 
> Hi.
> I've got a nice little php script from somwhere (can't remember where)
> which takes emails via a pipe, stripes out attachments and puts the
> message along with some header info into a mySQL database.
> 

You could try running Postfix instead.
The pipe command seems to do what you are after
http://www.postfix.org/pipe.8.html

Apologies if I'm talking nonsense - I've never had call to use this
command.



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list