202-450 Exam QuestionsBrowse all questions from this exam

202-450 Exam - Question 105


FILL BLANK -

Which option in the Postfix configuration makes Postfix pass email to external destinations to another SMTP-server? (Specify ONLY the option name without any values.)

Show Answer
Correct Answer:

The correct option in the Postfix configuration for making Postfix pass email to external destinations to another SMTP-server is 'relayhost'. This parameter specifies the mail relay host to which Postfix should forward all email that it cannot deliver directly. When set, Postfix will use this host to relay outbound mail. It is important to note that postfix configuration parameters do not contain spaces, which validates that 'relayhost' is the correct and concise configuration option.

Discussion

6 comments
Sign in to comment
usandoati
Jul 31, 2020

I think it's relayhost

usandoati
Aug 3, 2020

I think is relayhohst, look: http://www.postfix.org/BASIC_CONFIGURATION_README.html#relay_to

MBison
Mar 31, 2021

https://linux.die.net/man/5/main.cf relayhost is correct.

frantic25
Nov 17, 2020

I agree with usandoati. Moreover the provided answer seems suspicious, as postfix does not used a white space between words of a configuration parameter, it uses "_" to conect words. e.g.: relay_domains

zztiger66
Apr 20, 2021

It is relayhost for sure

Armina
Feb 20, 2022

relayhost http://www.postfix.org/BASIC_CONFIGURATION_README.html#relay_to What delivery method: direct or indirect By default, Postfix tries to deliver mail directly to the Internet. Depending on your local conditions this may not be possible or desirable. For example, your system may be turned off outside office hours, it may be behind a firewall, or it may be connected via a provider who does not allow direct mail to the Internet. In those cases you need to configure Postfix to deliver mail indirectly via a relay host. Examples (specify only one of the following): /etc/postfix/main.cf: relayhost = (default: direct delivery to Internet) relayhost = $mydomain (deliver via local mailhub) relayhost = [mail.$mydomain] (deliver via local mailhub) relayhost = [mail.isp.tld] (deliver via provider mailhub)