Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
qconfirm-check-mid(1)	    General Commands Manual	 qconfirm-check-mid(1)

NAME
       qconfirm-check-mid  - checks headers of a mail message for known	refer-
       ences

SYNOPSIS
       qconfirm-check-mid [-av]	[ mid ... ]

DESCRIPTION
       Normally	qconfirm-check-mid is run by qconfirm-check(1) before request-
       ing  a  delivery	confirmation for mail from an envelope sender mail ad-
       dress.  If qconfirm-check-mid exits 0,  qconfirm-check(1)  doesn't  re-
       quest a delivery	confirmation from this sender.

       qconfirm-check-mid assumes the environment variable SENDER to be	set to
       the envelope sender mail	address, and expects a mail message  on	 stan-
       dard input.

       qconfirm-check-mid  reads the headers of	the message available on stan-
       dard input, and checks  for  each  ``In-Reply-To''  and	``References''
       header  if it contains a	Message-ID that	matches	one of the space-sepa-
       rated mids in QCONFIRM_MID if set, or one of the	mids given at the com-
       mand line, and exits 0 if so.

       A  header  is  successfully  matched against QCONFIRM_MID or mid	if the
       header field contains the string	``mid>'', case	distinctions  are  ig-
       nored.  E.g., if	qconfirm-check-mid is called

       qconfirm-check-mid -a '@smarden.org'

       this ``References'' header is matched successfully:

       References: <20030326042405.32385.qmail@smarden.org_ <some@thing>

OPTIONS
       -a     accept.	After  successfully  matching a	header of the message,
	      add the envelope sender of this message to the list of known ids
	      before  exiting, so that qconfirm-check(1) automatically accepts
	      further messages from this sender.

       -v     verbose.	Print verbose messages to standard output.

CONFIGURATION
       qconfirm-check-mid reads	its configuration from files in	the  subdirec-
       tory  conf/ of the qconfirm directory (normally ``~/.qconfirm/conf/'').
       Only the	first line of a	configuration file is considered.

       QCONFIRM_MID
	      The configuration	file QCONFIRM_MID is optional, and may contain
	      a	space-separated	list of	mids.

ENVIRONMENT
       SENDER qconfirm-check-mid assumes the environment variable SENDER to be
	      set to the envelope sender mail address.	If $SENDER is not set,
	      qconfirm-check-mid complains and exits 100.

       QCONFIRM_MID
	      The  environment variable	QCONFIRM_MID is	optional, and may con-
	      tain a space-separated list of mids.  The	 environment  variable
	      overrides	the configuration file QCONFIRM_MID.

       QCONFIRM_DIR
	      The  environment variable	QCONFIRM_DIR overrides the default lo-
	      cation of	the user's qconfirm directory (``.qconfirm'').

SEE ALSO
       qconfirm(1), qconfirm-check(1),	qconfirm-conf(1),  qconfirm-inject(1),
       qconfirm-notice(1),  qconfirm-accept(1),	 qconfirm-return(1), qconfirm-
       control(1) qconfirm-cdb-check(1), qconfirm-cdb-update(1),

       http://smarden.org/qconfirm/

AUTHOR
       Gerrit Pape <pape@smarden.org>

							 qconfirm-check-mid(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | CONFIGURATION | ENVIRONMENT | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=qconfirm-check-mid&sektion=1&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help