Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Almost there (email)
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 26th May 21:09
grant
External User
 
Posts: 1
Default Almost there (email)



When I try to log in to squirrelmail I get ERROR : "Connection dropped
by imap-server."

I think I'm close to being able to log in because when I enter the
wrong password it tells me so instead of the error message above. It
seems like the error I'm getting is pretty vague and Google searches
are not helpful. Where can I look for more info about what's going on
here? I'm using squirrelmail with postfix and courier-imap.

- Grant

--
gentoo-user@gentoo.org mailing list
  Reply With Quote


  sponsored links


2 26th May 21:09
ajai khattri
External User
 
Posts: 1
Default Almost there (email)



What does /var/log/maillog say?

--
Aj.
Sys. Admin / Developer

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
3 26th May 21:09
nick rout
External User
 
Posts: 1
Default Almost there (email)


have you tried any other mail clients? pretty well all of them do imap.

have oked in your logs? you didn't mention it so i assume you didn't

and for heaven's sake read understand and follow this:

http://www.catb.org/~esr/faqs/smart-questions.html

On Tue, 28 Sep 2004 20:08:10 -0700

Nick Rout <nick@rout.co.nz>


--
gentoo-user@gentoo.org mailing list
  Reply With Quote
4 26th May 21:09
grant
External User
 
Posts: 1
Default Almost there (email)


I definitely don't have that file. Should I?

- Grant

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
5 26th May 21:09
grant
External User
 
Posts: 1
Default Almost there (email)


I'd love to know where to look. I've tried locate commands and
Googling and can't figure out where courier-imap logs.

- Grant

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
6 26th May 21:10
grant
External User
 
Posts: 1
Default Almost there (email)


UPDATE

I created the .maildir directory in /home/user/ and set its owner and
group and I can now log into squirrelmail but I get:

ERROR : Connection dropped by imap-server.
Query: SUBSCRIBE "INBOX.Sent"

in the left frame, and:

ERROR : Could not complete request.
Query: SELECT "INBOX"
Reason Given: Unable to open this mailbox.

in the main frame.

I noticed the .Sent directory was created in /home/user/.maildir/ and
there are files and directories within that directory. Any
suggestions?

- Grant

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
7 26th May 21:10
ajai khattri
External User
 
Posts: 1
Default Almost there (email)


Its where courier-imap normally logs stuff. You could try creating the
file and then restart courier - do "touch /var/log/maillog &&
/etc/init.d/courier-imap restart".

Is courier running? Do "ps -ef" to check.

If it isn't running try starting it "/etc/init.d/courier-imap
start". If it fails to start look in /var/log/messages

If it is running, then it should be listening on ports 110 and 143 - run
"netstat -an --inet" you should see entries like this:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:143 0.0.0.0:* LISTEN

You can manually test POP3 logins like this:

# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.
USER ajai@bway.net
+OK Password required.
PASS ******
+OK logged in.
QUIT
+OK Bye-bye.
Connection closed by foreign host.

Note: (I replaced my password with ******).

BTW, Courier users the FULL email address as the username when logging in
with POP3 or IMAP.

Basically, just be systematic about troubleshooting and you will find the
problem eventually...


--
Aj.
Sys. Admin / Developer

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
8 26th May 21:10
ajai khattri
External User
 
Posts: 1
Default Almost there (email)


Try logging out and back in again, see if that resets anything.

My guess is that squirrelmail looks for certain IMAP folders and barfs
when they dont exist... you may also want to check permissions on those
folders.


--
Aj.
Sys. Admin / Developer

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
9 26th May 21:10
nick rout
External User
 
Posts: 1
Default Almost there (email)


creating the maildir with mkdir does not work. you must use maildirmake.

which instructions are you working from?

the log file may be /var/log/mail.log (note the dot in the filename)

of course i assume you would know that because you would have looked for
likely file names in /var/log - wouldn't you?

is postfixe set up to deliver to maildirs? or is it delivering to
procmail which is delivering to maildirs?


On Tue, 28 Sep 2004 21:05:20 -0700

Nick Rout <nick@rout.co.nz>


--
gentoo-user@gentoo.org mailing list
  Reply With Quote
10 26th May 21:10
ajai khattri
External User
 
Posts: 1
Default Almost there (email)


Ah yes, of course. Something like "maildirmake maildir" should do it.
(You may need to remove the .maildir folder beforehand).

--
Aj.
Sys. Admin / Developer

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666