The vacation Program’s Command-Line Switches

The behavior of the vacation program can be modified with the command-line switches shown in Table 10-8. In the sections that follow, we explain each in greater detail.

Table 10-8. vacation command-line switches

Switch

§

Description

-a

-a on page 386

Also handle mail for another name.

-C

-C on page 386

Specify an alternative configuration file.

-d

-d on page 387

Don’t syslog errors.

-f

-f on page 387

Use a different database file.

-i or -I

-i or -I on page 387

Initialize the database file.

-j

-j on page 388

Respond despite lack of expected recipient in To: or Cc: headers (V8.13 and above).

-l

-l (lowercase L) on page 389

List the database’s contents.

-m

-m on page 389

Use a different message file.

-r

-r on page 390

Change the notification interval.

-R

-R on page 390

Redefine the envelope sender address to use (V8.13 and above).

-s

-s on page 390

Specify the sender in the command line.

-t

-t on page 391

Ignored for compatibility with Sun’s vacation.

-U

-U on page 391

Don’t look up the user in the passwd(5) file.

-x

-x on page 392

Exclude a list of addresses.

-z

-z on page 392

Set the sender to <>.

-a

Also handle mail for another name vacation command-line switch

Some users have accounts on other machines under different login names. This can happen when moving from one job to another, for example. At the first job you might be named ellen, and at the next job you might have the login name ewinstin ...

Get sendmail, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.