Dean and all,
I've been holding off on fixing this for a bit, and now I'm determined to get it to work. I'll provide all the information here and we'll see if we can get through it.
Host is ApolloHosting (damn good) and the control panel is hsp Control Panel.
Issue I'm having is that bounces are not getting removed from the active list. All other features (mailing, adding, editing) work fine.
My lists are just getting dirty with bad e-mail addresses so it's time to clean house.
Location of FilesMy file structure has wget in...
bin/wget - bin is a top level folder with boot, dev, etc, home ...
[edit: I just noticed that wget seems to also reside in usr/bin/]
I have placed bounce.cgi within...
home/username/website.com/cgi-bin/bounce.cgi
The actual HTML code for the site is located in...
home/username/website.com/html/
I have placed .procmailrc in...
home/username/website.com/
This was the suggested location in the instructions.
I have set up the cron to run dailymail, but I'm thinking that I do not need this feature. I just send mails manually, take registrations automatically through the Web site (not through e-mail address). Not even sure if the cron is working. I'm pretty certain that it is not since I'm not getting notifications that it is, OR that it is failing (strange).
bounce.cgiIs written as follows:
$http_program = "/usr/bin/wget -O /dev/null " . $listmail_url . "/bounce.php";
Notice that this is the standard configuration. I've tried dropping the /usr part (reference structure above for wget) and I think I tried dropping /usr/ as well.
The /usr/ part confuses me since right from the IP level, I can see all of my folders via FTP - I guess you could say that I do have root access via ftp and my control panel interface.
Now that I look at it, I have a bin/ folder right at the top level (includes wget within) AND I have a usr/bin/ folder that includes wget. Oh well, I think I've tried to target them both.
I have also tried referencing curl as I have seen in some posts.
.procmailIs written as follows:
:0
* ^TO_bounce@domain.com
"|/home/username/domain.com/cgi-bin/bounce.cgi"
:0
* ^TO_signup12@domain.com
"|/home/username/domain.com/cgi-bin/signup-list1.cgi"
I have also tried what was in the instructions:
:0
* ^TO_bounce@yoursite.com
| /home/username/domain.com/cgi-bin/bounce.cgi
:0
* ^TO_signup@yoursite.com
| /home/username/domain.com/cgi-bin/signup-list1.cgi
Note that one version has quotes, the other does not. Also location of pipe.
NoteI had some issues with uploading this file before, I uploaded procmailrc.txt using ASCII and then renamed the file so it should be good. In the past I had an issue with spacing/characters/hard&soft returns with this file that caused issues. Somehow Dean fixed them but that was way back when I was on a shared server - now I'm on VPS.
I'm certain that the issue must be with the way I am setting up the "call" or relative/absolute reference to the filenames bounce.cgi and wget.
I'm getting the following when testing the mail servers...
Testing mail servers..
[Bounce Handling]
Is enabled? Yes, Using bounce.cgi
Sending TESTBOUNCE email to bounce address.. Failed. Try manually sending an email to your bounce address with TESTBOUNCE in the subject line.
If you receive an email at your "Administrator Email Address" bounce.cgi is configured correctly.
[SMTP Server]
Is enabled? Yes
Connecting to SMTP server.. Connected!
Sending test email to remote address.. Success!
If you receive an email at your "Remote Test Address" the SMTP server is configured correctly.
I'm getting e-mail to the remote test address, but nothing to the administrator e-mail address.
Any ideas?
Steve