FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Using maillist.php without procmail?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
icon14.gif  Re: Using maillist.php without procmail? [message #11416 is a reply to message #11381] Fri, 27 June 2003 18:40 Go to previous messageGo to previous message
stevie is currently offline  stevie   United States
Messages: 35
Registered: May 2003
Location: Boston area, USA
Karma:
Member
Shocked I can't believe it, I actually got it to work!!! Thanks for all your help!

Steps, for the interest of anyone else that might want to try an end-run around procmail:

  • Started with a single message in an "mbox" formatted textfile, on my hosted server
  • Made a php file on my web server with this content: <?php
    echo shell_exec("cat /home/myname/public_html/test/mbox1 | /usr/local/bin/php -q /home/myname/FUDforum/scripts/maillist.php 1");
    ?>
  • accessed the above php file using my browser
  • whammo, the contents of the mbox file was very nicely added to my forum!!!


I understand if you have procmail, and understand how to use procmail, that's a great way to go, but for the rest of us, there is definitely an alternative! Now, I still have to work out how to deal with mbox files with many messages, and how to get this script to execute as often as necessary, but I don't believe those will be big stumbling blocks. Again, thanks to protoss, (and also to Gaėtan for teaching me the shell_exec technique)! -Steve
[Message index]
 
Read Message
Read Message
Read Message icon14.gif
Read Message
Previous Topic: Peculiar Weirdness
Next Topic: a.CatLink:Hover & a.CatLink:Visited
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 03:30:03 GMT 2024

Total time taken to generate the page: 0.04391 seconds