Author Topic: 1&1 Warning: fsockopen() [function.fsockopen]: unable to  (Read 37915 times)

esaw

  • Posts: 4
    • View Profile
1&1 Warning: fsockopen() [function.fsockopen]: unable to
« on: February 07, 2007, 05:00:49 am »
Hi there,

i recently purchased Lisrmail and i am getting this error when i test mail.  my hosting is with 1and1. please help!

"Warning: fsockopen() [function.fsockopen]: unable to connect to auth.smtp.1and1.co.uk:587 in /homepages/13/d196022114/htdocs/mail/editconf.php on line 1907
Could not find server!"

thank you

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
1&1 Warning: fsockopen() [function.fsockopen]: unable to
« Reply #1 on: February 07, 2007, 08:11:00 am »
Greetings and welcome :)

There is a post similar to yours here:

http://listmailpro.com/forum/index.php?topic=1625.0

The client didn't reply so I assume they figured it out.  I think the hostname was incorrect.

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

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

esaw

  • Posts: 4
    • View Profile
Warning: fsockopen() [function.fsockopen]: unable to connect
« Reply #2 on: February 07, 2007, 09:15:36 am »
Hi,

i am still getting the same errors?

any idea?


thanks

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
1&1 Warning: fsockopen() [function.fsockopen]: unable to
« Reply #3 on: February 07, 2007, 06:48:10 pm »
Please let your host know that you are trying to connect to SMTP with a script hosted on your web site and tell them the settings you are using.  They should reply with a reason or correction.

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

esaw

  • Posts: 4
    • View Profile
Same problem, please help
« Reply #4 on: February 21, 2007, 06:35:34 am »
Hi i am still getting the same problem, 1and1 said all settings are fine.

error message is:

"[SMTP Server]
Is enabled?  Yes
Connecting to SMTP server..
Warning: fsockopen() [function.fsockopen]: unable to connect to auth.smtp.1and1.co.uk:25 in /homepages/13/d196022114/htdocs/mail/editconf.php on line 1907
Could not find server!

The SMTP server is not configured correctly. Check your settings."


thank you

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
1&1 Warning: fsockopen() [function.fsockopen]: unable to
« Reply #5 on: February 21, 2007, 05:56:20 pm »
I believe 1&1 has restricted access to the SMTP server from the web server.  They appear to not know their own policy and might suggest that your home ISP has a firewall blocking port 25, etc, when this is not the issue (since we're connecting -from- the web server).  Even their alternative port will not allow a connection - each web server does not appear to be able to reach auth.smtp.1and1.co.uk  You may have to use the alternate mailing method with this host. I'm having the exact same issue/result with another 1&1 client.

For a list of hosts I recommend please visit the following post:
http://listmailpro.com/forum/index.php?topic=1699.0

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

mlloyd

  • Posts: 1
    • View Profile
1&1 Warning: fsockopen() [function.fsockopen]: unable to
« Reply #6 on: March 16, 2007, 08:38:53 pm »
I'm having the same problems as the other guys with 1and1 SMTP.

I think the problem is to do with SMTP authentication. There is a checkbox in Microsoft Outlook > Tools > Email accounts > View or Change email accounts > Change email accounts > More Settings > Outgoing Server >  My outgoing server (SMTP) requires authentication - THIS IS CHECKED IN OUTLOOK and then outlook works fine.

The 1and1 email admin section states "Please note: To send e-mail using the SMTP-Server, activate SMTP Authentication. Please do not use the Secure Password Authentication (SPA) option. Optionally, port 587 can also be used in addition to the default port RFC 2476."

I may be wrong but I think the standard ListMailPro scripts might not support SMTP Authentication which may be the problem. If this is the case is it possible to upgrade the scripts to support SMTP Authentication.

The other option might be to send emails using another SMTP service other than 1and1. Its not a viable option to change my hosting company just because listmail pro does not seem to work with 1and1 which are probably the most popular host in the whole of europe. Do you know of any free or very low cost SMTP services that could be triggered from a ListMailPro installed on a 1and1 hosted site.

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
1&1 Warning: fsockopen() [function.fsockopen]: unable to
« Reply #7 on: March 17, 2007, 03:40:58 am »
Greetings,

After many emails to 1&1 tech support and my own experience (fsockopen: connection could not be made) it is clear that they are blocking connections from the web server to the SMTP host on both ports 25 and 587.  ListMail does support SMTP authorization - it works with practically -every- other host and used to work on 1&1.  Now, however, it appears 1&1 has a new policy in place to prevent connections to SMTP made from scripts on their web servers.  This can be implemented with a local firewall or other IP-based rule.

If you ask or phone 1&1 tech support they will claim a problem with the script, port, etc., but they are wrong.  Apart from the new SMTP restriction I am very happy with 1&1s web services - they're top notch (I rent a few dedicated servers from them and their panel is excellent for self-recovery)  However I am quite dissatisfied with their support - even with all of the details and a clear technical explanation they can't give a straight-up answer.

Big hosts aren't always better - often they have more restrictions and poorer deliverability due to placing large numbers of users on each server.

If you don't want to switch hosts (reviewed here) you may have to switch to the alternate mailing method "internal PHP mail".

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

Nick

  • Posts: 2
    • View Profile
1&1 Warning: fsockopen() [function.fsockopen]: unable to
« Reply #8 on: March 20, 2007, 05:43:19 am »
Hi all

Agree with DW here, 1&1 overall is good but ref SMTP support for shared hosting it's simply not there. It took me a lot of emails and jumping up and down to finally get a straight answer that they won't support smtp via web server and you're stuck with PHP mail.
A Library in your pocket -
Myaudiobookshelf.com