LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-03-2013, 06:18 AM   #1
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193
Blog Entries: 5

Rep: Reputation: 3
Post Mail Confiuration on Ubuntu 12


Helo All,

We had installed Post-fix mail service on Ubuntu 12.0.4 server. Configure dovecot also.
For this activity i refer Ubuntu's share document.

1) I am able to telnet SMTP protocol.
2) But POP3 not telnet.
----------------------------------------------
ganesh@ubuntu:~$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix (Ubuntu)
bye
502 5.5.2 Error: command not recognized
quit
221 2.0.0 Bye
Connection closed by foreign host.
ganesh@ubuntu:~$ telnet localhot 110
telnet: could not resolve localhot/110: Name or service not known
ganesh@ubuntu:~$ sudo /etc/init.d/dovecot restart
[sudo] password for ganesh:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service dovecot restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop dovecot ; start dovecot. The restart(8) utility is also available.
dovecot start/running, process 1457
ganesh@ubuntu:~$ telnet locahost 110
-----------------------------------------------------------

Please suggest what i can do further. I will do my level the best. Thanks team for you support and guideline.
 
Old 09-03-2013, 08:57 AM   #2
dinakumar12
Member
 
Registered: Mar 2010
Location: INDIA (chennai)
Distribution: centos
Posts: 271
Blog Entries: 7

Rep: Reputation: 18
Can you post the output of telnet localhost 110.Because you have tried with localhot instead of localhost.
 
Old 09-03-2013, 09:00 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,604

Rep: Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960
Quote:
Originally Posted by ganesh24pal@gmail.com View Post
Helo All,
We had installed Post-fix mail service on Ubuntu 12.0.4 server. Configure dovecot also. For this activity i refer Ubuntu's share document.

1) I am able to telnet SMTP protocol.
2) But POP3 not telnet.

ganesh@ubuntu:~$ telnet localhot 110
telnet: could not resolve localhot/110: Name or service not known
Did you see the typo??? You typed in "localhot", not localhost.
Quote:
ganesh@ubuntu:~$ sudo /etc/init.d/dovecot restart
[sudo] password for ganesh:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service dovecot restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop dovecot ; start dovecot. The restart(8) utility is also available.
dovecot start/running, process 1457
ganesh@ubuntu:~$ telnet locahost 110
-----------------------------------------------------------
Please suggest what i can do further. I will do my level the best. Thanks team for you support and guideline.
...and did you READ and UNDERSTAND the message the system gave you?? You ran it as /etc/init.d/dovecot restart, when it specifically tells you NOT TO, and tells you you might have to perform other steps to get that to work. Did you bother to try "service dovecot restart", as it told you?? "service dovecot stop" and then "start"????

You also don't say what guide you followed, or if you have any firewalls/selinux/iptables running.
 
Old 09-04-2013, 03:56 AM   #4
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193

Original Poster
Blog Entries: 5

Rep: Reputation: 3
ganesh@ubuntu:/$ telnet localhost 110
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
ganesh@ubuntu:/$ sudo dovecot restart
doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:21: 'imaps' protocol is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:21: 'pop3s' protocol is no longer necessary, remove it
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 93: Unknown setting: mechanisms
----------------------------------------------------------------------------------------------------

I used ubuntus serverguide.pdf

Last edited by ganesh24pal@gmail.com; 09-04-2013 at 03:59 AM.
 
Old 09-04-2013, 08:24 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,604

Rep: Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960
Quote:
Originally Posted by ganesh24pal@gmail.com View Post
ganesh@ubuntu:/$ telnet localhost 110
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
ganesh@ubuntu:/$ sudo dovecot restart
doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:21: 'imaps' protocol is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:21: 'pop3s' protocol is no longer necessary, remove it
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 93: Unknown setting: mechanisms
----------------------------------------------------------------------------------------------------
Ok, you still haven't run "service dovecot restart" as it was suggested to you, or stopped/started things manually. And did you not read/understand the fatal error message that you got??? It's very plainly telling you there's an error in your dovecot.conf file, and even tells you what LINE it's on. Doesn't get much more plain than that. Did you LOOK at that line? Try to FIX that error????
Quote:
I used ubuntus serverguide.pdf
...which STILL tells us nothing. You don't say where you got it, or provide a link, so we have NO IDEA what you've followed.
 
Old 09-05-2013, 01:30 AM   #6
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193

Original Poster
Blog Entries: 5

Rep: Reputation: 3
Quote:
Originally Posted by TB0ne View Post
Ok, you still haven't run "service dovecot restart" as it was suggested to you, or stopped/started things manually. And did you not read/understand the fatal error message that you got??? It's very plainly telling you there's an error in your dovecot.conf file, and even tells you what LINE it's on. Doesn't get much more plain than that. Did you LOOK at that line? Try to FIX that error????

...which STILL tells us nothing. You don't say where you got it, or provide a link, so we have NO IDEA what you've followed.
/
ganesh@ubuntu:/$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix (Ubuntu)
quit
221 2.0.0 Bye
Connection closed by foreign host.
ganesh@ubuntu:/$ telnet localhost ^C
ganesh@ubuntu:/$ telnet localhost 110
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
ganesh@ubuntu:/$ sudo service dovecot restart
[sudo] password for ganesh:
stop: Unknown instance:
dovecot start/running, process 1646
ganesh@ubuntu:/$ telnet localhost 110
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
ganesh@ubuntu:/$
----------------------------------------------------------------------------
https://help.ubuntu.com/lts/serverguide/serverguide.pdf
 
Old 09-05-2013, 08:50 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,604

Rep: Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960
Quote:
Originally Posted by ganesh24pal@gmail.com View Post
/
ganesh@ubuntu:/$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix (Ubuntu)
quit
221 2.0.0 Bye
Connection closed by foreign host.
ganesh@ubuntu:/$ telnet localhost ^C
ganesh@ubuntu:/$ telnet localhost 110
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
ganesh@ubuntu:/$ sudo service dovecot restart
[sudo] password for ganesh:
stop: Unknown instance:
dovecot start/running, process 1646
ganesh@ubuntu:/$ telnet localhost 110
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
ganesh@ubuntu:/$
----------------------------------------------------------------------------
https://help.ubuntu.com/lts/serverguide/serverguide.pdf
AGAIN...did you look at line 93? The part YOU POSTED in the log file, that specifically TELLS YOU that you have a fatal error?? Did you look at that line? Fix it?

Posting the same results without actually addressing the errors the system gave you is pointless.

Last edited by TB0ne; 09-05-2013 at 10:02 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Confiuration vidyasagar6 Linux - Server 2 11-29-2012 07:37 AM
WI-FI Device confiuration arshad1906 Red Hat 1 11-20-2010 06:59 AM
Ubuntu mail server stopped recieving mail. will send. Ubuntu 9 ISPconfig3 Postfix 255 kejxero Linux - Server 0 02-07-2010 06:57 PM
squid proxy confiuration+NAT deepak rawat Linux - Networking 3 04-13-2006 04:07 AM
Switch Confiuration rmartine Linux - Networking 3 12-07-2004 02:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration