Solved

sendmail: stickyhost; @host.domain.com

Posted on 1997-11-28
3
502 Views
Last Modified: 2012-05-04
Hi. I have my DNS setup so that *.domain.name points to the same IP; am using sendmail 8.8.5 on a BSD/OS 3.0 system.

How do I setup sendmail.cf so that it does not "scrunch" user@host.domain.name to merely user@domain.name? I suppose it's FEATURE(stickyhost) in the .mc file but I can't simply generate a new sendmail.cf using m4 due to virtual server limitations.

Or perhaps, is there some rule that I should comment out or add so that user@host1.domain.name and user@host2.domain.name can point to different addresses (via virtmaps)?

Another way to state this would be, how do I get virtmaps to support @host.domain.name entries? I got it running fine for @domain.name entries.

Looking for rule(s), not m4 macros...

Thanks!
0
Comment
Question by:dirge
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Author Comment

by:dirge
ID: 2008113
Edited text of question
0
 
LVL 1

Accepted Solution

by:
dhughes111797 earned 150 total points
ID: 2008114
Try this:
look for rules that have something like this in
them:
R$+ @ $+ . $m    or
R$+ < @ $+ . $m >   or
R$+ < @ $* . $m >   or
R$+ < @ $- . $m >
comment them out, then put sendmail in test mode with this new config file and try it out. If it doesn't work, it might help if you post the current sendmail.cf file that you are using.
0
 
LVL 1

Author Comment

by:dirge
ID: 2008115
Actually, I found out that it is impossible with my particular setup: the mail relays do the "scrunching", i.e. canonicalization. You get the points for your time though... :)

The possible solutions would be: to assign separate IP addresses to each host so that host.domain.name does not get canonicalized down to domain.name; and to scan the headers for the first/lowermost "Received:... for <user@host.domain.name>" line. Unfortunately, the latter is not a sure thing. Some relays don't add the "for" clause.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question