Results 1 to 7 of 7
Hi,
I've waded through the Bat Book but haven't come upon anything that will resolve my problem yet. My LAN talks to my ISP's SMTP server (via SMART_HOST). If I ...
- 04-05-2005 #1Linux Engineer
- Join Date
- Feb 2005
- Posts
- 1,043
Sendmail: subdomain destination problem
Hi,
I've waded through the Bat Book but haven't come upon anything that will resolve my problem yet. My LAN talks to my ISP's SMTP server (via SMART_HOST). If I send mail to (eg) user@hosta.com it works fine. If I try to send mail to user@hosta.hostb.com the email is deferred for ever (it retries every 4 hours with the same result - deferred). If I change the address to user%hosta@hostb.com or user%hosta.hostb.com@hostb.com the mail gets sent, but seems to disappear into a black hole (I suspect my ISP's server is doing that) - at least the mail never turns up in the user's mailbox.
What am I missing? I'm using Fedora Core 2 (soon be upgrading to 3) and sendmail v8.12.11.
Any hints, please?
Thanks,
Steve
- 04-06-2005 #2Linux Newbie
- Join Date
- Dec 2004
- Location
- Barrie, Ontario
- Posts
- 219
You haven't really stated enough useful information for problem solving...
You send to user@hosta.com and it's sent and recieved.
You send to user@hosta.hostb.com and it's deferred.
You send to user%hosta@hostb.com and it's sent and not recieved.
You send to user%hosta.hostb.com@hostb.com and it's sent and not recieved.
My question is:
Are you the MX of record for hosta.com and/or hostb.com?Blog - KB5UMQ - Linux User #272983
3 Rules:
1) "It doesn't work..." is simply not useful information.
2) Don't cross post!
3) If you are asking for help, start by telling us your distro/os and version.
- 04-06-2005 #3Linux Engineer
- Join Date
- Feb 2005
- Posts
- 1,043
Thanks for the response.
Originally Posted by Kode
I'm not the MX record for either host and I've disabled MX record checking (MODIFY_MAILER_FLAGS(`SMTP', `+0') in conjunction with nullclient). hosta and hostb are intechangeable in my examples (user@hostb.hosta.com is also deferred). The issue I'm trying to resolve is why an extra domain level causes the email delivery to be deferred.
- 04-06-2005 #4Linux Newbie
- Join Date
- Dec 2004
- Location
- Barrie, Ontario
- Posts
- 219
Each subdomain level must have a valid MX record, just like the main domain level. If that MX record doesn't exist, then there's no email handler for it, thus, no route, and thus, deferred.
Blog - KB5UMQ - Linux User #272983
3 Rules:
1) "It doesn't work..." is simply not useful information.
2) Don't cross post!
3) If you are asking for help, start by telling us your distro/os and version.
- 04-06-2005 #5Linux Engineer
- Join Date
- Feb 2005
- Posts
- 1,043
As I've already explained, I've disabled MX checking. The single level domain names I can send to don't have MX records either, and they work. Why don't the subdomain names also work? One of the subdomains does, in fact, have an MX record, but that doesn't work either. So I believe it has nothing to do with MX records. Any other ideas?
Steve
- 04-06-2005 #6Linux Newbie
- Join Date
- Dec 2004
- Location
- Barrie, Ontario
- Posts
- 219
It's not just the MX record itself... the recieving SMTPd needs to know it's supposed to handle that subdomain as well.
In the sendmail config, for example:
Etc.Code:CWhosta.com CWhostb.hosta.com
Blog - KB5UMQ - Linux User #272983
3 Rules:
1) "It doesn't work..." is simply not useful information.
2) Don't cross post!
3) If you are asking for help, start by telling us your distro/os and version.
- 04-06-2005 #7Linux Engineer
- Join Date
- Feb 2005
- Posts
- 1,043
The receiving SMTPd can handle the subdomains - it's my sendmail that's deferring the transfer to it! I'm using SMART_HOST to relay all email to my ISP's SMTP server. It only seems to work when there's only one dot in the target's domain address.


Reply With Quote
