| Author |
Message |
mastabog
Joined: 03 Apr 2004
Posts: 64
|
| Posted: Thu Apr 15, 2004 10:42 pm Post subject: Gentoo: hostname, domain, courier smtp ... problems allover |
|
|
| Problem solved in the end :) |
|
| Back to top |
|
adamgent
Joined: 23 Jun 2003
Posts: 261
|
| Posted: Thu Apr 15, 2004 11:54 pm Post subject: |
|
|
To use something different that localhost you need to update your
/etc/hosts file so it contains something like
127.0.0.1 hostname.domain hostname localhost
Adam |
|
| Back to top |
|
mastabog
Joined: 03 Apr 2004
Posts: 64
|
| Posted: Fri Apr 16, 2004 4:17 am Post subject: |
|
|
Thanks for the tip. Can't I use my external IP address in /etc/hosts? Like:
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 ...) |
|
| Back to top |
|
mastabog
Joined: 03 Apr 2004
Posts: 64
|
| Posted: Fri Apr 16, 2004 4:54 am Post subject: |
|
|
| Problem solved in the end :) |
|
| Back to top |
|
mastabog
Joined: 03 Apr 2004
Posts: 64
|
| Posted: Fri Apr 16, 2004 6:22 am Post subject: |
|
|
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") |
|
| Back to top |
|
timpelican
Joined: 29 Mar 2004
Posts: 3
|
| Posted: Sat Apr 24, 2004 3:04 pm Post subject: |
|
|
mastabog wrote: 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, postmaster@your.domain, postmaster@yourhost.your.domain, or something even odder.)
For postfix, this is /etc/postfix/mydomains, I'm not sure where Courier puts it to be honest.
Regards,
Tim. |
|
| Back to top |
|
| |