Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.