Hi, I am a new linux user.I jz setting up a mail server.Downloaded & Configured the components:CentOS,OpenLDAP,pam,dovecotMailServer,s endmial,squireelmail etc.... But wehn i want to check whether it works or not, so i open up my clientmail, wchi is Netscape 7.2. in Edit > Mail & Newsgroups Account Setting > server setting... i had put the ip address for the machine... but error pop out: Could not connect to mail server 10.XX.XX.XXX;the connection was refused. what's wrong wth it??? how to check wthere the mail server work? my second question. Dovecot dead but subsys locked aft i typed: /etc/init.d/dovecot status, it shows:dovecot dead but subsys locked. I deleted /var/lock/subsys/dovecot. but whn i start my dovecot,etc/init.d/dovecot start, same problem occur again....how to solve ths??? below is frm /var/log/maillog : Mar 19 15:17:28 hosting sendmail[3617]: m2J1EtMP003319: to=<root at localhost.localdomain>, ctladdr=<root at localhost.localdomain> (0/0), delay=06:02:32, xdelay=00:00:00, mailer=local, pri=665894, dsn=4.0.0, stat=Deferred: local mailer (/usr/libexec/dovecot/deliver) exited with EX_TEMPFAIL i am new in this. anyone can help??? appreciate ur reply....
On Mon, 24 Mar 2008, Allen Sim wrote:> I am a new linux user.I jz setting up a mail server.Downloaded & > Configured the components:CentOS,OpenLDAP,pam,dovecotMailServer,s > endmial,squireelmail etc....Okay.> But wehn i want to check whether it works or not, so i open up my > clientmail, wchi is Netscape 7.2. in Edit > Mail & Newsgroups Account > Setting > server setting... i had put the ip address for the > machine... but error pop out: Could not connect to mail server > 10.XX.XX.XXX;the connection was refused. what's wrong wth it???I don't know, let's see.> how to check wthere the mail server work? > > my second question. > Dovecot dead but subsys locked > > aft i typed: /etc/init.d/dovecot status, > it shows:dovecot dead but subsys locked. > I deleted /var/lock/subsys/dovecot. but whn i start my > dovecot,etc/init.d/dovecot start, same problem occur again....how to > solve ths??? > below is frm /var/log/maillog : > Mar 19 15:17:28 hosting sendmail[3617]: m2J1EtMP003319: > to=<root at localhost.localdomain>, ctladdr=<root at localhost.localdomain> > (0/0), delay=06:02:32, xdelay=00:00:00, mailer=local, pri=665894, > dsn=4.0.0, stat=Deferred: local mailer (/usr/libexec/dovecot/deliver) > exited with EX_TEMPFAILWhat version of Dovecot are you using? Have you read through http://wiki.dovecot.org/WhyDoesItNotWork ?> i am new in this. anyone can help??? appreciate ur reply....I don't know this 'subsys locked' thing printed by your init script. Have you tried doing '/etc/init.d/dovecot restart'? And do check out the dovecot.org page I just linked. -- Asheesh. -- Emotions are alien to me. I'm a scientist. -- Spock, "This Side of Paradise", stardate 3417.3
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Mar 24, 2008 at 10:59:43AM +0800, Allen Sim wrote:> Hi, > I am a new linux user.I jz setting up a mail server.Downloaded & > Configured the components:CentOS,OpenLDAP,pam,dovecotMailServer,s > endmial,squireelmail etc.... > But wehn i want to check whether it works or not, so i open up my > clientmail, wchi is Netscape 7.2. in Edit > Mail & Newsgroups Account > Setting > server setting... i had put the ip address for the > machine... but error pop out: Could not connect to mail server > 10.XX.XX.XXX;the connection was refused. what's wrong wth it??? > > how to check wthere the mail server work?Uh, oh. So many possibilities :-) (0) Is your client running on the same box as the server? If yes, you might use 'localhost' or '127.0.0.1' as the server's address (without the quotes). This eliminates one variable. (1) Is the IMAP server running? On a console (on the server box), you can try the following: ps wwaux | grep dovecot You should see something like this: | root 4465 0.0 0.6 1948 856 ? Ss Mar14 0:00 /usr/sbin/dovecot | root 4466 0.0 1.5 8708 2084 ? S Mar14 0:00 dovecot-auth | dovecot 15609 0.0 1.1 3380 1520 ? S Mar20 0:00 imap-login | dovecot 15621 0.0 1.1 3376 1520 ? S Mar20 0:00 imap-login | dovecot 15654 0.0 1.1 3376 1520 ? S Mar20 0:00 imap-login | tomas 29283 0.0 0.5 2888 744 pts/0 S+ 05:45 0:00 grep dovecot That is, several processes belonging to dovecot (maybe on your distro the dovecot user isn't called 'dovecot', but I'd expect you to see at least /usr/sbin/dovecot and dovecot-auth) A line like the last one doesn't count -- you are seeing yourself ;-) (2) Is the IMAP server accepting connections? On the same console, try netstat -atlp. You should see a line like this: | Active Internet connections (servers and established) | Proto Recv-Q Send-Q Local Address Foreign Address State | tcp 0 0 *:imaps *:* LISTEN [more lines deleted] (with 'imaps' if you are using secure IMAP, just 'imap' when not). If (1) fails, your server is not running. Try Asheesh's suggestion (/etc/init.d/dovecot start, or whatever your OS has for starting services). If (2) fails, you'll have to go through your server's config. Come back for the next step. It's really like a big text adventure game ;-) Regards - -- tom?s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFH50J6Bcgs9XrR2kYRAnQzAJ98B723hDe41R7ykM8Pfwz/lZu+2QCfexpe TgHsSCcVhdHH14kuei8wEJw=MgfV -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Mar 24, 2008 at 05:22:36PM +0800, Allen Sim wrote: [please keep list cc'ed: this might help others]> Hi Tomas.... > Happy Easter!Same to you :-)> Great to hear from you and indeed your reply really help me a lot! My > dovecot is running now! > 1. I am running my client mail which is Netscape7.2 on laptop, not in > the mail server. > Under Netscape 7.2. in Edit > Mail & Newsgroups Account Setting > > server setting>server name. In server name i put down the mail server > ip address. what should i put in the username column? it keeps pop up > a dialog box asking me to key in password...So it seems your client "sees" the IMAP server, if I interpret that correctly?> how abt the SMTP setting? > is it the same????SMTP is completely different. You'll have to point your client to an SMTP server which is willing to accept the mails and forward them. Either you have one running on your server box, or you point directly to your ISP's SMTP server. Running an SMTP server on one's own is no trivial matter these days: spammers will work hard to mis-use it for their own mean purposes (and they are quite skilled).> 2. Or should i use thunderbird to do this???I have no experience with Netscape and little with thunderbird -- but both should work as IMAP clients, at least at a basic level. Maybe somebody else on the list knows more. Regards - -- tom?s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFH53b9Bcgs9XrR2kYRAijxAJ4++ph3AQQkd8Q7PSWT/UXNjV7QpQCfXsSt iIJmUJsNVvlUQ5HWFX+uWYY=R4BT -----END PGP SIGNATURE-----
Allen Sim wrote:> Hi, > I am a new linux user.I jz setting up a mail server.Downloaded & > Configured the components:CentOS,OpenLDAP,pam,dovecotMailServer,s > endmial,squireelmail etc.... > But wehn i want to check whether it works or not, so i open up my > clientmail, wchi is Netscape 7.2. in Edit > Mail & Newsgroups Account > Setting > server setting... i had put the ip address for the > machine... but error pop out: Could not connect to mail server > 10.XX.XX.XXX;the connection was refused. what's wrong wth it??? > > how to check wthere the mail server work? > > my second question. > Dovecot dead but subsys locked > > aft i typed: /etc/init.d/dovecot status, > it shows:dovecot dead but subsys locked. > I deleted /var/lock/subsys/dovecot. but whn i start my > dovecot,etc/init.d/dovecot start, same problem occur again....how to > solve ths??? > below is frm /var/log/maillog : > Mar 19 15:17:28 hosting sendmail[3617]: m2J1EtMP003319: > to=<root at localhost.localdomain>, ctladdr=<root at localhost.localdomain> > (0/0), delay=06:02:32, xdelay=00:00:00, mailer=local, pri=665894, > dsn=4.0.0, stat=Deferred: local mailer (/usr/libexec/dovecot/deliver) > exited with EX_TEMPFAIL > > i am new in this. anyone can help??? appreciate ur reply.... >Some small suggestions/questions to get started on understanding the problem: 1) what are the names and IP addresses of the computers involved, ie the server and other(s) where the mail client is running? 2) output of dovecot -n to see the actual dovecot configuration. 3) it might be easier to use Thunderbird as the mail client. More people (including me) are familiar with its IMAP configuration options, so it's easier to explain things. 4) are you sending/receiving email through an ISP? John Allen