From: Patrick Beart [mailto:[EMAIL PROTECTED]
I'm having problems with mail delivery to a new account on my server(s). The messages bounce with a "513 relay denied" error. (see below)
The guy who set this up (the Courier Mail server) disappeared on me and didn't provide much documentation on how all of this is configured. Thus, I'm scrambling to sort it out. I'd appreciate any suggestions on WHERE to look on the system (RH 7.2 Pro, with Courier 0.40).
I would suggest going to http://www.courier-mta.org and reading the Installation document and the FAQ. Based on the information you gave, your config directory is in /etc/courier, so most of the config files referenced in those documents will be in that directory. This also probably indicates that Courier was installed from RPMs, so you can keep that in mind while reading the Installation document.
Thanks, but I've TRIED reading the FAQ and the docs on Courier. I find them somewhat suitable for people (read: Geeks) that work with mail servers on a regular basis, and highly confusing and inadequate for everyone else (read: novices like me). This is by NO means any criticism toward Sam. It's simply an issue, I suspect, with being-too-close-to-the-subject-matter. My admin found that, once sufficient knowledge was acquired, the docs DID help quite a bit. It's that "steep learning curve" thing, again. ;-)
I also checked the list archive for "513 relay" errors and only found 2 posts.
I'm not opposed to "RTFM". However, in Courier's case, there isn't one! Even my admin - the guy who disappeared on me, after all of this was setup - took several months to get this all figured out ... and HE does deal with this stuff (mostly Windows NT and such) on a regular basis.
You've also got virtual users set up through userdb. Check out the output of 'userdb -show [EMAIL PROTECTED]' and compare it to the userdb settings for an account that works properly.
This didn't work for me. Perhaps I'm reading it incorrectly. This is what I got:
----- [EMAIL PROTECTED] root]# userdb -show [EMAIL PROTECTED] /etc/courier/userdb: not a file.
[EMAIL PROTECTED] root]# clientdomain.com.userdb -show [EMAIL PROTECTED] bash: clientdomain.com.userdb: command not found ------
The actual contents of /etc/courier/userdb/ are:
lrwxrwxrwx 1 root root 85 May 17 14:24 clientdomain.com.userdb -> /home/domains/clientdomain.com/courier/conf/clientdomain.com.userdb
Viewing the contents of the actual directory (and not the pointer), at /home/domains/... shows that the file, "/home/domains/clientdomain.com/courier/conf/clientdomain.com.userdb" is EMPTY.
--> What process inserts data into this userdb file?
Also, if this is a new domain for the mail server, you will need to list it in one of the files under /etc/courier/esmtpacceptmailfor.dir (to allow Courier to accept mail for the domain) and /etc/courier/hosteddomains (to tell Courier to deliver the mail locally).
The path, /etc/courier/esmtpacceptmailfor.dir lists the following:
-rw-r--r-- 1 root root 231 May 17 14:13 hosted -rw-r--r-- 1 root root 14 Feb 21 16:22 locals -rw-r--r-- 1 root root 17 Mar 29 18:37 relays -rw-r--r-- 1 courier courier 0 Feb 22 15:13 webadmin
The domain, "clientdomain.com", is listed in the "hosted" file.
...snip... Once you have a general idea of how the server is configured, we can help you out with more specific questions.
What information or data do I need to provide that would be more helpful??
Thanks for any, and all, replies.
Patrick Beart
-- ------------------------------------------------ Web Architecture & "iWeb4Biz" 503-774-8280 Portland, OR Internet Consulting, Intelligent Web site Development & Secure site Hosting. http://www.WebArchitecture.com/
"This is an era when nonsense has become acceptable and sanity is controversial."
- Thomas Sowell
------------------------------------------------
------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
