Practical Guide to Fedora and Red Hat Enterprise Linux, A (4th Edition)

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Answers to Even-numbered Exercises 1. By ? 2. How would Max store a copy of his email in ~/mbox and send a copy to [email protected] ? Max needs to create a ~/.forward file with the following lines: $ cat ~/.forward ~/mbox [email protected] \max 3. If yoer as a relay? 4. What does dnl stand for in the m4 macro language? What are dnl com- mands used for? The dnl command, which stands for delete to new line , instructs the com- piler to ignore anything on a line following the dnl . It is used to set off comments. 5. Sgher? 6. Describe the software and protocols used when Max sends an email to Sam on a remote Linux system. One possible answer of many: a. Max’s MUA passes the email to sendmail . b. The sendmail daemon uses SMTP to deliver the email to the instance of sendmail
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: on Sam’s system. c. On Sam’s system, sendmail passes the email to the local MDA ( procmail ). d. The MDA stores the email in Sam’s file in the spool directory. e. Sam’s MDA retrieves the email from the spool directory. 7. Youe? 20 8. Assume you have a script that sends its output to standard output. How would you modify the script to send the output in an email to a user speci-fied by the first argument on the command line? (You may assume that the data is stored in $RESULT .) echo "$RESULT" | /usr/sbin/sendmail $1 9. UA. 10. If you accidentally delete the /etc/aliases file, how could you easily re-create it (assuming that you had not restarted sendmail )? # praliases > /etc/aliases...
View Full Document

{[ snackBarMessage ]}

Page1 / 2

20.sendmail.ans.even.RH4 - on Sam’s system c On Sam’s...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online