Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 31st May 2008, 17:00
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko View Post
Are you sure that this is uw-imapd?
Code:
tcp        0      0 *:imap2                 *:*                     LISTEN     3881/cyrmaster
cyrmaster is the process that controls all of the Cyrus processes.
Hi falko,


Referring to the notes taken down on building this LAMP server I found an unfinished test on 2-factors One Time Password on SquirrelMail.


Ah I think the problem is here. I have installed cyrus-imapd-2.2 as well as SquirrelMail at that time.


Now on running "apt-cache policy cyrus-imapd-2.2" I can't found it. Would it be removed automatically when I installed uw-imapd later?


Could you please shed me some light. What shall I do if I need retaining cyrus-imapd-2.2 to complete the test on One Time Password?


I installed following packages;

uw-imapd
uw-imapd-ssl
uw-mailutils
gamin
ipopd
ipopd-ssl
libc-client-dev

creating /etc/c-client.cf
???

TIA


B.R.
satimis
Reply With Quote
Sponsored Links
  #12  
Old 1st June 2008, 11:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

I think uw-imapd is controlled by inetd. Can you post your /etc/inetd.conf?
__________________
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
  #13  
Old 1st June 2008, 13:37
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko View Post
I think uw-imapd is controlled by inetd. Can you post your /etc/inetd.conf?
$ cat /etc/inetd.conf
Code:
imap2   stream  tcp     nowait  root    /usr/sbin/tcpd /usr/sbin/imapd
imaps   stream  tcp     nowait  root    /usr/sbin/tcpd /usr/sbin/imapd
pop3    stream  tcp     nowait  root    /usr/sbin/tcpd /usr/sbin/ipop3d
pop3s   stream  tcp     nowait  root    /usr/sbin/tcpd /usr/sbin/ipop3d
satimis
Reply With Quote
  #14  
Old 2nd June 2008, 10:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Can you try to stop the cyrmaster process and restart inetd?
__________________
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
  #15  
Old 2nd June 2008, 13:26
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko View Post
Can you try to stop the cyrmaster process and restart inetd?
$ sudo /etc/init.d/cyrus2.2 stop
Code:
Stopping Cyrus IMAPd: cyrmaster.

$ sudo netstat -tap | grep imap2
No printout


$ sudo /etc/init.d/inetd restart
No printout


$ sudo netstat -tap | grep imap2
$ sudo netstat -tap | grep imap
Both also no printout


SquirrelMail still fails to login
Code:
Error connecting to IMAP server: localhost.
111 : Connection refused

$ tail /var/log/mail.log
Code:
Jun  2 18:32:06 lampserver cyrus/master[3889]: about to exec /usr/lib/cyrus/bin/notifyd
Jun  2 18:32:07 lampserver cyrus/ctl_cyrusdb[3888]: archiving database file: /var/lib/cyrus/annotations.db
Jun  2 18:32:07 lampserver cyrus/notify[3889]: executed
Jun  2 18:32:07 lampserver cyrus/ctl_cyrusdb[3888]: archiving log file: /var/lib/cyrus/db/log.0000000001
Jun  2 18:32:07 lampserver cyrus/ctl_cyrusdb[3888]: archiving database file: /var/lib/cyrus/mailboxes.db
Jun  2 18:32:07 lampserver cyrus/ctl_cyrusdb[3888]: archiving log file: /var/lib/cyrus/db/log.0000000001
Jun  2 18:32:07 lampserver cyrus/ctl_cyrusdb[3888]: done checkpointing cyrus databases
Jun  2 18:32:07 lampserver cyrus/master[3881]: process 3888 exited, status 0
Jun  2 18:32:13 lampserver postfix/master[4183]: daemon started -- version 2.2.10, configuration /etc/postfix
Jun  2 18:44:00 lampserver cyrus/master[3881]: exiting on SIGTERM/SIGINT

$ tail /var/log/mail.err
No Printout


I think uw-imapd is NOT running


$ ls -l /etc/hosts
Code:
-rw-r--r-- 1 root root 247 2008-05-05 04:57 /etc/hosts

$ netstat netstat -tl | grep -i imap
No printout


$ sudo /etc/init.d/dovecot restart
No printout


satimis
Reply With Quote
  #16  
Old 2nd June 2008, 18:17
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
Default

How about uninstalling the cyrus and the uw-imap,
then reinstalling just the uw-imap
Reply With Quote
  #17  
Old 3rd June 2008, 01:09
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by chipsafts View Post
How about uninstalling the cyrus and the uw-imap,
then reinstalling just the uw-imap
Hi chipsafts,


Thanks for your advice.


I have an unfinished test "One Time Password". Because I can't locate cyrus-imapd-utils and cyrus-sasl on Ubuntu repo I stopped there after installing cyrus-imapd. Then I continued setup SquirrelMail.


I'm considering erasing following packages;
uw-imapd
uw-imapd-ssl
uw-mailutils
gamin
ipopd
ipopd-ssl
libc-client-dev
etc.

which were installed on setup SquirrelMail and retaining cyrus-imapd. Because I need it to finish my pending test "One Time Password".


I'll make some search first before moving my next step. Thanks


B.R.
satimis
Reply With Quote
  #18  
Old 6th June 2008, 13:31
pantagruel pantagruel is offline
Junior Member
 
Join Date: Jun 2008
Location: Rome
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't login SquirrelMail

Hi, i have a problem with the login in squirrelmail

this is /var/log/mail.log

Please help me!!!

sorry for my english but i'm italian
Attached Files
File Type: txt maillog.txt (421 Bytes, 180 views)
Reply With Quote
  #19  
Old 6th June 2008, 17:38
pantagruel pantagruel is offline
Junior Member
 
Join Date: Jun 2008
Location: Rome
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Other informations :

The Server can send and receive email.
On server browser running http://mydomain.it/squirrelmail/src/login.php
Squirrelmail starts but unable to login with warning"ERROR: Unknown user or password incorrect"
Attached Files
File Type: txt imapd.txt (13.4 KB, 185 views)
File Type: txt master_cf.txt (4.8 KB, 170 views)
File Type: txt main_cf.txt (3.0 KB, 173 views)
File Type: txt netstat.txt (1.2 KB, 163 views)
File Type: txt pop3.txt (3.3 KB, 160 views)
Reply With Quote
  #20  
Old 7th June 2008, 11:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Which distribution are you using? Do you use virtual or syszem users for your email accounts?
__________________
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
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
Squirrelmail login domain = virtual domain vipeout Installation/Configuration 6 2nd August 2007 10:20
squirrelmail login failing t-mug Installation/Configuration 3 13th June 2007 16:55
Squirrelmail login failed. qingsina Server Operation 1 19th April 2007 04:11
Unable to authenticate to SMTP server ashkev Installation/Configuration 15 6th February 2007 17:46


All times are GMT +2. The time now is 22:29.


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