Author Topic: Need Help with getting Bouncing to work...  (Read 2618 times)

john193

  • Posts: 55
    • View Profile
Need Help with getting Bouncing to work...
« on: March 09, 2007, 05:24:21 pm »
Hi Dean,

I've been reading up on the fine print for the install and I may have a problem. For installing the bounce.cgi script you state that ListMail supports the Sendmail and Qmail --- but my Linux Enterprise v3 over at EV1 uses exim instead...

So is there a work around for this or am I toast ?

p.s. I followed the directions hoping maybe exim was supported so I acted like it supported Sendmail and created the .procmailrc file and put it in the /home/digitalp/ directory -- but again the directions don't state any specific permissions -- so maybe that's the issue.

Look forward to what you might have as a solution.

Christopher

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Need Help with getting Bouncing to work...
« Reply #1 on: March 09, 2007, 06:03:46 pm »
Christopher,

Setting up an email alias forwarding to a CGI script should definitely be possible on Exim.  Are you using cPanel?  If so, you should be able to easily set up the aliases right in cPanel as noted in the help.

If you're not on cPanel and this is your dedicated server you might try adding an entry in /etc/aliases such as follows:

bounce@example.com: "/path/to/bounce.cgi"

then run: newaliases

I think /etc/aliases and newaliases is sendmail-specific, but I've seen it work on Exim, too.

If this is not a dedicated server your host should know the exact method to achieve email forwarding to CGI script.

There will be a way - it's just a matter of figuring out how!  

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

john193

  • Posts: 55
    • View Profile
C-Panel Yes --- Dedicated Yes
« Reply #2 on: March 09, 2007, 07:25:25 pm »
Hi Dean,

Yes I have an unmanaged dedicated server with EV1 and it is a C-PANEL Linux Enterprise RedHat v3 server.

Yes my system is using Exim not Sendmail or Qmail.

And like I said -- I followed the directions like it was Sendmail. So what would the install directions modified for this setup be layed out similar to your other installs so hopefully I can follow without feeling too much in the dark.

Thanks

Christopher
p.s. Like I said SMTP is working ... just need the bounce.cgi to work. Other than that I'm guessing I ready... for the next step. Sending a test broadcast to my small test of emails (delayed with a CRON time and immediate).

p.s.s. In regards to [Setting up an email alias forwarding to a CGI script should definitely be possible on Exim. Are you using cPanel? If so, you should be able to easily set up the aliases right in cPanel as noted in the help.]  --- I've already done that long ago...

Current Forwarders
bounce@example.com       /home/example/public_html/cgi-bin/bounce.cgi@example.com      
signup@example.com       /home/example/public_html/cgi-bin/signup-list1.cgi@example.com    

Now what...

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Need Help with getting Bouncing to work...
« Reply #3 on: March 10, 2007, 04:50:09 pm »
John,
Quote
bounce@example.com /home/example/public_html/cgi-bin/bounce.cgi@example.com
signup@example.com /home/example/public_html/cgi-bin/signup-list1.cgi@example.com


Unless the bounce.cgi and signup-list1.cgi files have actually been renamed to bounce.cgi@example.com and signup-list1.cgi@example.com then these values will not work.  The forwarders should point to "/home/example/public_html/cgi-bin/bounce.cgi" and "/home/example/public_html/cgi-bin/signup-list1.cgi".  After that, check the existence and permissions of the bounce.cgi and signup-list1.cgi files and make sure your ListMail URL is entered correctly into each file where specified.  After that there may be a problem accessing the system utility "/usr/bin/wget" on your server.   This file, if it exists and it still doesn't work, may have the wrong permissions:
Code: [Select]
chown root.root /usr/bin/wget
chmod 755 /usr/bin/wget

If that still doesn't work you may want to try an alternative to wget.

Please let me know if I can be of further assistance!

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

john193

  • Posts: 55
    • View Profile
Need Help with getting Bouncing to work...
« Reply #4 on: March 12, 2007, 08:28:37 am »
Hi Dean,

Got some more information for you... Maybe I did something wrong here.

In the Configuration Screen under Bounced Message Handling I have the following information:

Checked Use bounce.cgi
Host: mail.example.com
Type: Pop3
Login ID: bounce@example.com
Bounce to email address: bounce@example.com
3 times in 30 days...

Does this shed anymore light on the situation...

Thanks

Christopher

p.s. Like I said -- when I do a test mail settings... it says everything is fine. But I only receive an email on the SMTP side the other email I never
get.

john193

  • Posts: 55
    • View Profile
Need Help with getting Bouncing to work...
« Reply #5 on: March 12, 2007, 08:35:08 am »
More info:

Earlier Dean... You stated:

>>Unless the bounce.cgi and signup-list1.cgi files have actually been renamed to bounce.cgi@example.com and signup-list1.cgi@example.com then these values will not work. The forwarders should point to "/home/example/public_html/cgi-bin/bounce.cgi" and "/home/example/public_html/cgi-bin/signup-list1.cgi".

Well, as I've stated before this is what C-Panel tells me...

Under the Mail Forward Section it tells me the following:

Forwarding Maintenance
   

Current Forwarders
bounce@example.com       /home/example/public_html/cgi-bin/bounce.cgi@example.com      
signup@digitalpawsinc.com       /home/example/public_html/cgi-bin/signup-list1.cgi@example.com    

Is this correct here or does something need to change...

Please advise...

Thanks

Christopher

john193

  • Posts: 55
    • View Profile
Need Help with getting Bouncing to work...
« Reply #6 on: March 12, 2007, 08:47:09 am »
Permissions:

Dean furthermore, you go on to state:

>After that, check the existence and permissions of the bounce.cgi and signup-list1.cgi files and make sure your ListMail URL is entered correctly into each file where specified.

Ok, here is what I see:



As far as what is specified into each file:

bounce.cgi -- I only changed this line...

# Full URL to ListMail, no trailing slash
$listmail_url = "http://www.example.com/mail";


For the signup-list1.cgi -- I only changed this line...

# SET this to your ListMail URL, NO trailing slash
$listmail_url = "http://www.example.com/mail";

and likewise for the signup-list2.cgi --- the same...

# SET this to your ListMail URL, NO trailing slash
$listmail_url = "http://www.example.com/mail";

So what am I missing...

Thanks

Christopher

p.s. Check back with you later this afternoon...

john193

  • Posts: 55
    • View Profile
Need Help with getting Bouncing to work...
« Reply #7 on: March 12, 2007, 08:57:11 am »
Solved issue...

Got the bounce email issue resolved.... My settings were incorrect in the Bounce Configuration.

I let you know if I have any other issues...

Thanks

Christopher

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Need Help with getting Bouncing to work...
« Reply #8 on: March 12, 2007, 05:21:51 pm »
Christopher,

I have edited your posts for your privacy.  Please let me know if you require further assistance!

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting