Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st February 2011, 23:19
stinson stinson is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 2
Thanked 3 Times in 3 Posts
Default Virtual Users+Postfix+Courier+CentOS problem telnet localhost 25

Hi! I'm trying to setup Postfix+Courier on my CentOS 5.5 server with the howto:
http://howtoforge.com/virtual-users-...ysql-centos5.1

I connect to pop3 (telnet localhost pop3) and it works fine but when I type the command "telnet localhost 25" i can see something like:
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.

Then the only thing I can do is to close the console. I tried to type ehlo localhost without result and also tried quit, with the same (no) result.

I hope you could help me.
Sorry about my (limited) english :S
Reply With Quote
Sponsored Links
  #2  
Old 2nd February 2011, 14:11
wayner wayner is offline
Junior Member
 
Join Date: Jan 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You are connected to your SMTP Server over telnet, you can now test the server you have to send commandos to him for this.

For example
type:

EHLO yourdomain.com

When you do
AUTH LOGIN

you could even do a login and send a mail over it.

Abit descriped here:
http://technet.microsoft.com/en-us/l...EXCHG.65).aspx
Reply With Quote
  #3  
Old 2nd February 2011, 16:38
stinson stinson is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 2
Thanked 3 Times in 3 Posts
Default

Thanks for your reply. I typed EHLO mydomain.net, EHLO server.mydomain.net, EHLO localhost, AUTH LOGIN... and nothing happens.

I also tried: o myserver.mydomain.net on telnet prompt and this is what I could see:

telnet: connect to address 172.16.xxx.xxx: Connection refused
telnet: Unable to connect to remote host: Connection refused

The smtp is listening and both iptables and selinux ar off..what can I do? Thanks
Reply With Quote
The Following User Says Thank You to stinson For This Useful Post:
AbannyvabVask (14th December 2013)
  #4  
Old 2nd February 2011, 17:50
wayner wayner is offline
Junior Member
 
Join Date: Jan 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Strange is that with quit you dont get a '221 Bye'. Sounds like a faulty postfix, probably something gone wrong when recompiling it with quota ... just a thought.
Reply With Quote
  #5  
Old 2nd February 2011, 21:01
stinson stinson is offline
Junior Member
 
Join Date: Feb 2011
Posts: 11
Thanks: 2
Thanked 3 Times in 3 Posts
Default

Hey! It's me again. I solved the problem. Well, not exactly... I have to say that I don't know which the problem was, I restarted the howto, recompiled postfix, etc.. and now it works... But I have another problem:

I tried to install squirrelmail with the howto http://www.howtoforge.com/virtual-us...-5.3-x86_64-p5

and when I type the username and password and press login in Squirrelmail an error appears
ERROR: Connection dropped by IMAP server.

In the maillog I see:

Code:
Feb  2 20:55:29 server imapd: Connection, ip=[::ffff:127.0.0.1]
Feb  2 20:55:29 server imapd: LOGIN FAILED, user=postmaster@mydomain.net, ip=[::ffff:127.0.0.1]
Feb  2 20:55:29 server imapd: authentication error: Input/output error
I've installed Thunderbird and fails too. Any suggestion?
Reply With Quote
  #6  
Old 3rd February 2011, 13:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Is postmaster@mydomain.net a valid virtual account? I guess it interferes with the postmaster system user.
__________________
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
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
Postfix Timeout after DATA from some emails treeman Server Operation 13 25th September 2013 12:51
Cannot send or receive mail farbrorc Installation/Configuration 6 24th January 2010 11:56
Help configure Postfix to use alt port 465 or 587 BoloMarkIII Installation/Configuration 10 16th March 2009 17:57
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs k1piee HOWTO-Related Questions 14 1st October 2006 13:46


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


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