sendmail domain

Paul Howarth paul at city-fan.org
Thu Dec 22 17:55:38 UTC 2005


Justin Willmert wrote:
> Alexander Dalloz wrote:
> 
>> Am Do, den 22.12.2005 schrieb azeem ahmad um 16:23:
>>
>>  
>>
>>> i got a question n i studied for it but couldnt get satisfied
>>> the question is
>>> how sendmail server comes to know which domain it belongs to
>>> i mean if there is a server mail.example.com
>>> then how mail comes to know that it belongs to example.com domain
>>> Regards
>>> Azeem
>>>   
>>
>>
>> You have to tell Sendmail which domains have to be treated as local -
>> class {w} - or relay - class {R} - domains in a) local-host-names or b)
>> in relay-domains.
>>
>> Alexander
>>
>>
>>  
>>
> That is also what the MX record in a domain's DNS is for.

The MX record tells MTAs where to send mail for the domain. The mail 
server configuration files (e.g. /etc/mail/local-host-names for 
sendmail) tell the server which domains it should accept mail for. 
Mismatches between the two usually result in "Relaying denied" type 
rejections.

Paul.




More information about the fedora-list mailing list