Cannot deliver mail with 2.3.3-1 returns "Unexpected internal
error"
John Basile
jb1 at combatwombat.net
Wed Apr 12 07:19:50 EDT 2006
Hi Ken,
Sorry to be ambiguous, but I did a little too much previous editing.
Ok,
I have previously set local6.debug to /var/log/imapd.log and nothing appears
there !, I am guessing the debug has been turned off when compiled.
The config I have been using for quite some time (couple of cyrus upgrades
to 2.2.12) is as follows.
I set unixhierarchysep=no
The setup uses pam to use winbind that binds to a win2003 server.
I have a user jbasile and I deliver mail to jbasile.inbox using an alias.
All of the imap authentication works great, sieve is another matter and
probably another forum.
All users use either outlook and squirrelmail depending on their locations.
All of this works great on 2.2.12, note that this particular imap server
hosts 50+ (and growing) users over 5 locations.
The reason that I need 2.3.3 is that I want to do is sync to another couple
of servers for site redundancy and distributed mail server access.
Using the same config files on both versions produces different results.
----------------------------------------
Here is the 2.2.12 that works
# telnet 127.0.0.1 lmtp
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 merald LMTP Cyrus v2.2.12-Invoca-RPM-2.2.12-1.1.fc3 ready
lhlo qw.com
250-merald
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-SIZE
250-AUTH EXTERNAL
250 IGNOREQUOTA
mail from:<my at my.com>
250 2.1.0 ok
rcpt to:<jbasile.inbox>
250 2.1.5 ok
data
354 go ahead
.
250 2.1.5 Ok
quit
221 2.0.0 bye
Connection closed by foreign host.
----------------------------------------
Here is the 2.3.3-1
# telnet 127.0.0.1 lmtp
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 merald LMTP Cyrus v2.3.3-Invoca-RPM-2.3.3-1 ready
lhlo qw.com
250-merald
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-SIZE
250-AUTH EXTERNAL
250 IGNOREQUOTA
mail from:<my at my.com>
250 2.1.0 ok
rcpt to:<jbasile.inbox>
250 2.1.5 ok
data
354 go ahead
.
554 5.0.0 Unexpected internal error
quit
221 2.0.0 bye
Connection closed by foreign host.
----------------------------------------
I hope that this make more sense
Thanks
John
-----Original Message-----
From: Ken Murchison [mailto:murch at andrew.cmu.edu]
Sent: Tuesday, 11 April 2006 11:12 PM
To: John Basile
Cc: info-cyrus at lists.andrew.cmu.edu
Subject: Re: Cannot deliver mail with 2.3.3-1 returns "Unexpected internal
error"
John Basile wrote:
> Hi Ken
>
> Not much, is there a way of increasing verbosity in the maillog ?.
You can set the logging level to local6.debug in syslog.conf.
Looking at the log and telnet session, I have a few questions:
>
> Apr 10 20:33:44 meral lmtp[3248]: accepted connection Apr 10 20:33:44
> meral lmtp[3248]: connection from localhost.localdomain [127.0.0.1]
> preauth'd as postman Apr 10 20:34:22 meral lmtp[3248]: IOERROR:
> fstating sieve script
> /var/lib/imap/sieve/j/jbasile.inbox/defaultbc: No such file or
> directory
Do you have a user named 'jbasile.inbox'? The only way this could happen is
if you have enabled unixhierarchysep and created a user/jbasile.inbox
mailbox.
> Apr 10 20:36:52 meral master[3220]: process 3248 exited, status 0
>
> I get the IOERROR when the "Unexpected internal error" happens, but I
> have always assumed its unrelated and just notifing about the missing
> sieve script ?
>
> Thanks
> John
>
>
>
> -----Original Message-----
> From: Ken Murchison [mailto:murch at andrew.cmu.edu]
> Sent: Sunday, 9 April 2006 11:53 PM
> To: John Basile
> Cc: info-cyrus at lists.andrew.cmu.edu
> Subject: Re: Cannot deliver mail with 2.3.3-1 returns "Unexpected
> internal error"
>
> John Basile wrote:
>> Deliver appears to have a problem, and returns "Unexpected internal
>> error" I have tried about everything I can think of, and have
>> reverted back to 2.2.12.
>>
>> This is the test via telnet to the lmtp port
>>
>> LHLO qw.qw
>> 250-myserver.com
>> 250-8BITMIME
>> 250-ENHANCEDSTATUSCODES
>> 250-PIPELINING
>> 250-SIZE
>> 250-AUTH EXTERNAL
>> 250 IGNOREQUOTA
>> mail from:<my at my.com>
>> 250 2.1.0 ok
>> rcpt to:<my.inbox>
Do you have a user named 'my.inbox'?
I think you have misconfigured/misunderstand the way Cyrus works.
>> 250 2.1.5 ok
>> data
>> 354 go ahead
>> .
>> 554 5.0.0 Unexpected internal error
>>
>> This happens for all users / mailbox's so I all users from the DB and
>> created one for the test it also didn't work, then tried a vanilla
>> install 2.3.3-1 and no go.
>>
>> Some info on extra tracing would be appreciated and any help would be
>> great
>
> What errors are you seeing in the logs?
>
> --
> Kenneth Murchison
> Project Cyrus Developer/Maintainer
> Carnegie Mellon University
>
> ----
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ:
> http://cyruswiki.andrew.cmu.edu List Archives/Info:
> http://asg.web.cmu.edu/cyrus/mailing-list.html
>
--
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University
More information about the Info-cyrus
mailing list