Sendmail ignoring Mailertable

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Sendmail ignoring Mailertable
# 1  
Old 07-18-2012
Sendmail ignoring Mailertable

Hi Friends,

I am running sendmail 8.14 on rhel6. I have 2 mail servers as serv1.home.com and test.home.com. Currently test.home.com is pointing as MX for home.com domain. So what I am trying to do is to route emails arriving at test.home.com server to serv1.home.com using mailertable. I have defined the Feature in sendmail.mc file and compiled the sendmail.cf accordingly, also created mailertable file and generated mailertable.db also. But the sendmail is ignoring the mailertabel and is delivering all the emails sent at @home.com locally to test.home.com using the MX lookup. Logs do not show any error message at all.

Code:
 #cat mailertable
home.com	esmtp:serv1.home.com

Code:
  sendmail.mc

include(/home/rohit/sendmail-8.14.5/cf/m4/cf.m4)dnl
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $')
OSTYPE(linux)dnl
DOMAIN(generic)dnl
FEATURE(`mailertable', `hash /etc/mail/mailertable')dnl
MAILER(local)dnl
MAILER(smtp)dnl


So what i could be missing, any help would be greatly appreciated.Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sendmail ignoring line endings

Mails from Sendmail are ignoring line endings, when I try to send email with attachment. I have tried to specify the font in the html but line endings are still ignored. I also tried unix2dos, still no luck. #!/usr/bin/ksh ###Send Email MAILTO=`cat mail2.list | tr -s '\n' ','` SUBJECT="bla bla... (3 Replies)
Discussion started by: aydj
3 Replies

2. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

3. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

4. UNIX for Dummies Questions & Answers

Sendmail mailertable help

Hello, all. I have two entries in a mailertable: domain1.com esmtp: domain2.com esmtp: After I made the entries I did makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable and restarted sendmail. One domain uses the smarthost and the other... (1 Reply)
Discussion started by: cignul9
1 Replies

5. Shell Programming and Scripting

ignoring case

in if clause , how 1 can ignore case (i.e. small or capital) ny suggestions? (2 Replies)
Discussion started by: Gl@)!aTor
2 Replies

6. Shell Programming and Scripting

grep ignoring punctuation

I have a file xxx.txt containing winter_kool sugar_"sweet" Is there anyway i can grep xxx.txt for strings without using punctuations. for eg: `grep sugarsweet xxx.txt` should give output : sugar_"sweet" (2 Replies)
Discussion started by: jack_gb
2 Replies

7. Shell Programming and Scripting

concatenate is ignoring space

Hi All,I am facing the below problem I have set a variable: a=`cat a.txt| grep "mad" | cut -c 30-50`the output is coming echo $a1 10 Mad300 3215however the actual ouput is 1.10 Mad300 3215There are 4spaces between 300 and 3215 so if i do: echo "$a" I am getting correct output: 1.10... (3 Replies)
Discussion started by: mad_man12
3 Replies

8. Shell Programming and Scripting

Ignoring a Pattern

Hi, I have a requirement to find and replace contents from multiple files. I am able to replace the contents. but i am facing a issue while replacing when finding a certain charcter pattern as unix is treating this is a command. Please find below sample on the same Output file to be generated... (1 Reply)
Discussion started by: seeki
1 Replies

9. Shell Programming and Scripting

ignoring multiple patterns

Hi, Using grep how to ignore multiple patterns for example # multiple #installOption #role role #ROLE I want to ignore all that comes with # in a single command If I use grep -v \^\#"role" <filename> (2 Replies)
Discussion started by: dbashyam
2 Replies

10. Shell Programming and Scripting

Ignoring certain extensions

Dear Friends, I want to move all the files to temp folder except files having following extensions which are case sensitive. .ttM .Hmt .dMt Request you to guide me to do the same Thank you in advance Anushree (3 Replies)
Discussion started by: anushree.a
3 Replies
Login or Register to Ask a Question