Ken Perl writes:


colinux is mapped to 127.0.0.1 in my /etc/hosts, the test can work
well with this illegal name.

Courier does not use the hosts file. Furthermore, sender and receipient addresses are required to be fully-qualified domain name.

However, it is very strange,

if I try below scenario, the mail can not be sent with a syntax error,
$ telnet localhost 25
Trying 127.0.0.1...
Connected to colinux.
Escape character is '^]'.
220 colinux ESMTP
helo colinux
250 colinux Ok.
mail from:<k...@colinux>
517 Syntax error.

the log is, courieresmtpd:
error,relay=::ffff:127.0.0.1,from=<p...@colinux>: 517 Syntax error.

There's nothing strange about it. "colinux" is not a fully-qualified domain name. What you have or don't have in your hosts file does not make any difference.

Attachment: pgpMrDxroeO9m.pgp
Description: PGP signature

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to