LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-06-2017, 08:40 AM   #1
bala1989murugan
LQ Newbie
 
Registered: Sep 2016
Posts: 16

Rep: Reputation: Disabled
Sendmail configuration


Dear Team,
I have installed sendmail package in my server.

Requirement:
I want to send mails to different domains. I'm not setting up the mail server in Linux.

Changed this line into my official smtp address.
dnl define(`SMART_HOST',`smtp.your.provider')

What are all the lines to be edited in sendmail configuration file?

My team required to send mails to different domains.
Mails are queueing.

I tried to send mail to another Linux host
root@hostname
this is also queueing.


Somebody can help on this.


Thanks.
 
Old 03-06-2017, 09:03 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Thats not where you change your smart host. That is the .mc file. You make changes in the .cf file. Specifically on the DS line:

On Centos:
Code:
vim /etc/mail/sendmail.cf
Change:
Code:
# "Smart" relay host (may be null)
DS
To:
Code:
# "Smart" relay host (may be null)
DSyour.relay.host.com
 
2 members found this post helpful.
Old 03-06-2017, 09:18 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by bala1989murugan View Post
Dear Team,
I have installed sendmail package in my server.

Requirement: I want to send mails to different domains. I'm not setting up the mail server in Linux.

Changed this line into my official smtp address.
dnl define(`SMART_HOST',`smtp.your.provider')

What are all the lines to be edited in sendmail configuration file?

My team required to send mails to different domains. Mails are queueing. I tried to send mail to another Linux host root@hostname this is also queueing.
One of the very first hits in Google for "how to configure sendmail smart host" is:
https://www.howtoforge.com/configuri...e-from-address

....a step-by-step guide, walking you through making the change via the MC file and compilation of that file. Please see the "Question Guidelines" link in my posting signature, and please try to do basic research.
 
1 members found this post helpful.
  


Reply

Tags
sendmail, sendmail access, sendmailmc



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 01:09 AM
Configuration help with sendmail markrich Linux - Software 1 10-02-2009 01:53 AM
sendmail configuration Uday123 Red Hat 2 01-18-2006 10:57 AM
Sendmail Configuration - I need Help ukjairaj Linux - Networking 5 06-23-2005 12:26 PM
Sendmail configuration AMMullan Linux - Networking 4 09-30-2004 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:14 PM.

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
Open Source Consulting | Domain Registration