[EMAIL PROTECTED] wrote:

First, I'm newby with Courier server and also I don't have a strong
knowledge of Linux in general, so apologize if my questions are a
little bit trivial.

I'll give you some pointers with that in mind.

-First, how should I create the user accounts? I mean what I've done
so far is create a new user/group through System Settings/Users and
Groups. This user/group is tester.

That's fine. To start out, it's probably simplest to use system users (as you've done) and get acquainted with the normal Unix user management tools.

With this I have the folder in $HOME/tester

Pointer: $HOME is a variable set when you log in, which points at your home directory. "$HOME" is not the same thing as /home (that is, it usually has a value other than "/home").

If you log in as "tester" and 'echo $HOME', it should print "/home/tester"

-Second, I log on as tester (su tester) and I used maildirmake
$HOME/maildir to create the maildir test in $HOME/tester.

Unix systems are case sensitive, so you'll probably want to log in as tester and 'mv maildir Maildir' to rename the maildir.

After I use follow these steps:

mkdir /usr/local/etc/authlib/userdb
...

Since you're using system users, you don't need the userdb. Remove that to avoid confusion.

Third, I create
/usr/lib/courier/etc/locals file and I add the following: mydomain.es
localhost
prueba

Courier won't accept mail for domains that don't resolve in DNS, so "localhost" and "prueba" aren't going to be valid. Regardless of whether or not they're in the "locals" file, Courier won't accept mail for them.

and then, I run makealiases. I also add mydomain.es to my dns file

What do you mean by your "dns file"? /etc/hosts is not sufficient, if that's what you're referring to. The domain you're using needs to be set up *properly* in DNS.

If you need to, for testing purposes, install named on the virtual host and configure the domain there. Then add 127.0.0.1 to /etc/resolv.conf (or use the network config tool to add it).

Sep 28 05:56:02 prueba courieresmtpd:
error, relay=::ffff:x.y.z.w,from=<[EMAIL PROTECTED]>:
517 Domain does not exixts: mydomain.es

Set up the domain in DNS.



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to