hi, what should i do to make mail sent to domainname.com be delivered at machine.domainname.com? thiago ---------------------------------------------- Visit my Music Band's web site @ www.71worship.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In >hi, In > In >what should i do to make mail sent to domainname.com be delivered at In >machine.domainname.com? Hello, You should read some documentation on the principals of DNS. All mail for a domain will be delivered to the host that is in the MX record of the domain. Sending mail to user@somecomputer.yourdomain.tld will not be directed to the computer "somecomputer", but to whatver host is in the MX record. To find the MX host, try one of the following commands: dig MX yourdomain.tld look for a line the looks like this: ;; ANSWER SECTION: yourdomain.tld. 7200 IN MX 0 mail.yourdomain.tld. the computer in the position on the right (in this example, mail.yourdomain.tld.) is the MX for your entire domain. If you don't have dig try nslookup nslookup -type=MX yourdomain.tld (I'll let you figure this one out) the only way around this problem is: 1. change your MX record to point to a different host 2. Create a sub-domain. If you don't run your own DNS server, the chances of getting a subdomain are very slim. Talk to your DNS host. Please note that for #1 to work, the host you are wishing to be the new mail host must have a FQDN on the internet (in other words, telling some particular computer that it's called foo.mydomain.com and then just setting the MX record to foo.mydomain.com will not work, because no other computer on the internet will be able to find foo.mydomain.com) HTH - -- - ---------------------------------------------------- Jonathan Wilson System Administrator Cedar Creek Software http://www.cedarcreeksoftware.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE99CW4Q5u80xXOLBcRArnoAJ0brhxc049Bx2cZP53qOSb1/QLG6wCeM15f pFFgyfYUyt5Juze17BDV7Zs= =zAPq -----END PGP SIGNATURE-----
This is not entirely true. Certainly the MX record points to the domain mail host, but when a host name is specified, the email goes to that host. Before I commented on this, I ran a test. blu.org is the domain I use. ;; ANSWER SECTION: blu.org. 3600 IN MX 5 asgard-usdc.blu.org. My home system is gaf.blu.org, which is a CNAME pointing to a very ugly ATTBI address. Sending email to gaf@gaf.blu.org from another system does not go through blu.org at all. The IP address will certainly come from the BLU server (or a secondary or cache). JW wrote:
All mail for a domain will be delivered to the host that is in the MX record of the domain. Sending mail to user@somecomputer.yourdomain.tld will not be directed to the computer "somecomputer", but to whatver host is in the MX record. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
thanks guys. all i did was was the MX record that makes domain.com point to computer.domain.com. it now works.... thanks for the help ---------------------------------------------- Visit my Music Band's web site @ www.71worship.com
participants (3)
-
Infra
-
Jerry Feldman
-
JW