From: Thoralf Rickert [mailto:thor...@m84.de]
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?
[SNIP]
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
Add <domain> and .<domain> to a file in
'/etc/courier/esmtpacceptmailfor.dir'.
Then run 'makeacceptmailfor'.
'man makeacceptmailfor' will give you more details.
hosteddomains -- domains that are hosted by your server.
esmtpacceptmailfor -- domains that are accepted for delivery by your server.
These lists are not necessarily the same.
Bowie