Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th September 2011, 10:11
onlinewebs onlinewebs is offline
Junior Member
 
Join Date: Sep 2011
Posts: 16
Thanks: 3
Thanked 1 Time in 1 Post
Default Cant connect to SMTP usign Microsoft Outlook

Hi,

First of all I would like to thank you for this great software. I have just migrated from using Kloxo and am having some problems in the initial setup.

I am trying to use Microsoft Outlook to send and receive emails. However, Outlook is unable to connect to the outgoing server. I am using Debian with ISPConfig 3. I checked your manual also, but couldn't find a solution.

http://http://http://allnetsols.com/Untitled-1.jpg

Some of the Outputs that may provide relevant details are given below:-

Quote:
# telnet allnetsols.com 25
Trying 67.217.170.187...
Connected to allnetsols.com.
Escape character is '^]'.
220 oriental.allnetsols.com ESMTP Postfix (Debian/GNU)
Quote:
# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
fail2ban-dovecot-pop3imap tcp -- anywhere anywhere multiport dports pop3,pop3s,imap2,imaps
fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
LOCALINPUT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT udp -- google-public-dns-b.google.com anywhere udp spts:1024:65535 dpt:domain
ACCEPT tcp -- google-public-dns-b.google.com anywhere tcp spts:1024:65535 dpt:domain
ACCEPT udp -- google-public-dns-b.google.com anywhere udp spt:domain dpts:1024:65535
ACCEPT tcp -- google-public-dns-b.google.com anywhere tcp spt:domain dpts:1024:65535
ACCEPT udp -- google-public-dns-b.google.com anywhere udp spt:domain dpt:domain
ACCEPT udp -- google-public-dns-a.google.com anywhere udp spts:1024:65535 dpt:domain
ACCEPT tcp -- google-public-dns-a.google.com anywhere tcp spts:1024:65535 dpt:domain
ACCEPT udp -- google-public-dns-a.google.com anywhere udp spt:domain dpts:1024:65535
ACCEPT tcp -- google-public-dns-a.google.com anywhere tcp spt:domain dpts:1024:65535
ACCEPT udp -- google-public-dns-a.google.com anywhere udp spt:domain dpt:domain
INVALID tcp -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp-data
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:domain
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:www
ACCEPT tcp -- anywhere anywhere state NEW tcp dptop3
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:imap2
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssmtp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:submission
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:imaps
ACCEPT tcp -- anywhere anywhere state NEW tcp dptop3s
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http-alt
ACCEPT udp -- anywhere anywhere state NEW udp dpt:20
ACCEPT udp -- anywhere anywhere state NEW udp dpt:fsp
ACCEPT udp -- anywhere anywhere state NEW udp dpt:domain
ACCEPT icmp -- anywhere anywhere icmp echo-request limit: avg 1/sec burst 5
ACCEPT icmp -- anywhere anywhere icmp echo-reply limit: avg 1/sec burst 5
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
LOGDROPIN all -- anywhere anywhere

Chain FORWARD (policy DROP)
target prot opt source destination

Chain OUTPUT (policy DROP)
target prot opt source destination
LOCALOUTPUT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp spt:domain
ACCEPT udp -- anywhere anywhere udp spt:domain
INVALID tcp -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp-data
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:domain
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:www
ACCEPT tcp -- anywhere anywhere state NEW tcp dptop3
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:auth
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
ACCEPT udp -- anywhere anywhere state NEW udp dpt:20
ACCEPT udp -- anywhere anywhere state NEW udp dpt:fsp
ACCEPT udp -- anywhere anywhere state NEW udp dpt:domain
ACCEPT udp -- anywhere anywhere state NEW udp dpt:113
ACCEPT udp -- anywhere anywhere state NEW udp dpt:ntp
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp echo-request
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
LOGDROPOUT all -- anywhere anywhere

Chain INVALID (2 references)
target prot opt source destination
INVDROP all -- anywhere anywhere state INVALID
INVDROP tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,PSH,ACK,URG/NONE
INVDROP tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,SYN,RST,PSH,ACK,URG
INVDROP tcp -- anywhere anywhere tcp flags:FIN,SYN/FIN,SYN
INVDROP tcp -- anywhere anywhere tcp flags:SYN,RST/SYN,RST
INVDROP tcp -- anywhere anywhere tcp flags:FIN,RST/FIN,RST
INVDROP tcp -- anywhere anywhere tcp flags:FIN,ACK/FIN
INVDROP tcp -- anywhere anywhere tcp flags:PSH,ACK/PSH
INVDROP tcp -- anywhere anywhere tcp flags:ACK,URG/URG
INVDROP tcp -- anywhere anywhere tcp flags:!FIN,SYN,RST,ACK/SYN state NEW

Chain INVDROP (10 references)
target prot opt source destination
DROP all -- anywhere anywhere

Chain LOCALINPUT (1 references)
target prot opt source destination
ACCEPT all -- 115.42.67.221 anywhere

Chain LOCALOUTPUT (1 references)
target prot opt source destination
ACCEPT all -- anywhere 115.42.67.221

Chain LOGDROPIN (1 references)
target prot opt source destination
DROP tcp -- anywhere anywhere tcp dpt:bootps
DROP udp -- anywhere anywhere udp dpt:bootps
DROP tcp -- anywhere anywhere tcp dpt:bootpc
DROP udp -- anywhere anywhere udp dpt:bootpc
DROP tcp -- anywhere anywhere tcp dpt:sunrpc
DROP udp -- anywhere anywhere udp dpt:sunrpc
DROP tcp -- anywhere anywhere tcp dpt:auth
DROP udp -- anywhere anywhere udp dpt:113
DROP tcp -- anywhere anywhere tcp dpts:loc-srv:netbios-ssn
DROP udp -- anywhere anywhere udp dpts:loc-srv:netbios-ssn
DROP tcp -- anywhere anywhere tcp dpt:microsoft-ds
DROP udp -- anywhere anywhere udp dpt:microsoft-ds
DROP tcp -- anywhere anywhere tcp dpt:isakmp
DROP udp -- anywhere anywhere udp dpt:isakmp
DROP tcp -- anywhere anywhere tcp dpt:login
DROP udp -- anywhere anywhere udp dpt:who
DROP tcp -- anywhere anywhere tcp dpt:520
DROP udp -- anywhere anywhere udp dpt:route
LOG tcp -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning prefix `Firewall: *TCP_IN Blocked* '
LOG udp -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning prefix `Firewall: *UDP_IN Blocked* '
LOG icmp -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning prefix `Firewall: *ICMP_IN Blocked* '
DROP all -- anywhere anywhere

Chain LOGDROPOUT (1 references)
target prot opt source destination
LOG tcp -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning prefix `Firewall: *TCP_OUT Blocked* '
LOG udp -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning prefix `Firewall: *UDP_OUT Blocked* '
LOG icmp -- anywhere anywhere limit: avg 30/min burst 5 LOG level warning prefix `Firewall: *ICMP_OUT Blocked* '
DROP all -- anywhere anywhere

Chain fail2ban-dovecot-pop3imap (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Quote:
# ifconfig
eth0 Link encap:Ethernet HWaddr 54:52:00:01:10:36
inet addr:10.1.7.42 Bcast:10.1.7.47 Mask:255.255.255.248
inet6 addr: fe80::5652:ff:fe01:1036/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:323886 errors:0 dropped:0 overruns:0 frame:0
TX packets:197267 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:368317423 (351.2 MiB) TX bytes:66684509 (63.5 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:55067 errors:0 dropped:0 overruns:0 frame:0
TX packets:55067 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6150612 (5.8 MiB) TX bytes:6150612 (5.8 MiB)
Require some assistance.

Thanks in advance.

Last edited by onlinewebs; 10th September 2011 at 10:14.
Reply With Quote
Sponsored Links
  #2  
Old 11th September 2011, 10:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Are there any errors in your mail log (in the /var/log/ directory)?

Does Outlook give you any error messages?
__________________
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 11th September 2011, 15:26
onlinewebs onlinewebs is offline
Junior Member
 
Join Date: Sep 2011
Posts: 16
Thanks: 3
Thanked 1 Time in 1 Post
Default

Thank you for the response.

Once I test the Account in Outlook, it just reports that it cannot connect to SMTP server. Login to the incoming server(POP3) is fine.

Here is the mail.log

Sep 11 09:18:14 oriental postfix/smtpd[4743]: 00B9B40E360: client=localhost[127.0.0.1]
Sep 11 09:18:14 oriental postfix/cleanup[4734]: 00B9B40E360: message-id=<20110911131812.988DA40E36B@oriental.all$
Sep 11 09:18:14 oriental postfix/qmgr[3861]: 00B9B40E360: from=<root@oriental.allnetsols.com>, size=12112, nrcpt$
Sep 11 09:18:14 oriental postfix/smtpd[4743]: disconnect from localhost[127.0.0.1]
Sep 11 09:18:14 oriental postfix/local[4744]: 00B9B40E360: to=<administrator@oriental.allnetsols.com>, orig_to=<$
Sep 11 09:18:14 oriental postfix/qmgr[3861]: 00B9B40E360: removed
Sep 11 09:18:14 oriental amavis[4311]: (04311-05) Passed CLEAN, <root@oriental.allnetsols.com> -> <root@oriental$
Sep 11 09:18:14 oriental postfix/smtp[4738]: 988DA40E36B: to=<root@oriental.allnetsols.com>, orig_to=<root>, rel$
Sep 11 09:18:14 oriental postfix/qmgr[3861]: 988DA40E36B: removed

My Incoming mail server is set to pop.mydomain.com
My Outgoing mail server is set to smtp.mydomain.com

(Where mydomain is the actual domain for which I am checking mail)

Im my Outlook settings I have checked "My Outgoing SMTP server requires Authentication".

I am using standard ports 110 and 25 for incoming and outgoing mails.

I even tried to use Thunderbird client, and an alternate ISP to see if that was a problem, but it just didn't work.

What am I doing wrong?
Reply With Quote
  #4  
Old 12th September 2011, 13:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Did you create an A record for smtp.mydomain.com?

What's the output of
Code:
netstat -tap
?
__________________
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
  #5  
Old 12th September 2011, 19:54
onlinewebs onlinewebs is offline
Junior Member
 
Join Date: Sep 2011
Posts: 16
Thanks: 3
Thanked 1 Time in 1 Post
 
Default

It seems my ISP has blocked port 25 for sending out emails. I could not establish a connection with SMTP on port 25 using telnet. I have changed ports as per the instructions given at:-

http://www.faqforge.com/linux/how-to...ix-mailserver/

Additionally, I also id not have an A record for SMTP in the DNS zones. I have added that record.

My netstat is as below. however, I believe the issue is SOLVED.

Thanks again for extending the help

Quote:
# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *op3 *:* LISTEN 3178/dovecot
tcp 0 0 *:imap2 *:* LISTEN 3178/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 668/portmap
tcp 0 0 *:ssmtp *:* LISTEN 2130/master
tcp 0 0 *:ftp *:* LISTEN 2195/pure-ftpd (SER
tcp 0 0 10.1.7.42:domain *:* LISTEN 979/named
tcp 0 0 localhost:domain *:* LISTEN 979/named
tcp 0 0 *:smtp *:* LISTEN 2130/master
tcp 0 0 localhost:953 *:* LISTEN 979/named
tcp 0 0 *:56733 *:* LISTEN 689/rpc.statd
tcp 0 0 *:3456 *:* LISTEN 2159/perl
tcp 0 0 *:imaps *:* LISTEN 3178/dovecot
tcp 0 0 *op3s *:* LISTEN 3178/dovecot
tcp 0 0 localhost:10024 *:* LISTEN 1335/amavisd (maste
tcp 0 0 localhost:10025 *:* LISTEN 2130/master
tcp 0 0 *:2345 *:* LISTEN 1983/sshd
tcp 0 0 *:mysql *:* LISTEN 1939/mysqld
tcp 0 0 localhost:41154 localhost:mysql ESTABLISHED 3941/proxymap
tcp 0 0 localhost:mysql localhost:41156 ESTABLISHED 1939/mysqld
tcp 0 0 localhost:41157 localhost:mysql ESTABLISHED 3941/proxymap
tcp 0 0 localhost:10025 localhost:46451 ESTABLISHED 4436/smtpd
tcp 0 0 localhost:mysql localhost:41154 ESTABLISHED 1939/mysqld
tcp 0 0 localhost:41153 localhost:mysql ESTABLISHED 4657/amavisd (ch5-a
tcp 0 0 localhost:10025 localhost:46447 TIME_WAIT -
tcp 0 0 localhost:10025 localhost:46445 TIME_WAIT -
tcp 0 0 localhost:48629 localhost:10024 TIME_WAIT -
tcp 0 0 localhost:mysql localhost:41155 ESTABLISHED 1939/mysqld
tcp 0 0 localhost:mysql localhost:41159 ESTABLISHED 1939/mysqld
tcp 0 0 localhost:41156 localhost:mysql ESTABLISHED 3941/proxymap
tcp 0 0 localhost:41155 localhost:mysql ESTABLISHED 4354/cleanup
tcp 0 0 10.1.7.42:2345 host-63-net-12-16:10048 ESTABLISHED 1674/0
tcp 0 0 localhost:mysql localhost:41153 ESTABLISHED 1939/mysqld
tcp 0 780 10.1.7.42:2345 host-63-net-12-16:10252 ESTABLISHED 4766/1
tcp 0 0 localhost:46451 localhost:10025 ESTABLISHED 4716/amavisd (ch5-a
tcp 0 0 localhost:41159 localhost:mysql ESTABLISHED 4716/amavisd (ch5-a
tcp 0 0 localhost:10025 localhost:46452 TIME_WAIT -
tcp 0 0 localhost:mysql localhost:41157 ESTABLISHED 1939/mysqld
tcp6 0 0 [::]:http-alt [::]:* LISTEN 1355/apache2
tcp6 0 0 [::]:www [::]:* LISTEN 1355/apache2
tcp6 0 0 [::]:tproxy [::]:* LISTEN 1355/apache2
tcp6 0 0 [::]:ftp [::]:* LISTEN 2195/pure-ftpd (SER
tcp6 0 0 [::]:domain [::]:* LISTEN 979/named
tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 979/named
tcp6 0 0 [::]:https [::]:* LISTEN 1355/apache2
tcp6 0 0 [::]:2345 [::]:* LISTEN 1983/sshd
tcp6 0 0 10.1.7.42%30748768:www 183.177.122.26%30:65326 TIME_WAIT -
tcp6 0 0 10.1.7.42%30748768:www 183.177.122.26%30:65309 TIME_WAIT -
tcp6 0 0 10.1.7.42%30748768:www 183.177.122.26%30:65319 TIME_WAIT -
tcp6 0 0 10.1.7.42%30748768:www 183.177.122.26%30:65332 ESTABLISHED 24426/apache2
Reply With Quote
The Following User Says Thank You to onlinewebs For This Useful Post:
falko (13th September 2011)
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
ISPConfig "backend" completely unfunctional after a restart Xaymar Installation/Configuration 1 22nd August 2011 22:31
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 22:41
can't send/receive mail fedora 12 - ispconfig 3 ev0css Installation/Configuration 9 17th May 2010 21:44
ISPConfig 3 Send/Receive mail not working. Acidut General 6 4th April 2010 11:24
Mail not working epicuniversal General 5 13th June 2009 08:24


All times are GMT +2. The time now is 07:57.


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