I have put the local domain name into /etc/courier/locals and put a file
contains all the name of this mail server(one per line) under
/etc/courier/esmtppercentrelay.dir.
then run /usr/lib/courier/sbin/makeacceptmailfor, at last I restart courier.
The situation is: I can send and receive mails(received nothing) but if I send
a mail from other server to a user of this mail server I will get such a error
message:
This is a delivery status notification from NatServer,
running the Courier mail server, version 0.37.0.
The original message was received on Mon, 28 Jan 2002 20:26:47 +0800
from email.bnu.edu.cn (email.bnu.edu.cn [202.112.80.130])
---------------------------------------------------------------------------
UNDELIVERABLE MAIL
Your message to the following recipients cannot be delivered:
<web...@flyingwebman.com>:
<<< configuration error: mail loops back to myself (MX problem).
I have only one mail server and one MX record for this domain:flyingwebman.com.
If I am using sendmail, I know I should put local domain name(flyingwebman.com)
in sendmail.cw file, but with courier, i don't know how to do...
who can help me? thanks in advance...