Top-Rated Free Essay
Preview

linux

Satisfactory Essays
456 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
linux
1. What change is necessary to make sendmail listen to all network traffic on port 25? What file would you edit?
This server does not relay outbound email originating on other systems. For this configuration to work, you must be able to make outbound connections from and receive inbound connections to port 25. The line in sendmail.mc that limits sendmail to accepting inbound email from the local system only isDAEMON_OPTIONS(‘Port=smtp,Addr=127.0.0.1, Name=MTA') dnlTo allow sendmail to accept inbound email from other systems, remove the parameter Addr=127.0.0.1, from the preceding line:DAEMON_OPTIONS(‘Port=smtp, Name=MTA')dnl By default, sendmail does not use a remote SMTP server to relay email, so there is nothing to change to cause sendmail to send email directly to recipients’ systems.

2. What two files does sendmail create while processing a message?
The daemon stores the body of the message in a file named df(data file) followed by the generated string. It stores the headers and other information in a file named qf (queue file) followed by the generated string.

3. What does dnl stand for in the m4 macro language? What are dnl commands used for?

The dnl command, which stands for delete to new line, instructs the compiler to ignore anything on a line following the dnl. It is used to set off
Comment

4. How can you use praliases to regenerate a host alias file?
You can use praliases to list aliases currently loaded by sendmail

5. In what file do you setup relaying for sendmail?

The sendmail init script regenerates access.db from access each time you run it, as when you restart sendmail.

6. List the purpose of each of the following SMTP commands?
a. HELO: begins the session and identifies the local system

b. RCPT TO: Specifies the e-mail address of the recipient. This command can be repeated multiple times for a given e-mail message in order to deliver a single e-mail message to multiple recipients

c. DATA: starts the transfer of the message contents (body text, attachments etc). After that the DATA command has been sent to the server from the client, the server will respond with a 354 reply code. After that, the message contenHts can be transferred to the server. When all message contents have been sent, a single dot (“.”) must be sent in a line by itself. If the message is accepted for delivery, the SMTP server will response with a 250 reply code.

7. What port number does SMTP use? For Send Mail Transfer protocol default port number as is 25.

8. What protocols are used to pickup mail?
IMAP and POP

9. What is the purpose of mailertable file?

The mailertable file seems to be used to send emails or similar data packets between machines running Fedora

You May Also Find These Documents Helpful

  • Good Essays

    Nt1310 Unit 4 Lab Report

    • 818 Words
    • 4 Pages

    The purpose of Lab 4 was to experiment with the vi editor commands. In the lab, the “garden” file was edited in many different ways. Many commands were explored in this lab including the ab, U, yy, dd, w, set number, set showmode, and paging commands.…

    • 818 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Chapter 20 lab

    • 284 Words
    • 2 Pages

    4. What does dnl stand for in the m4 macro language; what are dnl commands used for?…

    • 284 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1. What does the /w switch do? And why is it used? I think there are a lot of commands that might use /w for very different reasons... For example: MCP/MCSA/MCTS/MCITP. The /W switch specifies the warning level of the MIDL compiler. The warning level indicates the severity of the warning.…

    • 380 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Nt1310 Unit 3 Quiz

    • 6337 Words
    • 26 Pages

    What is the primary purpose of the __P() macro? Choice 1 The __P() macro has no function, and merely obfuscates library function declarat ions. It should be removed from further releases of the C library. Choice 2 The __P() macro provides forward compatibility for C++ compilers, which do not r ecognize Standard C prototypes. Choice 3 Identifiers that begin with two underscores are reserved for C library implement ations. It is impossible to determine the purpose of the macro from the context given. Choice 4 The __P() macro provides backward compatibility for K&R C compilers, which do no t recognize Standard C prototypes. Choice 5 The __P() macro serves primarily to differentiate library functions from applica tion-specific functions. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /*question number 68*/ Which one of the following is NOT a valid identifier? Choice 1 __ident Choice 2 auto [Ans] Choice 3 bigNumber Choice 4 g42277 Choice 5 peaceful_in_space - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /*question number 69*/ /* Read an arbitrarily long string. */ Code: int read_long_string (const char ** const buf) { char * p = NULL; const char * fwd = NULL; size_t len = 0; assert(buf); do { p = realloc(p, len += 256); if (!p) return 0; if (!fwd) fwd = p; else fwd = strchr(p, '\0'); } while (fgets(fwd, 256, stdin)); *buf =…

    • 6337 Words
    • 26 Pages
    Good Essays
  • Powerful Essays

    2. Edit sendmail.mc to make sendmail listen on all interfaces. If sendmail is listening on the loopback interface only, you should comment out the daemon_options line in the /etc/mail/sendmail.mc file with dnl statements. It is also good practice to take precautions against spam by not accepting mail from domains that don't exist by commenting out the accept_unresolvable_domains feature too. See the fourth and next to last lines in the example.…

    • 4615 Words
    • 19 Pages
    Powerful Essays
  • Good Essays

    Nt1330 Unit 1 Quiz

    • 2196 Words
    • 9 Pages

    =SUM(Sheet2:Sheet13!B5) adds all the values contained in cell B5 on all the worksheets between and including Sheet 2 and Sheet 13…

    • 2196 Words
    • 9 Pages
    Good Essays
  • Satisfactory Essays

    Unit 7 Quiz 5

    • 507 Words
    • 9 Pages

    A ____________ is an email server that receives inbound email and simply forwards it to another…

    • 507 Words
    • 9 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1430 Unit 5 exercise

    • 582 Words
    • 2 Pages

    Q3 If your firewall allowed only the machine with the ip add of 192.168.1.1 to send email…

    • 582 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Unit 210 handling mail

    • 510 Words
    • 3 Pages

    Internal mails are used where deliveries need to be made to offices or departments. Internal mails save time and money. So any mails that can be sent via internal mail are sent via that means and only the remaining are sent via external mail system.…

    • 510 Words
    • 3 Pages
    Good Essays
  • Good Essays

    NT1430

    • 942 Words
    • 4 Pages

    Before using Sendmail, the default MTA has to be switched from Postfix. For more information how to switch the default MTA refer to Section 13.3, “Mail Transport Agents”.…

    • 942 Words
    • 4 Pages
    Good Essays
  • Good Essays

    The purpose of keeping an electronic message system up to date is that we know which messages we dealt with also to avoid miscommunication. It also allows you to have more clear view at other messages. For example every day when I’m coming to work I’m checking my emails and as soon as I reply or finish reading and it’s not important I will remove it from my inbox so it is free from unwanted messages. This will then be filed away into the appropriate subfolder. This is then held on file if it needs to be looked at in the future for some reason.…

    • 1114 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    2. What command disables remote access to the MySQL Database? Is this a security hardening best practice?…

    • 316 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Linux Hw

    • 287 Words
    • 2 Pages

    What kind of server repond to recursive queries ? how does this server work ?…

    • 287 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    1. By default, email addressed to system goes to root. How would you also save a copy in /var/logs/systemmail? A) Edit the /etc/aliases file to include the entry below:…

    • 401 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    - Worthless pseudocode command that is not necessary and is not used by most real world languages. (Use = instead)…

    • 504 Words
    • 3 Pages
    Satisfactory Essays