I'm making progress and hit a new problem that hopefully is simple.
Courier will now accept smtp connections from anywhere so long as they are sending messages for local delivery, including all local aliases. However, when I login in to port 25 and send any mail to a remote site (e.g., this list) I get a relaying not allowed error. I don't want to enable open relaying, but validly logged in users should be able to send mail anywhere. I presume there is a config somewhere for this but haven't been able to find it. I'd appreciate a pointer.
Re. the original problems below:
1. Remains open: webadmin will not accept remote connections even though unsecureok and will not accept its password from a localhost conneciton.
2 and 3. Solved. I made the stupid mistake of creating the Maildir's (except for test) as root. Sorry for the trouble of the report.
4. Remains open but not important at the moment. (DEBUG_LOGON not working in authdaemonrc.)
5. Understood, thanks to Sam Varshavchik. (Unfortunately that account is on a hosted Exchange server so I can't fix the postmaster problem, so I'll keep using this one until Courier is running and everything is moved to that.)
Thanks for any help!
Chuck
Chuck Williams wrote:
I'm a newbie to Courier who has just installed it on Fedora Core 2. All of the post-installation checks in the documentation succeed. However, a couple serious problems remain that I can't seem to get passed even after much effort. Precisely one account works (called 'test'); all other accounts fail delivery attempts wtih /usr/lib/courier/bin/sendmail and receive "chdir Maildir failed" when logging in from a mail client to pop. All accounts (including 'test') are configured with identical .courier and Maildir's. Also, webadmin refuses to access remote connections even with unsecureok in place, and from localhost where the connection is accepted refuses to accept its password. There are a couple less serious problems as well in the detail list below.
I seem to be stuck on these problems and would greatly appreciate some guidance. Here are specifics:
I've built both courier-authlib and courier using rpmbuild -ta with default settings. I have courier-authlib, courier-authlib-devel, courier, courier-pop3d, courier-imapd, courier-webmail and courier-webadmin installed. I've made very view config changes -- essentially running with defaults. I'm using pam for authorization. authtest works properly on all accounts. Courier is successfully listening on the ports it should be listening on (I've explicitly checked 25, 110 and 143). I've nuked all prior mail functionality (no other mail server or clients).
Here is the complete list of my problems (hope this provides a useful symptom pattern):
1. Webadmin fails with ERROR: Invalid Password and even with unsecureok can only be accessed from localhost
I've verified the password I set with make install-webadmin-password is in /etc/courier/webadmin/password. I've created an empty file called unsecureok in /etc/courier/webadmin. Even so, attempts to access cgi-bin/webadmin are refused except from localhoast. From localhost, the password is not accepted. What might I try next?
2. Mail is successfully delivered to the user 'test' but to no other user
'test' was my test account that successfully passed all the post-installation checks. I have it configured now with a .courier containing "./Maildir" and a maildir called Maildir. Things like
echo "To: test" | /usr/lib/courer/bin/sendmail
work properly. I can alias postmaster to test and postmaster mail successfully goes to test. However if I configure my own account or other real user accounts identically (with same .courier and Maildir's in their home dir's), the same call to sendmail never delivers any mail. Also, there are no messages in syslog. What might cause this?
3. POP client only works for user 'test'
This presumably is caused by the same problem as above, but provides a new piece of information. I can access mail remotely from Thunderbird for user 'test' but get an error that "chdir Maildir failed" from any other user. Does this indicate some permissions problem of some kind? All user Maildir's, including test, are 700's.
I need IMAP as well. It also fails to accept the password but (at least in Thunderbird) doesn't provide any useful message.
4. DEBUG_LOGON is not working in authdaemonrc
I've verified that my changes to this file are taking effect by altering daemons and verifying the number of authdaemond processes changes accordingly (always 1+daemons). I've also set /etc/syslog.conf with *.debug going to /var/log/messages and restarted syslog. However, no authdaemon messages ever get logged. I do get the expected pam message when running authtest with an incorrect password.
5. (Unrelated). I can't subscribe to this list from Outlook with my normal account. It complains that "550-Postmaster verification failed while checking <[EMAIL PROTECTED]>". I don't know whether the problem is Outlook or somehow that account. Is there a known issue with the list? Fortunately, if the points above are resolved, this point will become moot!
Thanks for any and all help -- I need it,
Chuck
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
