iftocc

Section: User Commands (1)
Index Return to Main Contents
 

NAME

iftocc - check for blind carbon copies  

SYNOPSIS

iftocc [ okaddr ... ]  

DESCRIPTION

iftocc reads a mail message from its standard input. It exits 0 if $RECIPIENT is listed in a To or Cc field, 100 if not. Addresses are compared without regard to case.

If you list some okaddrs, iftocc will use them in place of $RECIPIENT. It exits 100 if none of them are listed in To or Cc.

For example, with qmail 1.03 and above, you can put


   |bouncesaying 'I do not accept Bcc.' except iftocc

into your .qmail file to reject blind carbon copies (including messages from mailing lists), or


   |condredirect me-blind except iftocc

to forward all blind carbon copies to me-blind.

WARNING: If you create a .qmail file to invoke iftocc, make sure to add a line specifying delivery to your normal mailbox.  

SEE ALSO

bouncesaying(1), condredirect(1), except(1), dot-qmail(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 14:39:30 GMT, December 08, 2024