Hi all!

I've installed the whole Courier Suite on my internet server. It uses authmysql to authorize users. This works fine for IMAP, POP3 and SMTP Authentification. So, it seems, that Courier uses the users and passwords saved in the MySQL database.

But I've one "small" problem:
Any mail coming into the system from outside will be rejected with a "513 Relaying denied". I've searched the web, mailinglists, FAQs but nobody seems to have this problem or has an answer. I think, the problem is, that the system always wants a authentification and it is unable to find out, which mail should be delivered locally. But I don't know, what I've to do, do reach this "configuration". I wish to use virtual users and domains.


Here is a small list of changes, that I've made in the default configuration. What did I forgot or what's wrong?

In the database there is a user table and contains only one entry with a clear password, an existing maildir and homedir path, uid and gid as described in http://linuxfromscratch.org/pipermail/hints/2003-June/001733.html

-> I'm using this data to login to the mail system.

In /etc/courier/aliases/users I've added a line for [EMAIL PROTECTED]:<tab>user
I'm not sure, what "user" I have to enter, because the virtual user in the database is identified by his email-address. So, I should use an email address there, but that is normally a forward, or? I tried both - neither a system user nor a virtual user works.


In /etc/courier/esmtpd I've set
AUTH_REQUIRED=0
AUTHMODULES="authdaemon"
ESMTPAUTH="LOGIN CRAM-MD5"

/etc/courier/smtpaccess/default contains
127.0.0.1<tab>allow,RELAYCLIENT
<serverip><tab>alliw,RELAYCLIENT

I thought the AUTH_REQUIRED=0 parameter means that the system doesn't need to authorize. Hmm, I'm confused.

I've added <domain> and .<domain> to /etc/courier/hosteddomains. No reaction...

Where should virtual domains via MySQL should be defined. Where is the map of local users and how can I use MySQL to

Thanks for any help
Thoralf






------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to