Not as a final solution, but to verify that it is a permission problem you could set the permission to 777 on those files. chmo 777 /usr/local/bin/imapd, and same for the other. Just make sure you don't leave it that way!!!!!

Joshua Archer wrote:

Hello everyone,

My sincere apologies if this email demonstrates my ignorance, but I
truly am having a very difficult time figuring out what's going on,
though I'm pretty sure I know the cause.

First: My installation --

I have qmail running with courier-imap using vpopmail (spamassassin,
qmail-scanner, clam av, etc. etc. yada yada). Up until 4am last night,
my configuration was running just fine, until I accidently did an
ownership change on the entire /usr/local/bin directory (to
root.root). permissions in the dir are 755 on everything. From the
/var/log/maillog file I am getting entries such as:

Sep 11 13:01:12 cathedral imapd: Connection, ip=[::ffff:63.197.144.163]
Sep 11 13:01:12 cathedral last message repeated 2 times
Sep 11 13:01:12 cathedral imapd: /usr/local/bin/imapd: Permission denied

when I attempt to login via telnet to the IMAP server, I get booted:

[EMAIL PROTECTED] bin]$ telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION
STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision,
Inc.  See COPYING for distribution information.
abc1 login [EMAIL PROTECTED] password
Connection closed by foreign host.

(this is accompanied by the appearance of a log entry such as the one
listed above)

If, however I attempt to log in to IMAP with a normal account name
(not pointing to vpopmail's authentication) I get a normal fail for a
non-existent user

[EMAIL PROTECTED] bin]$ telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION
STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision,
Inc.  See COPYING for distribution information.
abc1 login baduser badpassword
abc1 NO Login failed.

I'm guessing it has something to do with file permissions being set
wrong on one of the files, but I really do not have any clue what
might be the culprit. There are also other areas of the logs that are
giving similar errors:

In the smtp logs I'm getting the following:

@40000000414321873228f71c
X-Qmail-Scanner-1.22:[cathedral.brothersdigital.com109491852547926553]
d_m: output spotted from /usr/local/bin/reformime -x/var/spool/qmailscan/tmp/cathedral.brothersdigital.com109491852547926553/
(sh: line 1: /usr/local/bin/reformime: Permission denied
@400000004143218732290aa4 ) - that shouldn't happen!


more permissions issues, dated to the same thing.

I've looked through the archives, and don't think I found anything
that's related to this, and please -- my apologies if I am not giving
enough info, or have shown you I'm feeble. But, I am humbly asking for
help on this one. Where do I start looking?


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to