Re: Roundcube+vexim+debian

"Odhiambo Washington" <[email protected]>
Newsgroups gmane.mail.exim.vexim.devel
Message-ID <[email protected]>
On Sun, Nov 30, 2008 at 3:59 PM, Andreas westvik <[email protected]>wrote:

>  Odhiambo Washington skrev:
>
> On Sun, Nov 30, 2008 at 3:27 PM, Andreas westvik <[email protected]>wrote:
>
> Odhiambo Washington skrev:
> >
> >
> > On Sun, Nov 30, 2008 at 2:48 PM, Andreas westvik
>  > <[email protected] <mailto:[email protected]>> wrote:
> >
> >     So I just tried to login with the postmaster user, and that worked
> >     great. And I noticed that the postmaster has gid/uid 8 and the other
> >     user has gid/uid 90. And I know I'm the one who edited that. So I
> >     changed it back to 8 to the normal user, but it still does not
> >     work. So...?
> >
> >
> > chown -R the-correct-uid:the-correct-gid /usr/local/mail/server.net/
>  > <http://server.net/user>
> >
> > should fix that. Looks rather simple.
> >
> >
> Yeah, I was just doing this. And I got it working to a degree. If
> mail:mail owns /usr/local/mail/domain, roundcube work, but local mail
> clients (Mail.app, thunderbird, outlook etc) dont work. If vexim:mail
> owns /usr/local/mail/domain local clients work, but NOT roundcube. This
> has me highly confused!
>
>
> 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.
> 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.
>
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> "Okay guys. This is Kenya. You pay taxes because you feel philanthropic,
> unlike our MPs!"
>                     -- Kenneth Marende, Speaker, 10th Parilament.
>
> ------------------------------
>
> _______________________________________________
> Vexim mailing [email protected]://silverwraith.com/mailman/listinfo/vexim
>
>  This is what I got from the logs im tailing:
>
> ==> mail.log <==
> Nov 30 13:53:12 server couriertcpd: Connection, ip=[::ffff:192.168.0.2]
> Nov 30 13:53:12 server couriertcpd: LOGIN: ip=[::ffff:192.168.0.2],
> command=USER
> Nov 30 13:53:12 server couriertcpd: LOGIN: ip=[::ffff:192.168.0.2],
> command=PASS
> Nov 30 13:53:12 server couriertcpd: LOGIN: ip=[::ffff:192.168.0.2],
> [email protected]
> Nov 30 13:53:12 server couriertcpd: LOGIN: ip=[::ffff:192.168.0.2],
> password=password
> Nov 30 13:53:12 server couriertcpd: [email protected]:chdir(/usr/local/mail/
> server.net/user) failed!!
> Nov 30 13:53:12 server couriertcpd: error: Permission denied
> Nov 30 13:53:12 server couriertcpd: LOGIN FAILED, [email protected],
> ip=[::ffff:192.168.0.2]
> Nov 30 13:53:12 server couriertcpd: authentication error: Permission denied
>
> ==> mail.info <==
> Nov 30 13:53:12 server couriertcpd: [email protected]:chdir(/usr/local/mail/
> server.net/user) failed!!
> Nov 30 13:53:12 server couriertcpd: error: Permission denied
> Nov 30 13:53:12 server couriertcpd: LOGIN FAILED, [email protected],
> ip=[::ffff:192.168.0.2]
> Nov 30 13:53:12 server couriertcpd: authentication error: Permission denied
>
> And im only tailing these logs: tail -f syslog mail.err mail.info mail.log
> mail.warn mysql.log roundcube/errors roundcube/console user.log
> apache2/access.log apache2/error.log exim4/mainlog exim4/paniclog
> exim4/rejectlog
>

Can you please try:

chmod -R 1777 /usr/local/mail/server.net

and see if that helps?

If not, then just do chmod -R 1777 /usr/local/mail


Are you using mbox or Maildir (not sure if you know what that is, anyway)?



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"Okay guys. This is Kenya. You pay taxes because you feel philanthropic,
unlike our MPs!"
                    -- Kenneth Marende, Speaker, 10th Parilament.

_______________________________________________
Vexim mailing list
[email protected]
http://silverwraith.com/mailman/listinfo/vexim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.