mailto.conf(5) OpenPrinting mailto.conf(5)

# [NAME](#NAME)

mailto.conf - configuration file for cups email notifier

# [DESCRIPTION](#DESCRIPTION)

The **mailto.conf** file defines the local mail server and email notification preferences for CUPS.

Each line in the file can be a configuration directive, a blank line, or a comment. Configuration directives typically consist of a name and zero or more values separated by whitespace. The configuration directive name and values are case-insensitive. Comment lines start with the # character.

## [DIRECTIVES](#DIRECTIVES)

[**Cc cc-address@domain.com**](#Cc)

Specifies an additional recipient for all email notifications.

[**From from-address@domain.com**](#From)

Specifies the sender of email notifications.

[**Sendmail sendmail command and options**](#Sendmail)

Specifies the sendmail command to use when sending email notifications. Only one *Sendmail* or *SMTPServer* line may be present in the **mailto.conf** file. If multiple lines are present, only the last one is used.

[**SMTPServer servername**](#SMTPServer)

Specifies a SMTP server to send email notifications to. Only one *Sendmail* or *SMTPServer* line may be present in the **mailto.conf** file. If multiple lines are present, only the last one is used.

[**Subject subject-prefix**](#Subject)

Specifies a prefix string for the subject line of an email notification.

# [SEE ALSO](#SEE_ALSO)

[**cupsd**(8)](/man/os/cups/cupsd.8), CUPS Online Help (http://localhost:631/help)

# [COPYRIGHT](#COPYRIGHT)

Copyright © 2020-2024 by OpenPrinting.

CUPS 2021-02-28

---

Document: mailto.conf(5) from cups 2.4.20-r0 (Chainguard OS)
Source: https://github.com/OpenPrinting/cups
