Re: Problem with Dovecot
On Fri, 15 Jun 2012 16:12:39 +0100, Keir Snow wrote:
> On Thu, Jun 14, 2012 at 4:32 PM, Camaleón <noelamac@gmail.com> wrote:
>> How are you reading your e-mails? Where are the files stored? How is
>> Dovecot configured? Is it pointing to the right path from where to read
>> the user mailbox?
>
> Hmmm, in a bid to isolate the problem (and because Dovecott
> configuration looks scary) I turned off Dovecot and tried Mutt with Exim
> set up to dc_localdelivery='maildir_home'.
Mmm... default Exim4 configuration should not require for you tweak
nothing in order to send local messages so I would start from here and
once this works as expected you can start the next step but if local
mails do not work the rest will fail.
That said, try to send yourself an e-mail form the machine Exims runs:
***
sm01@stt008:~$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 stt008.linux.site ESMTP Exim 4.69 Fri, 15 Jun 2012 18:17:27 +0200
helo linux.site
250 stt008.linux.site Hello localhost [127.0.0.1]
mail from: sm01@localhost
250 OK
rcpt to: sm01@localhost
250 Accepted
data
354 Enter message, ending with "." on a line by itself
test
.
250 OK id=1SfZDk-0002H5-5i
quit
221 stt008.linux.site closing connection
Connection closed by foreign host.
***
Now you read it:
***
sm01@stt008:~$ mailx
Mail version 8.1.2 01/15/2001. Type ? for help.
"/var/mail/sm01": 1 message 1 new
>N 1 sm01@localhost Fri Jun 15 18:18 15/473
& 1
Message 1:
>From sm01@localhost Fri Jun 15 18:18:03 2012
Envelope-to: sm01@localhost
Delivery-date: Fri, 15 Jun 2012 18:18:03 +0200
From: sm01@localhost
Date: Fri, 15 Jun 2012 18:18:03 +0200
test
&
***
(by default messages are stored at "%HOME/mbox")
If this simple test fails then you better stop here, read the log and
solve the problem in first place :-)
> Though I could send mails with Mutt I could not receive any, suggesting
> the problem is indeed with Exim? I had previously been using both Mutt
> and Roundcube (via Dovecot) to get at mail.
Forget by now about Mutt/Roundcube/Dovecot/.forward "extras" and put your
efforts in making Exim to deliver your messages to the default mailbox
settings. Once this is working fine you can continue adding things to the
chain.
> Any suggestions on how to proceed? I am now thoroughly confused... there
> do seem to be a lot of frozen messages in the log, could these be
> something to do with it? For example:
>
> 2012-06-15 06:45:02 1SfD4X-0002ZH-90 Message is frozen
(...)
All those messages share the same time, they have to be all the failed
tests you've been doing.
You can try to force Exim to deliver again ("exim -d -M 1SfD4X-0002ZH-90"
where "-d" is to toggle on debug flag and "-M" is for the message
identifier) but I'm afraid until Exim is not properly configured it will
fail in the same way.
Greetings,
--
Camaleón
Reply to: