Changes

Jump to: navigation, search

OPS535-online-L5

891 bytes added, 00:31, 9 March 2021
no edit summary
|}
= Configure mailing list for postfix =
 = Investigation 2:mailing list (on postfix) === Files from the postfix rpm package ==* Switch back Postfix keeps its configuration files in the /etc/postfix directory. Postfix's two main configuration files are /etc/postfix/main.cf and /etc/postfix/master.cf. On a CentOS 8.x system, you can use the "rpm -ql" command to get a list of all the files in the posftfix rpm package. You may notice that the postfix rpm package contains a few files named or partly named as "sendmail". You can get a list of those files with the following command:<pre>rpm -ql postfix | grep sendmail</pre>Investigate the purpose of the two files named "/usr/lib/sendmail" and "/usr/bin/sendmail". * Postfix use an alias file to implement simple mailing list. The name and location of the alias file is configured in the main.cf file.Try the following command:<pre> grep "alias_[maps|database]" main.cf | grep -v "#"</pre>and record the output for future reference. == Configure mailing list for postfix == :* On your VM2. Backup the file "/etc/aliases" to /etc/aliases.org" and execute the following commands as root:
<pre>
[root@pri-dns ~]# echo "ops535m: adm,ftp" >> /etc/aliases
|}
:* Compare the results for "VRFY ops535m" in this investigation and the previous one and comment on their difference.
 
= Investigation 2: mailing list (on postfix) =
 
= Investigation 3: mail queues (on postfix) =
1,760
edits

Navigation menu