O'Reilly logo

Sendmail, 3rd Edition by Bryan Costales

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

UseErrorsTo

Synopsis

Ordinarily, V8 sendmail sends notification of failed mail to the envelope sender. It specifically does not send notification to the addresses listed in the Errors-To: header. It does this because the Errors-To: header violates RFC1123. For additional information about the Errors-To: header, see Errors-To:.

The UseErrorsTo option is available to prevent older versions of mail-reading software from failing. When set, it allows error notification to be sent to the address listed in the Errors-To: header in addition to that sent to the envelope sender.

The forms of the UseErrorsTo option are as follows:

O UseErrorsTo=bool              configuration file (V8.7 and later) 
-OUseErrorsTo=bool              command line (V8.7 and later) 
define(`confUSE_ERRORS_TO',bool)    mc configuration (V8.7 and later) 
Olbool                          configuration file (deprecated) 
-olbool command line (deprecated) 

The optional argument bool, when missing, defaults to true (errors are sent to the Errors-To: header). If this option is missing entirely, it defaults to false (the Errors-To: header is ignored).

The UseErrorsTo option is not safe. If specified from the command line, it can cause sendmail to relinquish its special privileges.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required