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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th September 2008, 17:56
faifas faifas is offline
Junior Member
 
Join Date: Sep 2008
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Default ISPCconfig 2.x Ubuntu 8.04 SMTP send mail problem

Hey dear fellows,

I've came up with a new problem.
I can receive e-mails with Mozilla thunderbird, but I can't send them.
I've also installed UebiMiau webmail and sending mails through it works just fine.
In Mozilla thunderbird, I've tried to edit my SMTP options to "TLS, if available", "TLS", "SSL".

When I did SSL port was changed to something like 465. When trying to connect to that port I've got same error message that is:

"The message could not be sent because connecting to SMTP server ... failed. The server may be unavailable or is refusing SMTP connections."

So, I've changed SMTP port (in mozilla thunderbird) back to 25 and I still get same error.

Tried telnetting to my server, everything seems to be fine.

Telnet output:

telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 vennezia.com ESMTP Postfix (Ubuntu)
ehlo localhost
250-vennezia.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.


Do you have any ideas?

Thanks in advance,
Faifas
Reply With Quote
Sponsored Links
  #2  
Old 27th September 2008, 10:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

Please post the output of:

iptables -L
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th September 2008, 13:45
faifas faifas is offline
Junior Member
 
Join Date: Sep 2008
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I did not enable firewall in ISPconfig and any other service, so iptables are empty.

The output:

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Still have no ideas what's going on.
Reply With Quote
  #4  
Old 27th September 2008, 14:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What's the output of
Code:
netstat -tap
?
Any errors in the mail log?
Do you use a personal firewall on your PC?
__________________
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 27th September 2008, 14:42
soho soho is offline
Member
 
Join Date: Jun 2007
Posts: 68
Thanks: 17
Thanked 3 Times in 3 Posts
Default

When you use private IP is necessary to enable the firewall in ISPConfig.

Management/Server/Services => firewall on
__________________
Sergio Souza
SoHo - Small Office Service Office

If anything can go wrong, will, and will give wrong in the worst way, in the worst moment and in order to cause the most damage possible. (Murphy's Law)
Reply With Quote
  #6  
Old 28th September 2008, 20:23
faifas faifas is offline
Junior Member
 
Join Date: Sep 2008
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Default

root@whatever:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:mysql *:* LISTEN 22008/mysqld
tcp 0 0 *:www *:* LISTEN 7437/apache2
tcp 0 0 *:81 *:* LISTEN 11341/ispconfig_htt
tcp 0 0 server.whatever.:domain *:* LISTEN 21454/named
tcp 0 0 localhost:domain *:* LISTEN 21454/named
tcp 0 0 localhost:ipp *:* LISTEN 4652/cupsd
tcp 0 0 *:smtp *:* LISTEN 32365/master
tcp 0 0 localhost:953 *:* LISTEN 21454/named
tcp 0 0 *:https *:* LISTEN 7437/apache2
tcp6 0 0 [::]:imaps [::]:* LISTEN 8308/couriertcpd
tcp6 0 0 [::]op3s [::]:* LISTEN 8211/couriertcpd
tcp6 0 0 [::]op3 [::]:* LISTEN 8144/couriertcpd
tcp6 0 0 [::]:imap2 [::]:* LISTEN 8249/couriertcpd
tcp6 0 0 [::]:ftp [::]:* LISTEN 32253/proftpd: (acc
tcp6 0 0 [::]:ssh [::]:* LISTEN 5603/sshd
tcp6 0 0 [::]:smtp [::]:* LISTEN 32365/master
tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 21454/named
tcp6 0 1632 server.whatever.com:ssh ctv-213-164-120-57:1592 ESTABLISHED 17567/1



Note: enabled firewall, still facing the same problem :|

Last edited by faifas; 28th September 2008 at 20:29.
Reply With Quote
  #7  
Old 29th September 2008, 18:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Are there any errors in your mail log?
__________________
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 29th September 2008, 19:21
faifas faifas is offline
Junior Member
 
Join Date: Sep 2008
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Well,

my error log only whines about outdated ClamAV installation.

I successfully connect to receive my messages, but logs say nothing about an attempt to send a message:

Sep 29 19:13:18 Memphis imapd: Connection, ip=[::ffff:213.164.120.57]
Sep 29 19:13:22 Memphis imapd: LOGIN, user=web1_aivaras, ip=[::ffff:213.164.120.57], port=[1356], protocol=IMAP

It is weird that logs say Memphis even though hostname says otherwise

aivaras@server:~$ hostname
server.whatever.com
aivaras@server:~$ hostname -f
server.whatever.com

Is it supposed to be this way?

Another thing: my SSL to ISPconfig panel is broken (untrusted).
Tried to create it again by falko's post, still the same problem.

I believe these problems could be related, because I need to enable SSL setting when sending an e-mail.

Another thing: I was listed in The Spamhaus Project - Policy Block List (PBL) - Email Policy System, but I've removed my server's IP and I still can't send e-mails.

Any ideas?

EDIT: by the way, I saw falko asking me if I was using antivirus. Yes, in fact on my laptop I've got avast installed, disabled it - still the same.

Last edited by faifas; 29th September 2008 at 19:24.
Reply With Quote
  #9  
Old 30th September 2008, 17:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Can you try to use the server's IP address in your email client?

Quote:
Originally Posted by faifas View Post
Another thing: my SSL to ISPconfig panel is broken (untrusted).
Tried to create it again by falko's post, still the same problem.

I believe these problems could be related, because I need to enable SSL setting when sending an e-mail.
Did you accept all default values when you created the certificate?

What message exactly do you see in the browser? Is it Firefox 3? Then you may have to add an exception.
__________________
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
  #10  
Old 30th September 2008, 21:24
faifas faifas is offline
Junior Member
 
Join Date: Sep 2008
Posts: 14
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

No, I did not accept default values, I've changed them to my own.
Yes, I use Firefox 3 and I had to add an exception.

Changed my SMTP server to an IP address, still the same, connecting forever.
Reply With Quote
Reply

Bookmarks

Tags
smtp sending problem

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
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 12:14
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 09:27
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 25th July 2006 00:16
Error Uebimiau SMTP no send mail out jfruano Installation/Configuration 14 29th March 2006 14:13
POP3 SMTP FTP problem arsu Installation/Configuration 1 11th November 2005 10:32


All times are GMT +2. The time now is 09:00.


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