Hi, I think you have misunderstood the hostname command. It appears the problem you are facing is due to your domain name not set properly.

There are 2 parts to a name: hostname, domainname.

The hostname command shows the hostname part, unless you call it with the -f switch.


This is how `hostname` was intended to work on a host that is known on the internet as "foo.bar.com":


# hostname
foo
# hostname -s
foo
# hostname -f
foo.bar.com
# hostname -d
bar.com

(Please look at hostname --help for more details about the switches).


In your original configuration, your hostname was set to "foo" and you did not set a domain. When courier talks to other smtps, it combines "foo" with blank and ends with FQDN being "foo", thus the error 550.


After you set the hostname as "foo.bar.com", courier still combine that with blank, but ends up with "foo.bar.com", which is accepted while talking to other smtp. This solves the problem for courier. Seems like 2 wrongs make 1 right.

Maybe you want to review your /etc/hosts to implement the proper domain instead:

127.0.0.1 localhost
[machine ip addr] foo.bar.com foo

NOTE: the order of the names for your ip address is important. The first name to an ip address is taken to be the FQDN for the machine.




Regards, Leon




> If this is a Courier configuration issue, will you
> please enlighten me?  Is there somewhere you are
> setting your server's fully qualified domain name?
 If
> so, where?  Thanks.

I am using Debian GNU/Linux 3.0 and 3.1 and have
installed
courier-(mta,mta-ssl,imap,imap-ssl,mlm,webadmin,...)

It works by default without any intervention.

The RCF say, EHLO/HELO should be a FQDN.

RIGHT. Hence the 550 error.

So if it does not work on your System, then your
Linux-Installation is probably misconfigured.

RIGHT. That's what the post was about. And setting the hostname as I described has corrected this "Linux" configuration problem (not a "courier" problem). The whole point is that this is NOT a courier problem, but if people running courier experience this, they should make sure that their hostname is set properly.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to