but I tested below test case, it can deliver the message, you can see
I'm using non fully-qualified domain name in this case.

echo "test invalid domain"|mail -s invalid k...@colinux



On Tue, Feb 24, 2009 at 11:18 AM, Sam Varshavchik <[email protected]> wrote:
> 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.
>
>
> ------------------------------------------------------------------------------
> 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
>
>



-- 
perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\...@``
")'

------------------------------------------------------------------------------
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