-
-
Notifications
You must be signed in to change notification settings - Fork 3
iftocc.1
iftocc - check for blind carbon copies
iftocc [ okaddr ... ]
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.
bouncesaying(1), condredirect(1), except(1), dot-qmail(5),
ifaddr(1), iftoccfrom(1), bouncesaying(1), condredirect(1), condtomaildir(1), dot-qmail(5), filterto(1), except(1), dot-forward(1), fastforward(1), forward(1), printforward(1), setforward(1), preline(1), qmail-command(8), qnotify(1), qreceipt(1), replier(1), rrforward(1),