Advertisement

12.10.2002 at 09:35AM PST, ID: 20421299
[x]
Attachment Details

sendmail appending domain name to invalid lookups

Asked by Tonyboy in SendMail Email Server

Tags: , ,

Dear group,

Recently, I have noticed that sendmail is appending my domain name "domain.com" to the end of any unresolveable lookups.

For example, if sending a message to `foo@nonexistant.nowhere.com', once sendmail notices that this domain name is unresolveable, it will append `domain.com', to end up with: `foo@nonexistant.nowhere.com.domain.com'.

For various reasons that don't need explaining at this point, I have a wildcard DNS record for my domain, so that web traffic to *.domain.com wil be accepted.

I have also removed the `search domain.com' entry in my resolv.conf file, but the behaviour still manifests itself. For example:

> /usr/lib/sendmail -d8.20 -bt

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> /canon nonexistant.nowhere.com
dns_getcanonname(nonexistant.nowhere.com, trymx=0)
dns_getcanonname: trying nonexistant.nowhere.com. (ANY)
        NO: errno=0, h_errno=1
dns_getcanonname: trying nonexistant.nowhere.com.domain.com (ANY)
        YES
dns_getcanonname: nonexistant.nowhere.com.domain.com
getcanonname(nonexistant.nowhere.com) returns nonexistant.nowhere.com.domain.com

Any ideas as to how I should fix this?
- TonyboyStart Free Trial
[+][-]12.10.2002 at 03:06PM PST, ID: 7562677

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.10.2002 at 03:17PM PST, ID: 7562726

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.10.2002 at 04:58PM PST, ID: 7563165

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.27.2002 at 03:23PM PST, ID: 7637945

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.12.2004 at 02:43PM PDT, ID: 11788694

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]08.17.2004 at 12:44PM PDT, ID: 11824496

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SendMail Email Server
Tags: sendmail, domain, appending
Sign Up Now!
Solution Provided By: modulo
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32