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,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 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,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 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 12th March 2009, 06:05
hsluis hsluis is offline
Junior Member
 
Join Date: Jan 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow Thanks...

Hello Falko,

To work with SSL in ISPConfig, or under firewall you need activate the nexts ports:

IMAPSSL 993 tcp yes
SMTPDSSL 465 tcp yes
POP3SSL 995 tcp yes

I worked, read, and practiced hard the last nights, to doing it. I'm had problem to access to IMAP SSL, I bad thinking are a problem of openssl or courier imap, but not, my problem are the firewall... I solved now...

Quote:
Originally Posted by falko View Post
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.
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 17:25.


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