šHello everybody!

I am a Linux admin trying to move my mail
system based on qmail to the software which is more spam-protected:
exim4 + dovecot-1.0rc15 + pgsql .š I've downloaded and rebuildš dovecot from src.rpm (for fc4). During
the testing stage I've discovered two troubles:
š 1) the problem with deliver (...I'm not sure it's a really bug). Here is relevant part
of my /var/log/messages :
-------
Janš 3 10:40:37 serge deliver(serge@test.net): auth input: serge@test.net
Janš 3 10:40:37 serge deliver(serge@test.net): auth input: home=/var/spool/mail/test.net/serge/
Janš 3 10:40:37 serge deliver(serge@test.net): auth input: uid=500
Janš 3 10:40:37 serge deliver(serge@test.net): auth input: gid=12
Janš 3 10:40:37 serge deliver(serge@test.net): setuid(500) failed: Operation not permitted
-------
š-- my system is fc4 based Linux.š uid/gid are according to /etc/dovecot-sql.conf :
user_query = SELECT maildir AS home, 500 AS uid, 12 AS gid FROM mailbox WHERE username = '%n@%d' AND active='1'
I was trying to
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.
I have already spent about two work days to configure and test it...

š 2)š Because of mentioned above problem deliver generates a bounce message for exim, and
here is a bug with e-mail in the header.
It was taken "as is" from the queue of Exim -- have a look at "Return-path:",
"envelope-from" and "Sender:" Because of these errors exim can not deliver the message back
to sender. It freezes it, ...trying again, ...freezes ... etc...
--------------------------------------------------
š1H252L-0004jZ-F3-D
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

š serge@test.net
local delivery failed

ššššš ------ This is a copy of the message, including all the headers. ------

Return-path: <"testuser@test.net"@test.net>
Received: from serge.lc.test.net ([10.0.0.5])
by serge.lc.test.net with esmtpa (Exim 4.62)
(envelope-from <"testuser@test.net"@test.net>)
ššššššššš id 1H252K-0004jT-U5
for serge@test.net; Wed, 03 Jan 2007 14:16:05 +0200
Message-ID: <459B9E84.9070607@test.net>
Date: Wed, 03 Jan 2007 14:16:04 +0200
š From: test uset <testuser@test.net>
š User-Agent: Thunderbird 1.5 (X11/20060119)
š MIME-Version: 1.0
š To:š serge@test.net
š Subject: =?KOI8-R?Q?=D4=C5=D3=D4_=D0=D2=CF=C8=CF=D6=C4=C5=CE=C9=D1?=
š Content-Type: text/plain; charset=KOI8-R; format=flowed
š Content-Transfer-Encoding: 8bit
š Sender: "testuser@test.net"@test.net

šššš Test message body.
------------------------------------

šHere is an original message from e-mail client ( just to make sure that it was made proper way):
------------------------------------

From - Wed Jan 03 18:18:54 2007
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00800000
Message-ID: <459BD76D.4090903@test.net>
Date: Wed, 03 Jan 2007 18:18:53 +0200
From: test uset <testuser@test.net>
User-Agent: Thunderbird 1.5 (X11/20060119)
MIME-Version: 1.0
To:š serge@test.net
Subject: =?KOI8-R?Q?=D4=C5=D3=D4_=D0=D2=CF=C8=CF=D6=C4=C5=CE=C9=D1?=
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 8bit

š Test message body.

----------------------------------------------------------

ššš As for POP3 with dovecot, it seems working OK. Dovecot generates mail directories
according to the user data returned by SQL, and creates index files proper way - everything
with given uid.gid = 500.12 ...

š If you will need some extra piece of information, or myš configs or logs -- please feel
free to ask for it.

š š Any kind of help: advices, URLs, patches, etc..,š are welcome.

I badly need to bring up this new system as soon as possible.

šš Thank you in advance.

š Best regards,
Serge
www.cis.by