lbdb-fetchaddr man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

LBDB-FETCHADDR(1)		 User Manuals		     LBDB-FETCHADDR(1)

NAME
       lbdb-fetchaddr  -  grab	addresses  from	 mails add append them to lbdb
       database

SYNOPSIS
       lbdb-fetchaddr [-d dateformat] [-x headerfieldlist] [-c charset] [-a]
       lbdb-fetchaddr [-v|-h]

DESCRIPTION
       lbdb-fetchaddr is a shell script	 which	reads  a  mail	on  stdin.  It
       extracts	 the  contents of some header fields (default: `From:', `To:',
       `Cc:', `Resent-From:', and `Resent-To:') from  the  mail	 header	 (only
       addresses    with    a	 real	 name)	  and	 appends    them    to
       $HOME/.lbdb/m_inmail.list.   For	 performance   issues	lbdb-fetchaddr
       appends	new addresses to this file without removing duplicates. To get
       rid of duplicates, the program  lbdb-munge  exists,  which  is  run  by
       m_inmail if needed and removes duplicates.

       To  use	this  program,	put the following lines into your $HOME/.proc‐
       mailrc:
	    :0hc
	    | lbdb-fetchaddr

       lbdb-fetchaddr writes the actual date to the third column of the	 data‐
       base  by	 using	strftime(3).   It uses "%Y-%m-%d %H:%M" as the default
       date format (e.g. "1999-04-29 14:33"). You can change this by using the
       -d  option  to  select  a  different date format string as parameter of
       lbdb-fetchaddr command like
	    :0hc
	    | lbdb-fetchaddr -d "%y-%m-%d"
       which results in e.g. "99-04-29".

OPTIONS
       -v     Print version number of lbdb-fetchaddr.

       -h     Print short help of lbdb-fetchaddr.

       -d dateformat
	      Use the given date format using strftime(3) syntax.

       -x headerfields
	      A colon  separated  list	of  header  fields,  which  should  be
	      searched	for  mail  addresses.	If this option isn't given, we
	      fall back to `from:to:cc:resent-from:resent-to'.

       -c charset
	      The charset which will be	 used  to  write  the  database.  This
	      should  be  the  charset which the application expects (normally
	      the one from your current locale).  If this option isn't	given,
	      we fall back to `iso-8859-15'.

       -a     Also  grab addresses without a real name.	 Use the local part of
	      the mail address as real name.

FILES
       $HOME/.lbdb/m_inmail.list
       /usr/local/libexec/lbdb/fetchaddr
       /usr/local/libexec/lbdb/m_inmail

SEE ALSO
       lbdbq(1), lbdb_dotlock(1), procmail(1), procmailrc(5), strftime(3).

CREDITS
       Most of the really interesting code of this program  (namely,  the  RFC
       822  address  parser  used  by  lbdb-fetchaddr) was stolen from Michael
       Elkins' mutt mail user agent. Additional credits go to Brandon Long for
       putting the query functionality into mutt.

AUTHOR
       The  lbdb package was written by Thomas Roessler <roessler@guug.de> and
       is now  maintained  and	extended  by  Roland  Rosenfeld	 <roland@spin‐
       naker.de>.

Unix				 October 2005		     LBDB-FETCHADDR(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net