[Dovecot] script to extract From: addresses
antondollmaier at aditsystems.de
Sun Jul 25 14:22:15 EEST 2010
> For my manager I need to write a script to extract the From: e-mail
addresses from his e-mail account.
Use reformail with "-x":
> Extracting headers
> The -x and -X options extract the indicated headers from the message,
and print them to standard output. Multiple -x and -X options can be
specified at the same time, and may be intermixed.
> The -x option extracts and prints the contents of the header. The -X
option prints the name of the header as well.
More information about the dovecot