LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-05-2021, 08:24 AM   #1
gxu
LQ Newbie
 
Registered: Apr 2021
Posts: 2

Rep: Reputation: Disabled
default value of relayhost in postfix main.cf


I am puzzled to see that the "relayhost" parameter of my /etc/postfix/main.cf has been empty all the while sending mail using mailx has been working fine. Does the default value of "relayhost" default to "mailhost"? since "mailhost" is my organization's SMTP server's name.

I am running Suse Leap 15.1

Last edited by gxu; 04-05-2021 at 08:26 AM.
 
Old 04-05-2021, 09:27 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by gxu View Post
Does the default value of "relayhost" default to "mailhost"?
Nope. It defaults to empty. But it gets overridden by "relay_transport" and a bunch of other settings. See its description in the manual page.
 
Old 04-05-2021, 01:15 PM   #3
gxu
LQ Newbie
 
Registered: Apr 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shruggy View Post
Nope. It defaults to empty. But it gets overridden by "relay_transport" and a bunch of other settings. See its description in the manual page.
That's what I thought. But then how could sendmail/mail/mailx work when it is empty? How does it find the MX server to send mail out?
 
  


Reply



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
postfix relayhost configuration (SMTPS) rutgerw Linux - Server 3 02-19-2011 02:02 AM
difference between value *value and value * value PoleStar Linux - Newbie 1 11-26-2010 03:37 PM
postfix - relayhost configuration problem kalinic Ubuntu 20 03-02-2009 03:36 AM
Postfix relayhost or direct deliver john.dixon Linux - Server 2 10-30-2008 08:44 AM
postfix relayhost gabsik Linux - Networking 1 02-08-2007 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:13 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
Open Source Consulting | Domain Registration