LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2013, 05:55 AM   #31
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled

If you want to send an email using a smart host, I hope you understand that even the Smart Host should be running some SMTP server software like Sendmail or Postfix to relay it on internet. Even if your sendmail is relaying the mail to smart host properly and smart host is not configured properly to relay mails from outside or is not installed with some smtp server software, you will never receive any emails. I hope you have rebuild sendmail.cf using m4 macro and the correct sendmail.mc. If that is not working just add
Code:
DS[<RELAY_SVR_IP>]
to sendmail.cf.
You should have logs probably in /var/log/maillog file.
 
Old 11-15-2013, 06:07 AM   #32
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Hi all,

Thnx for your support.
It has been resolve with your support. i was making very silly mistake. i was entering ip address but i forgot to include it in reverse lookup zone in dns server. that's why it was not able to resolve the host name. when i entered FQDN. it's done thnx for your support guys..

but one more support i want from you that i made the changes into sendmail.mc and ran "#m4 sendmail.mc > /etc/mail/sendmail.cf"
then i restarted sendmail service but it still i could not see my mail relay in sendmail.cf then i manually edited sendmail.cf and restarted the service. then it started working fine..

am i making mistake while rebuilding sendmail.cf through sendmail.mc? if not then why i am not getting mail relay in sendmail.cf in DS.
 
Old 11-15-2013, 06:54 AM   #33
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
well, # is a comment initialiser

so if you litrally did #m4 ...
it did nothing.
 
Old 11-15-2013, 08:05 AM   #34
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Firerat View Post
well, # is a comment initialiser

so if you litrally did #m4 ...
it did nothing.
No i did not do like this . i did like
m4 sendmail.mc > /etc/mail/sendmail.cf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found eliassal Linux - Server 15 11-04-2010 02:09 AM
Sendmail Configuration Linuxadmn Linux - Newbie 1 11-26-2007 10:14 PM
Sendmail configuration JailBreak Linux - Networking 2 09-05-2007 09:48 AM
Sendmail Configuration arshad Red Hat 3 12-14-2003 01:11 AM
Sendmail Configuration TheDude074 Linux - General 1 08-07-2003 09:41 PM


All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration