Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th September 2006, 22:52
tomd tomd is offline
Junior Member
 
Join Date: Sep 2006
Location: Dallas, Texas
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot send email from OE through ISPconfig site

I have setup an Ubuntu 6.06/ISPConfig server using Falko's excellent howto and the the ISPConfig installation guide (which is also excellent) and all has been working well. I can send and recieve email through the webmail interface and recieve mail with Outlook Express. My problem comes in sending email through Outlook Express. I get this response:

Quote:
Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'bob', Server: 'packagedesign-mds.com', Protocol: SMTP, Port: 25, Secure(SSL): Yes, Socket Error: 10053, Error Number: 0x800CCC0F
This area's largest DSL provider blocks port 25 - and I am testing from that provider's service. So I suspect my access to the server is being blocked. Plus, I cannot see any evidence of a login attempt in the server logs. The provider says that I should access any off-network mail server using port 587, but if I change the smpt port from 25 to 587 (in OE) I get this:
Quote:
The connection to the server has failed. Account: 'bob', Server: 'packagedesign-mds.com', Protocol: SMTP, Port: 587, Secure(SSL): Yes, Socket Error: 10061, Error Number: 0x800CCC0E
Is it possible to send email through the ISPConfig based domain's email server from outside its network?
Reply With Quote
Sponsored Links
  #2  
Old 25th September 2006, 13:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by tomd
This area's largest DSL provider blocks port 25 - and I am testing from that provider's service. So I suspect my access to the server is being blocked.
Yes, that's right.

Quote:
Originally Posted by tomd
The provider says that I should access any off-network mail server using port 587, but if I change the smpt port from 25 to 587 (in OE) I get this:
What's in /etc/postfix/master.cf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 25th September 2006, 14:41
tomd tomd is offline
Junior Member
 
Join Date: Sep 2006
Location: Dallas, Texas
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
#
# Postfix master process configuration file.  For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd
#submission inet n      -       -       -       -       smtpd
#       -o smtpd_etrn_restrictions=reject
#       -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps    inet  n       -       -       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n      -       -       -       -       smtpd
#  -o smtpd_etrn_restrictions=reject
#  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       -       -       -       smtp
        -o fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix  -       n       n       -       2       pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}
Reply With Quote
  #4  
Old 25th September 2006, 15:05
fobicodam fobicodam is offline
Senior Member
 
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fobicodam
Default

For any sock error on Windows, check this page for help:

http://msdn.microsoft.com/library/de...or_codes_2.asp

Code 10061
Connection refused.
No connection could be made because the target computer actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host???that is, one with no server application running.
Reply With Quote
  #5  
Old 26th September 2006, 17:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please comment out these two lines in your master.cf:

Code:
#smtps    inet  n       -       -       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
and restart Postfix. It will make Postfix listen on port 465.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 27th September 2006, 04:03
tomd tomd is offline
Junior Member
 
Join Date: Sep 2006
Location: Dallas, Texas
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You are the master.

Since those lines were already commented, I think you meant to say "uncomment" rather that "comment out". (I removed the hash marks) But that did the trick and I was able to send from DSL and Cable providers.

Your Howto guides are outstanding. Thank you for this site!

Tom
Reply With Quote
  #7  
Old 28th September 2006, 20:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by tomd
Since those lines were already commented, I think you meant to say "uncomment" rather that "comment out".
Yes, right. Sorry about that.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 28th September 2006, 21:29
tomd tomd is offline
Junior Member
 
Join Date: Sep 2006
Location: Dallas, Texas
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No probem. I just love the clarity of your guidance. Instead of answering "Just turn on smpts" you give the details that I can learn from. Because of the clarity of the instructions, I could easily see where the intention was reversed. Thank you again.
Reply With Quote
  #9  
Old 14th April 2007, 15:33
ryan_vanks ryan_vanks is offline
Junior Member
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Same issue but socket Error

Hello
I experience the same issue using Postfix on UBUNTU 6.06.
I can receive messages using OE but I'm unable to send them.

This is the error I got:

"Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'mail.geoaec.com', Server: 'smtp.geoaec.com', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error: 10053, Error Number: 0x800CCC0F"

Microsoft Winsock REF : Error 10053 (DB-Library)
Severity Level 2
Message Text: Attempt to bulk copy a null value into a server column that does not accept null values.


How do I fix that issue?

Thanks
Reply With Quote
  #10  
Old 14th April 2007, 17:32
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 262
Thanked 150 Times in 130 Posts
 
Default

Quote:
Originally Posted by ryan_vanks
Hello
I experience the same issue using Postfix on UBUNTU 6.06.
I can receive messages using OE but I'm unable to send them.

This is the error I got:

"Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'mail.geoaec.com', Server: 'smtp.geoaec.com', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error: 10053, Error Number: 0x800CCC0F"

Microsoft Winsock REF : Error 10053 (DB-Library)
Severity Level 2
Message Text: Attempt to bulk copy a null value into a server column that does not accept null values.


How do I fix that issue?

Thanks
Thats the same error as the person who started this thread.
The problem is that also your ISP is blocking port 25.
The way you can fix this is the exact same way as he did (that is if your ISP did not close port 465)
Read "falko's" reply. You will need to set OE's SMTP port to 465.
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot access ispconfig site Nu2Linux Installation/Configuration 13 3rd January 2009 15:29
Can't send email with attachments to another email nysprite Installation/Configuration 2 29th June 2006 18:09
Can't send email with attachments to a user rafaelenrike General 9 15th June 2006 19:01
newbie...need to send out a bulk email for work.. pjm2211 HOWTO-Related Questions 1 22nd May 2006 22:58
Installing ISPConfig ssl installation certificate to a site? lyndros Installation/Configuration 6 20th March 2006 03:54


All times are GMT +2. The time now is 06:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.