Author Topic: Sending mail out fails  (Read 2181 times)

rod

  • Posts: 8
    • View Profile
Sending mail out fails
« on: December 06, 2006, 12:31:58 pm »
G'day folks,
I can no longer send mail on any of my lists.  Just started two days ago. I keep getting this message shown below...

Connecting to SMTP server...
Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:25 in /home/tumbanet/public_html/mail/admin.php on line 952
Server not found!
Failed.

I have not changed anything in the configuration.  This has happened before about once a month but will resume working in an hour or so.

My host server is one of the best around and they say everything from there end is working fine.

Any ideas???

Rod

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Sending mail out fails
« Reply #1 on: December 06, 2006, 12:38:22 pm »
Hi Rod,

Normally such an error is temporary but, since you're using "localhost" as your hostname (this is recommended), your host could have disabled access to the  local SMTP server from the local server.  They may have also removed the SMTP server entirely from the local/web server.  If the situation hasn't resolved itself already please ask if local connection limitations were recently put in place or if the SMTP service was removed from the web server.

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

rod

  • Posts: 8
    • View Profile
Sending mail out fails
« Reply #2 on: December 06, 2006, 02:13:41 pm »
Okay. I'll get on to them and see what's happening and I'll post back to let you know the results.  They are a top hosting company and very customer dedicated.

Rod

rod

  • Posts: 8
    • View Profile
Sending mail out fails
« Reply #3 on: December 06, 2006, 04:07:34 pm »
Dean, this was the response I had back from my host company.

First question would be does LM Pro have the option to use sendmail rather than making socket connections? There was a very good reason for disabling SMTP connections from scripts (spammer related) and most scripts have the option to work either way.

Rod

rod

  • Posts: 8
    • View Profile
Sending mail out fails
« Reply #4 on: December 06, 2006, 04:28:48 pm »
Problem fixed I just checked the sendmail box in LM.

This is better now as email is arriving in my test inboxes instantly whereas before it would take a few hours at times or even a day to arrive.

Rod

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Sending mail out fails
« Reply #5 on: December 08, 2006, 11:56:36 am »
Rod,

While SMTP is more reliable you can use PHP mail() for your list email.  Do take care not to reduce the delays too much, as sending processes will increase with delayed DNS lookups, which are inevitable.  Eventually, you could reach a server limit and start losing emails.  SMTP uses a single connection for a large amount of email, greatly reducing load on the server.   I don't see why they would block access to SMTP... Any user on the system can use many different methods to send email... Some examples utilizing system utilities via PHP or Perl, using PHP or Perl to ACT as an SMTP server (almost all hosts allow the connections required to do this), etc.

As long as they enable SMTP authorization and accept email from the local server (only paid users can access the local server)  they should have no problems unless a user is abusing their service.

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

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