Author Topic: Help for Joomla user on 1and1 host  (Read 2228 times)

callin

  • Posts: 7
    • View Profile
Help for Joomla user on 1and1 host
« on: September 05, 2006, 07:46:56 am »
Hey there,

I've been trying to figure out how to use the cgi signup scripts and the LMinsert.pl to no avail.  

First, my host 1and1 does not allow me to create an email that forwards to the script - they only allow forwarding to another email address.

Second, I'm using philaform on my Joomla site and would like to use the philaform 'action' of 'Post results via http post to a url behind the scenes' but have no idea how to get it to work.

Or - if there's any way to tell the philaform component to also add the user to the listmail table - that would be terrific, too.

I'm banging my head against the wall trying to get this to happen.  Amember's plugin works - they figured it out, but I don't know how to reverse engineer their code to get it to work in Joomla for the philaform component.

Have I lost you yet?  Please Help!  This is worth $$$ to me.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Help for Joomla user on 1and1 host
« Reply #1 on: September 05, 2006, 03:45:52 pm »
Quote
First, my host 1and1 does not allow me to create an email that forwards to the script - they only allow forwarding to another email address.

1&1 shared hosting is, unfortunately, not perfect for ListMail.  This is on of the drawbacks - you cannot set up email to CGI forwarding.
Quote
Second, I'm using philaform on my Joomla site and would like to use the philaform 'action' of 'Post results via http post to a url behind the scenes' but have no idea how to get it to work.

I am not familiar with either of these scripts but if it will allow a post you might consider the method used in this easier insert script.

Basically you post the list # [list], email address [email] and name [fname] to ListMail's signup.php

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

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

BGSWebDesign

  • Posts: 625
    • View Profile
    • http://www.bgswebdesign.com
Help for Joomla user on 1and1 host
« Reply #2 on: September 06, 2006, 01:19:19 am »
DW,

Quote
1&1 shared hosting is, unfortunately, not perfect for ListMail. This is on of the drawbacks - you cannot set up email to CGI forwarding


Well, that about DOES IN my idea of using 1&1 Shared, and they are a very FAST HOST according to what I see....   I am constantly using .procmail.rc to handle email->script calls.

I guess that with your own dedicated server this is resolved?  Is procmail available with your own server, is it loaded, or if not, what do you use to handle it, curious...
Thanks,
-Brett
http://www.bgswebdesign.com/Contact-Us.php

*** I do custom List Mail Pro installations ***
Contact me through my website (above)

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Help for Joomla user on 1and1 host
« Reply #3 on: September 06, 2006, 01:41:02 am »
I believe 1&1 also has a limit of 99 messages per SMTP connection.
Quote
I guess that with your own dedicated server this is resolved? Is procmail available with your own server, is it loaded, or if not, what do you use to handle it, curious...

All standalone servers should support this, if not through the standard 'client' control panel with administrator access via the SSH shell.

With Plesk we use qmail "dot-qmail" files.
Quote
Be sure that the account bounce@site.com does not exist in the Plesk control panel as a mailbox or email will not be delivered to the CGI script.

Set up bounce.cgi in your site's cgi-bin, modifying it to contain your ListMail URL and CHMOD it to 755.

cd /var/qmail/mailnames/site.com

make a file named .qmail-bounce

In it have the following:
|/usr/bin/perl /home/httpd/vhosts/site.com/cgi-bin/bounce.cgi

Also, run the following command, which is necessary after Plesk 6:

chmod 755 /home/httpd/vhosts/site.com/cgi-bin

cPanel supports the required forwarders from within the client control panel. [Link]

Ensim is more difficult to configure due to it's highly secure environment but it is still possible.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

BGSWebDesign

  • Posts: 625
    • View Profile
    • http://www.bgswebdesign.com
Help for Joomla user on 1and1 host
« Reply #4 on: September 06, 2006, 02:16:17 am »
Hi DW,

Quote
In it have the following:
|/usr/bin/perl /home/httpd/vhosts/site.com/cgi-bin/bounce.cgi


One question, does this mean you have a way of selectively processing the email address from within bounce.cgi?  In other words when bounce.cgi runs do you have access to WHICH email address the email was sent to that triggered bounce.cgi?

The reason I ask this, with .procmail.rc I can have as many scripts that I want executing (because .procmailrc has a script based language that can be placed inside of it to configure which script to run), BASED ON THE EMAIL address that called the script, for example I can say IF the email was sent to: thisemail@DOMAIN then execute this script, otherwise IF the email was sent to thatemail@DOMAN then execute that script, got the picture?   This lets me call out very specific scripts to REMOVE/ADD to LMP as I need to based on which email address was originally SENT TO that triggered the script....
Thanks,
-Brett
http://www.bgswebdesign.com/Contact-Us.php

*** I do custom List Mail Pro installations ***
Contact me through my website (above)

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Help for Joomla user on 1and1 host
« Reply #5 on: September 06, 2006, 02:28:01 am »
With dot-qmail files the address is based on the name of the file, ie:
Quote
cd /var/qmail/mailnames/site.com
make a file named .qmail-bounce

The file named .qmail-bounce will create an email address bounce@site.com.  If you want to have signup scripts run alongside bounce.cgi you would create a file named, for example, .qmail-signup to create the address signup@site.com
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting