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