nerdexam
Linux_Foundation

LFCS · Question #45

What is true regarding the file ~/.forward?

The correct answer is D. When configured correctly, ~/.forward can be used to forward each incoming mail to more than. The ~/.forward file is a user-specific configuration that allows incoming emails to be redirected to one or more alternative email addresses or even piped to a program. This file is processed by the local Mail Delivery Agent (MDA) for each user.

Submitted by manish99· Apr 18, 2026Service Configuration

Question

What is true regarding the file ~/.forward?

Options

  • AAs it is owned by the MTA and not writable by the user, it must be edited using the editaliases
  • BAfter editing ~/.forward the user must run newaliases to make the mail server aware of the
  • CUsing ~/.forward, root may configure any email address whereas all other users may configure
  • DWhen configured correctly, ~/.forward can be used to forward each incoming mail to more than

How the community answered

(41 responses)
  • A
    7% (3)
  • B
    2% (1)
  • C
    2% (1)
  • D
    88% (36)

Why each option

The `~/.forward` file is a user-specific configuration that allows incoming emails to be redirected to one or more alternative email addresses or even piped to a program. This file is processed by the local Mail Delivery Agent (MDA) for each user.

AAs it is owned by the MTA and not writable by the user, it must be edited using the editaliases

The `~/.forward` file is owned by the user and is intended to be writable and editable by the user directly, not by `editaliases`.

BAfter editing ~/.forward the user must run newaliases to make the mail server aware of the

The `newaliases` command is used to rebuild the system-wide mail aliases database and is not required for changes to a user's `~/.forward` file to take effect.

CUsing ~/.forward, root may configure any email address whereas all other users may configure

The `~/.forward` file is user-specific; any user can configure forwarding to any valid email address, subject to MTA security restrictions, not just root.

DWhen configured correctly, ~/.forward can be used to forward each incoming mail to more thanCorrect

The `~/.forward` file can contain a comma-separated list of email addresses, allowing a user to forward their incoming mail to multiple recipients simultaneously. It can also direct mail to files or programs.

Concept tested: User mail forwarding (~/.forward)

Source: https://linux.die.net/man/5/forward

Topics

#Email Forwarding#~/.forward#MTA#User Mail Configuration

Community Discussion

No community discussion yet for this question.

Full LFCS Practice