Author Topic: Got bounce.cgi and signup.cgi to work  (Read 2824 times)

Alex1

  • Posts: 4
    • View Profile
Got bounce.cgi and signup.cgi to work
« on: November 06, 2008, 11:52:39 am »
After struggling with it for 2 days, I got bounce.cgi and signup.cgi to work properly. Here is what worked, maybe it will help someone else.

1) setup and email account like bounce@example.com
2) Setup a filter in the control panel to forward all mail to that account to a shell
3) if your server doesn't have cgi-bin or bin directory in your home directory, create "bin" directory and put bounce.cgi in it, giving it 755 pervissions.
> mkdir bin
> chmod 755 bounce.cgi

4) in home directory create a folder .procmail
5) in home directory create a file .procmailrc which looks like this
-------------------------------------
DEFAULT=$HOME/Maildir/
MAILDIR=$HOME/Maildir
PMDIR=$HOME/.procmail
SHELL=/bin/sh

:0
* ^TO.bounce@example\.com
| bounce.cgi
----------------------------------
Now, the bounce.cgi is really in /home/username/bin/bounce.cgi but somehow it still works.

6) create a .forward file in your home directory to look like this
--------------------------------
"|/usr/bin/procmail -t"
-------------------------------

Hope this helps.

Alex

P.S. I have a 30 message email campaign for Financial Destination Inc (FDI) and I will share with everyone who joins my team http://www.fdirep.com/new. We have people making $80,000/mo residually and the company is only 5 years old. Time to make some money. Here is a short oportunity video tha texplains everything http://www.FdiOverview.com/new