LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2010, 06:51 AM   #1
Basit56
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Question How can i check that dovecot is installed or not


Hi,
Hope you all will be fine. Actually i want my java code to connect to linux sendmail server. Right now i am using gmail pop protocol to connect to gmail server. So now i want to connect to sendmail server using pop and i read that using dovecot you can make sendmail to have pop and imap services. By default it has only SMTP support.
So i want to know how can i check that i have dovecot installed or not, or my sendmail has pop or imap enable or not. Means by what command.

Thank you.
 
Old 01-13-2010, 06:57 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello and welcome to LinuxQuestions,

Have a look at the wiki of Dovecot, they have a whole chapter on testing your installation. Here's the link to it:
Test Dovecot installation

Kind regards,

Eric
 
Old 01-13-2010, 07:19 AM   #3
Basit56
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,
Thanks. But it says

Quote:
Dovecot can simply be started by running dovecot as root. If there are any problems, they're usually written to terminal, but they may also be written to error log as well.
when i write dovecot then it gives me

Quote:
[root@ns9 ~]# dovecot
-bash: dovecot: command not found
[root@ns9 ~]#
So is it means that i have not dovecot installed. Also when i try

Quote:
[root@ns9 ~]# yum install dovecot
Setting up Install Process
Setting up repositories
dag 100% |=========================| 1.1 kB 00:00
update 100% |=========================| 951 B 00:00
rpmforge 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package dovecot.i386 0:0.99.11-9.EL4 set to be updated
--> Running transaction check
--> Processing Dependency: libmysqlclient.so.14 for package: dovecot
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: dovecot
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package mysql.i386 0:4.1.22-2.el4 set to be updated
--> Running transaction check
--> Processing Dependency: MySQL-client for package: MySQL-bench
--> Finished Dependency Resolution
Error: Missing Dependency: MySQL-client is needed by package MySQL-bench
Why this error is coming. If any dependency is miss then yum should install it automatically because yum install all dependencies by itself.

Thank you
 
Old 01-13-2010, 07:25 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

It looks like you don't have Dovecot installed.

Well, apparently yum doesn't do what you think it should do. When you look at the output you posted, you'll see on the bottom line
Code:
Error: Missing Dependency: MySQL-client is needed by package MySQL-bench
which means that this package is missing and the install depends on it. I'm not familiar with yum, never used it, but it seems to me that it doesn't install automatically what's needed as dependencies. So first install the mysql-client and then try again.

Kind regards,

Eric
 
Old 01-14-2010, 01:50 AM   #5
Basit56
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,
Thanks. I want to ask that when i type ps command it gives me.

Quote:
[root@ns9 /]# ps -ef | grep dovecot
root 7898 7813 0 16:53 pts/0 00:00:00 grep dovecot
[root@ns9 /]#
So what it means do i have doveoct installed or not.

Also please tell me that is dovecot woks with sendmail? Means if i want connect my code to sendmail(linux mail server) whether i need dovecot or not.

Thank you.
 
Old 01-14-2010, 02:11 AM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

The output you get from the ps command you listed is the grep command itself since it contains dovecot in the search. This output indicates that Dovecot is not running, not that it's installed or not.

All depends on what you want to do with your mail server. Have a look at http://www.howtoforge.com, they have some very easy to follow step by step guides for various setups, including sendmail, dovecot, and so on.

Kind regards,

Eric
 
  


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
How do I check if PHP is installed? imsam Linux - Newbie 8 02-13-2012 03:51 PM
Strange dovecot logs (check pass; user unknown) 3dMaster Linux - Server 3 04-14-2008 08:24 AM
how to check if a packet is installed htamayo Debian 5 05-09-2007 03:20 AM
How do I check what wm I have installed. mlsbraves *BSD 12 12-08-2004 11:25 PM
How do I check if Apache is installed? jmg1894 Linux - Newbie 4 07-15-2004 03:23 PM


All times are GMT -5. The time now is 11:08 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration