<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed"
style="font-family: -moz-fixed; font-size: 12px;" lang="x-cyrillic">Hello
everybody!
<br>
<br>
I am a Linux admin trying to move my mail
<br>
system based on qmail to the software which is more spam-protected:
<br>
exim4 + dovecot-1.0rc15 + pgsql . I've downloaded and rebuild dovecot
from src.rpm (for fc4). During
<br>
the testing stage I've discovered two troubles:
<br>
1) the problem with deliver (...I'm not sure it's a really bug). Here
is relevant part
<br>
of my /var/log/messages :
<br>
-------
<br>
Jan 3 10:40:37 serge deliver(<a class="moz-txt-link-abbreviated"
href="mailto:serge@test.net">serge@test.net</a>): auth input: <a
class="moz-txt-link-abbreviated" href="mailto:serge@test.net">serge@test.net</a>
<br>
Jan 3 10:40:37 serge deliver(<a class="moz-txt-link-abbreviated"
href="mailto:serge@test.net">serge@test.net</a>): auth input: home=<i
class="moz-txt-slash"><span class="moz-txt-tag">/</span>var/spool/mail/test.net/serge<span
class="moz-txt-tag">/</span></i>
<br>
Jan 3 10:40:37 serge deliver(<a class="moz-txt-link-abbreviated"
href="mailto:serge@test.net">serge@test.net</a>): auth input: uid=500
<br>
Jan 3 10:40:37 serge deliver(<a class="moz-txt-link-abbreviated"
href="mailto:serge@test.net">serge@test.net</a>): auth input: gid=12
<br>
Jan 3 10:40:37 serge deliver(<a class="moz-txt-link-abbreviated"
href="mailto:serge@test.net">serge@test.net</a>): setuid(500) failed:
Operation not permitted
<br>
-------
<br>
-- my system is fc4 based Linux. uid/gid are according to
/etc/dovecot-sql.conf :
<br>
user_query = SELECT maildir AS home, 500 AS uid, 12 AS gid FROM mailbox
WHERE username = '%n@%d' AND active='1'
<br>
I was trying to
<br>
chown 500.12 /var/spool/mail -R , chmod u+s ...etc, but it does
not helps. Please, help. I don't want another MDA, people adviced me
dovecot as good and well tested solution.
<br>
I have already spent about two work days to configure and test it...
<br>
<br>
2) Because of mentioned above problem deliver generates a bounce
message for exim, and
<br>
here is a bug with e-mail in the header.
<br>
It was taken "as is" from the queue of Exim -- have a look at
"Return-path:",
<br>
"envelope-from" and "Sender:" Because of these errors exim can not
deliver the message back
<br>
to sender. It freezes it, ...trying again, ...freezes ... etc...
<br>
--------------------------------------------------
<br>
1H252L-0004jZ-F3-D
<br>
This message was created automatically by mail delivery software.
<br>
<br>
A message that you sent could not be delivered to one or more of its
<br>
recipients. This is a permanent error. The following address(es)
failed:
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:serge@test.net">serge@test.net</a>
<br>
local delivery failed
<br>
<br>
------ This is a copy of the message, including all the headers.
------
<br>
<br>
Return-path: <<a class="moz-txt-link-rfc2396E"
href="mailto:testuser@test.net">"testuser@test.net"</a>@test.net>
<br>
Received: from serge.lc.test.net ([10.0.0.5])
<br>
by serge.lc.test.net with esmtpa (Exim 4.62)
<br>
(envelope-from <<a class="moz-txt-link-rfc2396E"
href="mailto:testuser@test.net">"testuser@test.net"</a>@test.net>)
<br>
id 1H252K-0004jT-U5
<br>
for <a class="moz-txt-link-abbreviated" href="mailto:serge@test.net">serge@test.net</a>;
Wed, 03 Jan 2007 14:16:05 +0200
<br>
Message-ID: <a class="moz-txt-link-rfc2396E"
href="mailto:459B9E84.9070607@test.net"><459B9E84.9070607@test.net></a>
<br>
Date: Wed, 03 Jan 2007 14:16:04 +0200
<br>
From: test uset <a class="moz-txt-link-rfc2396E"
href="mailto:testuser@test.net"><testuser@test.net></a>
<br>
User-Agent: Thunderbird 1.5 (X11/20060119)
<br>
MIME-Version: 1.0
<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:serge@test.net">serge@test.net</a>
<br>
Subject: =?KOI8-R?Q?=D4=C5=D3=D4_=D0=D2=CF=C8=CF=D6=C4=C5=CE=C9=D1?=
<br>
Content-Type: text/plain; charset=KOI8-R; format=flowed
<br>
Content-Transfer-Encoding: 8bit
<br>
Sender: <a class="moz-txt-link-rfc2396E"
href="mailto:testuser@test.net">"testuser@test.net"</a>@test.net
<br>
<br>
Test message body.
<br>
------------------------------------
<br>
<br>
Here is an original message from e-mail client ( just to make sure
that it was made proper way):
<br>
------------------------------------
<br>
<br>
<blockquote type="cite">From - Wed Jan 03 18:18:54 2007
<br>
</blockquote>
X-Mozilla-Status: 0001
<br>
X-Mozilla-Status2: 00800000
<br>
Message-ID: <a class="moz-txt-link-rfc2396E"
href="mailto:459BD76D.4090903@test.net"><459BD76D.4090903@test.net></a>
<br>
Date: Wed, 03 Jan 2007 18:18:53 +0200
<br>
From: test uset <a class="moz-txt-link-rfc2396E"
href="mailto:testuser@test.net"><testuser@test.net></a>
<br>
User-Agent: Thunderbird 1.5 (X11/20060119)
<br>
MIME-Version: 1.0
<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:serge@test.net">serge@test.net</a>
<br>
Subject: =?KOI8-R?Q?=D4=C5=D3=D4_=D0=D2=CF=C8=CF=D6=C4=C5=CE=C9=D1?=
<br>
Content-Type: text/plain; charset=KOI8-R; format=flowed
<br>
Content-Transfer-Encoding: 8bit
<br>
<br>
Test message body.
<br>
<br>
----------------------------------------------------------
<br>
<br>
As for POP3 with dovecot, it seems working OK. Dovecot generates
mail directories
<br>
according to the user data returned by SQL, and creates index files
proper way - everything
<br>
with given uid.gid = 500.12 ...
<br>
<br>
If you will need some extra piece of information, or my configs or
logs -- please feel
<br>
free to ask for it.
<br>
<br>
Any kind of help: advices, URLs, patches, etc.., are welcome.<br>
<br>
I badly need to bring up this new system as soon as possible. <br>
<br>
Thank you in advance.<br>
<br>
Best regards,
<br>
Serge
<br>
<a class="moz-txt-link-abbreviated" href="http://www.cis.by">www.cis.by</a>
<br>
<br>
</div>
</body>
</html>