3 messages in net.sourceforge.lists.courier-users[courier-users] Courier ESMTPD Relayi...
FromSent OnAttachments
Thoralf RickertApr 21, 2004 12:25 pm 
Bowie BaileyApr 21, 2004 1:45 pm 
Thoralf RickertApr 21, 2004 1:56 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Courier ESMTPD Relaying Problem - need helpActions...
From:Thoralf Rickert (thor@m84.de)
Date:Apr 21, 2004 12:25:41 pm
List:net.sourceforge.lists.courier-users

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 user@domain:<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