Gentoo: hostname, domain, courier smtp ... problems allover
5 Replies
/etc/hosts file so it contains something like
127.0.0.1 hostname.domain hostname localhost
Adam
127.0.0.1 localhost
64.62.190.214 hostname.DOMAIN.net hostname
Is the above ok? (a google search says that it is, but …)
I have a couple more questions regarding some MX issue if there is an error sending a mail … my mailer wants to send a notification to the postmaster about the error and i receive an error like "mail loops back to self". I'll be on this and will post if I have a fix. Any ideas anyone? (i have configured the aliases/systemm file for the postmaster address correctly then ran "makealiases")
@mastabog:
Little by little …
:) I have a couple more questions regarding some MX issue if there is an error sending a mail … my mailer wants to send a notification to the postmaster about the error and i receive an error like "mail loops back to self". I'll be on this and will post if I have a fix. Any ideas anyone? (i have configured the aliases/systemm file for the postmaster address correctly then ran "makealiases")
This error message means that the best MX for the domain in the email address points to your machine, but your machine doesn't believe it's a final destination for that domain.
Check that you've got Courier set up to know that whatever is after 'postmaster@' is recognised as being local to you (without seeing the message, it might be postmaster@localhost,
For postfix, this is /etc/postfix/mydomains, I'm not sure where Courier puts it to be honest.
Regards,
Tim.