procmail
[Top] [All Lists]

Re: "foo(_at_)bar" and procmail v3.10

1995-10-03 12:04:12
"Karl" == Karl E Vogel 
<vogelke(_at_)c17mis(_dot_)wpafb(_dot_)af(_dot_)mil> writes:
  >>> On Tue, 3 Oct 1995 11:09:04 -0700, 
  >>> David Karr <dkarr(_at_)nmo(_dot_)gtegsc(_dot_)com> said:

  D> I receieved another one of these just now.

  Karl>    I got some of these when I added a recipe with "f" in the flags list 
when
  Karl>    I really intended for that recipe to handle final delivery to a file
  Karl>    other than my default mailbox.  If you have any recipes like this, 
you
  Karl>    may want to zap the "f" flag and see what happens.

Yes, you mentioned that before.  I'm not familiar enough with the
innards of "procmail" and "formail" to understand exactly what is
happening.  I only have two recipes with the "f" flag, and I inserted
these directly from recommendations on how to use Procmail and the
Emacs Gnus newsreader together.  I guess the two "formail" recipes
could filter mail messages coming from a mailing list that a further
recipe would then file into my news hierarchy.  Does that fall into
the scenario you are mentioning?

The "f" flag is documented as "Consider the pipe as a filter".  What
exactly is going on here?

---------------
PATH=/bin:/usr/bin:/home/dkarr/bin:/usr/local/bin
MAILDIR=$HOME/Mail
LOGFILE=$MAILDIR/from
TRAP='add-active-nov $LASTFOLDER'
VERBOSE=on

# remove "Received" headers, to make GNUS header parsing faster
#ensure that there is a Message-Id: line, and a Subject: line.
:0f
| formail -I "Received:" -a Message-Id: -a "Subject: (None)"

# Add a "Lines:" header
:0 fhw
* !^Lines:
* B ?? 1^1 ^(.|$)
| formail -a "Lines: $="

:0
* 
^(Resent-From|To|cc):(_dot_)*procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
procmail/.

:0
* ^(Apparently-To|To|Cc)(_dot_)*xpm[-]*talk(_at_)(_dot_)*
comp/windows/x/xpm/.

:0
* ^Sender: efs-help-request(_at_)cuckoo(_dot_)hpl(_dot_)hp(_dot_)com
gnu/emacs/efs/help/.

:0
* ^Sender: efs-announce-request(_at_)cuckoo(_dot_)hpl(_dot_)hp(_dot_)com
gnu/emacs/efs/announce/.

:0
* ^Sender: efs-testers-request(_at_)cuckoo(_dot_)hpl(_dot_)hp(_dot_)com
gnu/emacs/efs/testers/.

:0
* ^(To|Cc):(_dot_)*hyperbole(_at_)(_dot_)*
gnu/emacs/hyperbole/.

:0
* ^Sender:(_dot_)*imake-talk-owner(_at_)primate(_dot_)wisc(_dot_)edu
comp/windows/x/imake/.

:0
* ^(From|Cc)(_dot_)*info-bbdb-request(_at_)cs(_dot_)uiuc(_dot_)edu
gnu/emacs/bbdb/.

:0
* ^From pearl(_at_)netcom(_dot_)com
gnu/emacs/winemacs/.

:0
* ^Sender:(_dot_)*eudora_forum(_at_)(_dot_)*qualcomm(_dot_)com
eudora/.

:0
* 
^(From|To|Return-Path|Cc)(_dot_)*ding(_dot_)*(_at_)ifi(_dot_)uio(_dot_)no(_dot_)*
* ^From ding-request(_at_)ifi(_dot_)uio(_dot_)no(_dot_)*
gnu/emacs/ding/.

:0
* 
^(From|To|Return-Path|Cc)(_dot_)*cc-mode(_dot_)*(_at_)merlin(_dot_)cnri(_dot_)reston(_dot_)va(_dot_)us(_dot_)*
* ^From 
(_dot_)*cc-mode-victims(_dot_)*(_at_)merlin(_dot_)cnri(_dot_)reston(_dot_)va(_dot_)us(_dot_)*
gnu/emacs/cc-mode/.

:0
* (Apparently-To|To|Cc):(_dot_)*owl-list(_at_)(_dot_)*cs(_dot_)rpi(_dot_)edu
comp/os/ms-windows/programmer/owl/.

:0
* (Apparently-To|To|Cc):(_dot_)*cciug(_at_)atria(_dot_)com
clearcase/international/users/.

# Local Variables:
# mode:text
# eval: (if (eq window-system 'x) (progn (setq font-lock-keywords (list '("#.*" 
. font-lock-comment-face) '("^[\t ]*:.*" . font-lock-type-face) 
'("[A-Za-z_]+=.*" . font-lock-keyword-face) '("^\\*.*" . 
font-lock-reference-face))) (font-lock-mode)))
# End:
---------------

-- 
============================================================================
David M. Karr        | Unix/X/C++/Emacs  |          GTE - Government Systems
dkarr(_at_)nmo(_dot_)gtegsc(_dot_)com | Software Engineer | w:(206)487-8578   
h:(206)844-3896
dkarr(_at_)eskimo(_dot_)com     |                   |

<Prev in Thread] Current Thread [Next in Thread>