<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Odhiambo Washington skrev:
<blockquote
 cite="mid:991123400811300634v2db282fan4a0b8f30a752559@mail.gmail.com"
 type="cite">On Sun, Nov 30, 2008 at 3:59 PM, Andreas westvik <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:andreas.westvik@ktv.no">andreas.westvik@ktv.no</a>&gt;</span>
wrote:<br>
  <div class="gmail_quote">
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">Odhiambo Washington skrev:
    <blockquote type="cite">
      <div>
      <div class="Wj3C7c"> On Sun, Nov 30, 2008 at 3:27 PM, Andreas
westvik <span>&lt;<a moz-do-not-send="true"
 href="mailto:andreas.westvik@ktv.no" target="_blank">andreas.westvik@ktv.no</a>&gt;</span>
wrote:<br>
      <div>
      <blockquote>Odhiambo Washington skrev:<br>
        <div>&gt;<br>
&gt;<br>
&gt; On Sun, Nov 30, 2008 at 2:48 PM, Andreas westvik<br>
        </div>
        <div>&gt; &lt;<a moz-do-not-send="true"
 href="mailto:andreas.westvik@ktv.no" target="_blank">andreas.westvik@ktv.no</a>
&lt;mailto:<a moz-do-not-send="true"
 href="mailto:andreas.westvik@ktv.no" target="_blank">andreas.westvik@ktv.no</a>&gt;&gt;
wrote:<br>
&gt;<br>
&gt;     So I just tried to login with the postmaster user, and that
worked<br>
&gt;     great. And I noticed that the postmaster has gid/uid 8 and the
other<br>
&gt;     user has gid/uid 90. And I know I'm the one who edited that.
So I<br>
&gt;     changed it back to 8 to the normal user, but it still does not<br>
&gt;     work. So...?<br>
&gt;<br>
&gt;<br>
&gt; chown -R the-correct-uid:the-correct-gid /usr/local/mail/<a
 moz-do-not-send="true" href="http://server.net/" target="_blank">server.net/</a><br>
        </div>
&gt; &lt;<a moz-do-not-send="true" href="http://server.net/user"
 target="_blank">http://server.net/user</a>&gt;<br>
        <div>&gt;<br>
&gt; should fix that. Looks rather simple.<br>
&gt;<br>
&gt;</div>
Yeah, I was just doing this. And I got it working to a degree. If<br>
mail:mail owns /usr/local/mail/domain, roundcube work, but local mail<br>
clients (Mail.app, thunderbird, outlook etc) dont work. If vexim:mail<br>
owns /usr/local/mail/domain local clients work, but NOT roundcube. This<br>
has me highly confused!</blockquote>
      <div><br>
Well, you add a lot of confusion to this. You appear to be trying to
address a POP3 problem in the realm of an SMTP problem. If Exim
delivers mail with the right permissions and the POP3 server is
configured to run as the "appropriate user" (with the necessary
permissions) things should just work.<br>
Let us have the log extracts for instances where Mail.app, Outlook, etc
don't work, because the problem seems to be with the permissions of the
POP3 server you are running.<br>
      </div>
      </div>
      <br>
      <br>
-- <br>
Best regards,<br>
Odhiambo WASHINGTON,<br>
Nairobi,KE<br>
+254733744121/+254722743223<br>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br>
"Okay guys. This is Kenya. You pay taxes because you feel
philanthropic, unlike our MPs!"<br>
                    -- Kenneth Marende, Speaker, 10th Parilament.<br>
      </div>
      </div>
      <pre><hr size="4" width="90%"><div class="Ih2E3d">
_______________________________________________
Vexim mailing list
<a moz-do-not-send="true" href="mailto:Vexim@silverwraith.com"
 target="_blank">Vexim@silverwraith.com</a>
<a moz-do-not-send="true"
 href="http://silverwraith.com/mailman/listinfo/vexim" target="_blank">http://silverwraith.com/mailman/listinfo/vexim</a></div></pre>
    </blockquote>
This is what I got from the logs im tailing:<br>
    <br>
==&gt; mail.log &lt;==<br>
Nov 30 13:53:12 server couriertcpd: Connection, ip=[::ffff:<a
 moz-do-not-send="true" href="http://192.168.0.2" target="_blank">192.168.0.2</a>]<br>
Nov 30 13:53:12 server couriertcpd: LOGIN: ip=[::ffff:<a
 moz-do-not-send="true" href="http://192.168.0.2" target="_blank">192.168.0.2</a>],
command=USER<br>
Nov 30 13:53:12 server couriertcpd: LOGIN: ip=[::ffff:<a
 moz-do-not-send="true" href="http://192.168.0.2" target="_blank">192.168.0.2</a>],
command=PASS<br>
Nov 30 13:53:12 server couriertcpd: LOGIN: ip=[::ffff:<a
 moz-do-not-send="true" href="http://192.168.0.2" target="_blank">192.168.0.2</a>],
    <a moz-do-not-send="true" href="mailto:username=user@server.net"
 target="_blank">username=user@server.net</a><br>
Nov 30 13:53:12 server couriertcpd: LOGIN: ip=[::ffff:<a
 moz-do-not-send="true" href="http://192.168.0.2" target="_blank">192.168.0.2</a>],
password=password<br>
Nov 30 13:53:12 server couriertcpd: <a moz-do-not-send="true"
 href="mailto:user@server.net:" target="_blank">user@server.net:</a>
chdir(/usr/local/mail/<a moz-do-not-send="true"
 href="http://server.net/user" target="_blank">server.net/user</a>)
failed!!<br>
Nov 30 13:53:12 server couriertcpd: error: Permission denied<br>
Nov 30 13:53:12 server couriertcpd: LOGIN FAILED, <a
 moz-do-not-send="true" href="mailto:user=user@server.net"
 target="_blank">user=user@server.net</a>,
ip=[::ffff:<a moz-do-not-send="true" href="http://192.168.0.2"
 target="_blank">192.168.0.2</a>]<br>
Nov 30 13:53:12 server couriertcpd: authentication error: Permission
denied<br>
    <br>
==&gt; <a moz-do-not-send="true" href="http://mail.info"
 target="_blank">mail.info</a> &lt;==<br>
Nov 30 13:53:12 server couriertcpd: <a moz-do-not-send="true"
 href="mailto:user@server.net:" target="_blank">user@server.net:</a>
chdir(/usr/local/mail/<a moz-do-not-send="true"
 href="http://server.net/user" target="_blank">server.net/user</a>)
failed!!<br>
Nov 30 13:53:12 server couriertcpd: error: Permission denied<br>
Nov 30 13:53:12 server couriertcpd: LOGIN FAILED, <a
 moz-do-not-send="true" href="mailto:user=user@server.net"
 target="_blank">user=user@server.net</a>,
ip=[::ffff:<a moz-do-not-send="true" href="http://192.168.0.2"
 target="_blank">192.168.0.2</a>]<br>
Nov 30 13:53:12 server couriertcpd: authentication error: Permission
denied<br>
    <br>
And im only tailing these logs: tail -f syslog mail.err <a
 moz-do-not-send="true" href="http://mail.info" target="_blank">mail.info</a>
mail.log mail.warn mysql.log roundcube/errors roundcube/console
user.log apache2/access.log apache2/error.log exim4/mainlog
exim4/paniclog exim4/rejectlog </div>
  </blockquote>
  <div><br>
Can you please try:<br>
  <br>
chmod -R 1777 /usr/local/mail/<a moz-do-not-send="true"
 href="http://server.net">server.net</a><br>
  <br>
and see if that helps?<br>
  <br>
If not, then just do chmod -R 1777 /usr/local/mail<br>
  <br>
  <br>
Are you using mbox or Maildir (not sure if you know what that is,
anyway)?<br>
  <br>
  <br>
  <br>
  </div>
  </div>
-- <br>
Best regards,<br>
Odhiambo WASHINGTON,<br>
Nairobi,KE<br>
+254733744121/+254722743223<br>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br>
"Okay guys. This is Kenya. You pay taxes because you feel
philanthropic, unlike our MPs!"<br>
                    -- Kenneth Marende, Speaker, 10th Parilament.<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Vexim mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Vexim@silverwraith.com">Vexim@silverwraith.com</a>
<a class="moz-txt-link-freetext" href="http://silverwraith.com/mailman/listinfo/vexim">http://silverwraith.com/mailman/listinfo/vexim</a></pre>
</blockquote>
I have maildirs. A little update: Once a upon time a changed servers,
and then I backed up the db. Then the db had gid/uid of 90. And when I
imported the db they were still at 90. But when I installed vexim then
I used uid/gid 8. (Wich is the user mail). So I updated all users to
use uid/gid 8 today. And I chowned /usr/local/mail/* to mail:mail. And
now pop/imap does not work at all! I can login to roundcube, but I
cannot send/recieve any mail. The local clients prompts for passwd.<br>
<br>
So in other words, I got the whole setup kinda screwed. But hopefully
this will eventually sort things out. <br>
And no, chmod -R 1777 * did not help at all.  I will provide some logs
in a few minutes. But I have to take the dog out for a run:)<br>
<br>
-Andreas<br>
</body>
</html>