?
Solved

Setting up mailertables

Posted on 2001-07-26
2
Medium Priority
?
383 Views
Last Modified: 2013-12-17
I am trying to set up mailertables with only some luck.

What I have is a host on my DMZ which will receive all mail for 2 domains and then redirect the mail internaly to the correct mailserver based upon the original domain the mail was sent to.

I set up a mailertable file like this:
domain1.com smtp:[host2.domain1.com]
domain2.com smtp:[host3.domain1.com]

The machine on the DMZ in called host1.domain1.com.

I was using sendmail -d38.4 -bs to trace what was happening and I saw this:

When I typed in mail from:louis@domain1.com it looks this up in the mailertable and excepts the mail.

When I typed in rcpt to:john@domain2.com it does not lookup the domain in the mailertable but does except the user.

After typing in some data it then lookes up domain2.com (using mx) and makes a conversation to the host.

Why is it not looking up domain2.com in the mailertable and just sending it to host3.domain1.com???

I do not have anything in my aliases file (I do not want to receive mail locally for anyone).

Thanks,
Louis
0
Comment
Question by:masteryoda
[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 Comments
 
LVL 5

Accepted Solution

by:
markt9 earned 600 total points
ID: 6325177
Did you makemap that mailertable and restart sendmail?  Have a look at http://www.garg.com/bob/sendmail/ for some more clues
0
 

Author Comment

by:masteryoda
ID: 6326208
This was not the problem.  Actualy the problem was that text maps are broken in 8.11 of sendmail.  I switched to dbm and all works fine now.

However, since you provided so many other good suggestions on your web page I will give you the points.

Thanks a lot,
Louis
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

New-MailboxSearch Powershell Command and step by step approach to Search and Extract Emails form Exchange 2013 Journaling server.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Suggested Courses

764 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