Link Posted June 30, 2007 Share Posted June 30, 2007 I have read many articles on the subject, but I cannot get it to work for the life of me. Here are the details: I am trying to pip emails coming to [email protected] to /home/eventron/public_html/script/mobile.php I am using cPanel which supports both Sendmail and forwarding emails to files. If I use the latter, I get an error bounced back saying the email was not successfully locally transferred. Can someone help me out in any way? Thanks, ->Ryan Link to comment https://forums.phpfreaks.com/topic/57894-email-piping/ Share on other sites More sharing options...
Link Posted July 2, 2007 Author Share Posted July 2, 2007 So, now I have decided to go with Sendmail. But, my problem is, it isn't piping at all. Mail is just delivered normally. I tried adding the .forward file to my /home/eventron/ directory, but nothing happens when I send an email...it just goes through unaffected. Any clues as to what's going on? Link to comment https://forums.phpfreaks.com/topic/57894-email-piping/#findComment-287679 Share on other sites More sharing options...
redarrow Posted July 2, 2007 Share Posted July 2, 2007 PHP compiled as a CGI binary, not just as an Apache module; a local mail system or MTA, (are you using Sendmail, Exim, Qmail or some other system); shell access to your server, whether or not you have to be root depends on your mail system. link. http://www.evolt.org/article/Incoming_Mail_and_PHP/18/27914/index.html You mean this dont you? Link to comment https://forums.phpfreaks.com/topic/57894-email-piping/#findComment-287682 Share on other sites More sharing options...
Link Posted July 2, 2007 Author Share Posted July 2, 2007 I've seen that page many times. I am using Sendmail. I do have shell access. But by the instructions on that website, don't I only need to create the .forward file with an appropriate path to pipe the mail? Link to comment https://forums.phpfreaks.com/topic/57894-email-piping/#findComment-287684 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.