But I've tried Google, RTFM, etc. and can't find an answer. (All the similar problems seem to relate to things I've already checked, or with problems in IMAP or POP logins, which are _not_ part of my problem.)
Courier is accepting mail properly. ... It takes in only the mail I want. ... It rejects other mail. ... It says "relaying denied" when it should. ... It also says "user unknown" as appropriate. ... All that.
I can connect via IMAP -- and even log in just fine. ... I can connect via POP3 -- and again, it even accepts logins properly too. ... All's good with that stuff.
*BUT*, for some reason, I just CANNOT seem to get it to actually __deliver__ anything into the mailboxes!! It constantly reports that courierlocal can't find a file or directory that it needs. (Presumably the maildir.) And so, all mail is just sitting in the mail queue.
Mar 26 22:21:31 gemini courieresmtpd: started,ip=[127.0.0.1] Mar 26 22:23:05 gemini courierlocal: No such file or directory Mar 26 22:25:03 gemini courierlocal: No such file or directory Mar 26 22:25:03 gemini last message repeated 5 times Mar 26 22:25:19 gemini pop3d: Connection, ip=[127.0.0.1] Mar 26 22:25:20 gemini pop3d: Disconnected, ip=[127.0.0.1] Mar 26 22:28:05 gemini courierlocal: No such file or directory Mar 26 22:30:03 gemini courierlocal: No such file or directory Mar 26 22:30:03 gemini last message repeated 5 times Mar 26 22:33:05 gemini courierlocal: No such file or directory Mar 27 01:08:38 gemini courierlocal: No such file or directory Mar 27 01:09:15 gemini last message repeated 7 times
Please tell me what I've done wrong.
(This is on Mac OS X, btw, but I don't believe that has anything to do with my current problem.)
My test user's home/maildir paths are: /Users/test /Users/test/Maildir
The folders are owned by the user (as it should be, right?), with permissions set to rwxr-xr-x for both home and the maildir. -- Because esmtpd needs r-x permission to find the .courier files in home (and just hoping it would help for maildir), not because I actually want the permissions set that wide open. :(
I've got locals and esmtpacceptmailfor set to identical (and appropriate) host names (with hosteddomains being non-existent), which I believe is the correct thing to do too:
[pcp557676pcs:lib/courier/etc] root# diff -qs esmtpacceptmailfor locals Files esmtpacceptmailfor and locals are identical [pcp557676pcs:lib/courier/etc] root#
(And I ran all the makeXYZ scripts for the files I've edited... at least all of 'em that I could see somewhere or find referenced.)
I've got authdaemonrc using the authpgsql module (ONLY) for authentication. And as I said above, it knows what the valid accounts are, can authenticate them properly for logins... and can even find their maildirs for the IMAP and POP services to return message counts.
(There's nothing in there to count obviously, since mail isn't delivered, but they both reply with a proper 0/empty count at least. -- And when I tried manually inserting a mail file in the maildir, it did show up in IMAP/POP just fine.)
I include the following 2 telnet transactions to imap/pop ports just to show that I'm not crazy and it really is logging me in. (And an SQL SELECT for general reference. :)
-----
[pcp557676pcs:~] james% telnet localhost 143
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS] Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc. See COPYING for distribution information.
. login test bing
. OK LOGIN Ok.
. select inbox
* FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1047749585] Ok
. OK [READ-WRITE] Ok
. logout
* BYE Courier-IMAP server shutting down
. OK LOGOUT completed
Connection closed by foreign host.
[pcp557676pcs:~] james%
----- -----
[pcp557676pcs:~] james% telnet localhost 110 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Hello there. user test +OK Password required. pass bing +OK logged in. list +OK POP3 clients that break here, they violate STD53. . quit +OK Bye-bye. Connection closed by foreign host. [pcp557676pcs:~] james%
----- -----
-----courier=# SELECT * from users ; -[ RECORD 1 ]------------------------------- addr | test cryptpw | $1$Gmq8m/E6$BJFdexco3TKQnzzc4/Gss1 uid | 509 gid | 20 clearpw | home | /Users/test maildir | ./Maildir quota | name | Test Acct
I've tried setting it up with 'home' equal to "/Users/test" and "/Users/test/" ... and with each of those settings, I tried setting 'maildir' equal to "Maildir" and "./Maildir" ... just to get all 4 combinations tested. -- I even tried setting maildir to "/Users/test/Maildir" in case it wasn't happy with the relative maildir path for some odd reason.
I've tried it with "./Maildir" and with "|/path/to/maildrop" for the DEFAULTDELIVERY setting. I've also tried it with and without .courier and .courier-xxx files in the user's home directory.
The courier/var/msg[sq] and /Users/test(/Maildir) folders are all on the same partition, just FYI.
None of it helps. I constantly get the same log message as listed above:
Mar 27 02:05:19 gemini courierlocal: No such file or directory Mar 27 02:05:19 gemini last message repeated 3 times Mar 27 02:10:19 gemini courierlocal: No such file or directory Mar 27 02:14:37 gemini last message repeated 7 times
...
Please(!) someone tell me what in Heaven's name I've done wrong!
I've been at this for some time now and just can't see the solution. Maybe it's right in front of my face, maybe it's not. But either way I can't see it.
Any ideas? Please?
Thank you very much, in advance!
-James
------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
