RE:Re: [courier-users] cant send mail - domain error
Brought to you by:
mrsam
|
From: =?iso-8859-1?q?<mir...@wa...> - 2005-09-30 06:38:26
|
Thank you very much for the responses. That was it. I only had hosts fi= le configured, but no DNS. Now it works. Thanks again Miriam ---Mensaje ori...@wa... wrote: >=20 > First, I'm newby with Courier server and also I don't have a stron= g > 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 do= ne > so far is create a new user/group through System Settings/Users an= d > Groups. This user/group is tester. That's fine. To start out, it's probably simplest to use system users=20= (as you've done) and get acquainted with the normal Unix user managemen= t=20 tools. > With this I have the folder in $HOME/tester Pointer: $HOME is a variable set when you log in, which points at your=20= home directory. "$HOME" is not the same thing as /home (that = is, it=20 usually has a value other than "/home"). If you log in as "tester" and 'echo $HOME', it should print &= quot;/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=20= tester and 'mv maildir Maildir' to rename the maildir. > After I use follow these steps: >=20 > mkdir /usr/local/etc/authlib/userdb .. Since you're using system users, you don't need the userdb. Remove that= =20 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=20 "localhost" and "prueba" aren't going to be valid. = Regardless of=20 whether or not they're in the "locals" file, Courier won't ac= cept mail=20 for them. > and then, I run makealiases. I also add mydomain.es to my dns file= =20 What do you mean by your "dns file"? /etc/hosts is not suffic= ient, if=20 that's what you're referring to. The domain you're using needs to be=20= set up *properly* in DNS. If you need to, for testing purposes, install named on the virtual host= =20 and configure the domain there. Then add 127.0.0.1 to /etc/resolv.conf=20= (or use the network config tool to add it). > Sep 28 05:56:02 prueba courieresmtpd: > error, relay=3D::ffff:x.y.z.w,from=3D<te...@my...>: > 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, discussion= s, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ courier-users mailing list cou...@li... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users= =A1Todo tu Wanadoo est=E9s d=F3nde est=E9s! Descarga GRATIS el nuevo mi= niWanadoo http://busca.wanadoo.es/toolbar2 |