Operating System - HP-UX
1847245 Members
2782 Online
110263 Solutions
New Discussion

Re: Searching for old domain

 
SOLVED
Go to solution
John Rivas
Occasional Contributor

Searching for old domain

We have recently switched domain names to xxxx.net and I keep getting an email saying my message could not be delivered to xxxx.tenet.edu. I know it is because sendmail is getting a command to email to user@xxxx.tenet.edu from some process(shell ,cron,.forward). I was wondering if anyone could tell me where I could look for this file in addition to the .forward, and crontab files.

Thanks in advance.

Below is the message from mail.log

Aug 29 04:08:18 hpuxserver sendmail[1835]: EAA01831: to=user@xxxx.tenet.edu,user2@xxxx.net,user@xxxx.net, ctladdr=root (0/3), delay=00:00:01, xdelay=00:00:01, mailer=relay, relay=relayxxx.net [xxx.xxx.xxx.xxx], stat=Sent (66E65B00 Message accepted, transient identifier was 183)
4 REPLIES 4
Pedro Cirne
Esteemed Contributor

Re: Searching for old domain

Hi,

Check /etc/mail/sendmail.cf, I'm almost sure you have there your old domain.

Enjoy :)

Pedro
Robert-Jan Goossens
Honored Contributor
Solution

Re: Searching for old domain

Hi,

Create a small script to use in the evening/night.

find / -type f | xargs grep "tenet.edu" > /tmp/check_old_domain.log

Regards,
Robert-Jan
Mel Burslan
Honored Contributor

Re: Searching for old domain

if you have a large disk capacity, this method is going to be very much time and resource consuming but you can run it in a scrip overnight, using cron and you can even nice it to run, not so hungry for the resources.

find / | xargs grep "xxx.tenet.edu" > /tmp/mylogfile

this will give you a list of suspect files to sift through.

hope this helps
________________________________
UNIX because I majored in cryptology...
D Anderton
Advisor

Re: Searching for old domain

I have had a similar issue.

Refer to ITRC DocId: IVKBRC00006736
How to setup the domaintable feature

The domaintable is a feature that allows you to use multiple domain names when for example transitioning from an old domain to a new one. This feature simply tranlates your old domainname to new domainname.

Good Luck.