On Thu, Oct 31, 2013 at 07:40:31PM +0000, miro wrote:
> I have just tried to send this forwarded message to courier-maildrop mailing 
> list.
> I wonder why it doesn't show at all, other than the title and little else...
> I'm not touching this message that I am forwarding, in the least.
> Anyway, if not there, may the information be able available on the Mutt 
> archives.
> 
> ----- Forwarded message from miro <[email protected]> -----
> 
> Date: Thu, 31 Oct 2013 19:19:32 +0000
> From: miro <[email protected]>
> To: [email protected]
> Subject: My standalone maildrop configuration files
> User-Agent: Mutt/1.5.21 (2010-09-15)
> 
> At long last I learned the last trick that I was badly lacking, and without 
> which the configuration had some serious flaws.
> 
> Such as those that I asked for help here:
> http://article.gmane.org/gmane.mail.getmail.user/4958
> 
> I like maildrop and wish to contribute my configuration to the public.
> 
> Pls. find my configuration either on:
> 
> http://www.croatiafidelis.hr/gnu/maildrop/
> 
> or I'll try and send them to this courier mailing list as signed attachments.
> 
> Miroslav Rovis
> Zagreb, Croatia
> 
> #
> # This is configuration file for standalone maildrop:
> # ~/.mailfilter
> #
> # based on:
> # http://www.wonkity.com/~wblock/docs/html/maildrop.html
> # and the missing trick found on:
> # 
> http://www.debian.org/doc/manuals/debian-reference/ch06.en.html#_maildrop_configuration
> # (the ...test -d ...  if ( $RETURNCODE == 1 ) ... if clause trick)
> #
> # No warranties of any kind, but freely use as template
> # You certainly cannot simply reuse this, but replace with your data (email 
> etc.)
> #
> # You can cite me, Miroslav Rovis, and www.CroatiaFidelis.hr as source if you 
> wish.
> #
> # Feedback welcome, but I am lazy at replying to emails sometimes. I prefer 
> public
> # correspondence, such as on respective mail-lists.
> # See my previous attempts at .mailfilter script
> # here: http://www.dovecot.org/list/dovecot/2013-October/092842.html
> # as well as here: http://marc.info/?l=mutt-users&m=138178696024182&w=2
> # for more info (and to avoid mistakes like mine)
> 
> TYPE="maildir"
> 
> logfile "$HOME/.mailfilter.log"
> 
> ECHO="/bin/echo"
> MAIL="/usr/bin/mail"
> MAILDIRMAKE="/usr/bin/maildirmake"
> REFORMAIL="/usr/bin/reformail"
> 
> MBOX=($TYPE =~ /mbox/)
> MAILDIR=($TYPE =~ /maildir/)
> 
> # use mbox by default
> DEFAULT="$HOME/mail"
> FOLDERS="$DEFAULT/"
> 
> if ( $MAILDIR )
> {
>     DEFAULT="$HOME/Maildir"
>     FOLDERS="$DEFAULT/."
>  if ( $DEFAULT )
>  {
> `test -d $DEFAULT`
> if ( $RETURNCODE == 1 )
>   {
>     `${MAILDIRMAKE} "$DEFAULT"`
>     if ( $RETURNCODE == 0 )
>     {
>         # notify the user when new folders are created
>         NEWFOLDERMSG="${FOLDERS} folder created"
>         `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME`
>     }
>   }
>  }
> }
> 
> xfilter "reformail -c -U'Received: from'" 
> 
> # filter out duplicate messages
> `${REFORMAIL} -D 131072 $HOME/.duplicate.cache`
> if ( $RETURNCODE == 0 )
> {
>     log "File: (duplicate)     ($SIZE)\n"
>     exit
> }
> 
> if ( /^(To|Cc|Envelope-To|Delivered-To):.*(miro\.rovis@croatiafidelis\.hr)/ ) 
> {
>     MYFOLDERDOT="$MATCH2"
>     MYFOLDER=`echo $MYFOLDERDOT|sed 's/\.//g'`
>     F2MKlevel1="$MYFOLDER"
> include .maildirmake.incL1
> 
> # handle mailing list messages automatically
> if ( /^List-Id:.*<([0-9A-Za-z_\.\-]+)/ )
>  {
>     LISTNAMEDOT="$MATCH1"
>     LISTNAME=`echo $LISTNAMEDOT|sed 's/\.//g'`
>     F2MKlevel2="$LISTNAME"
> include .maildirmake.incL2
>     to ${FOLDERS}$MYFOLDER.$F2MKlevel2
>  }
> if ( /^(To|Cc):.*postfix-users@postfix\.org/ )
>  {
>     LISTNAMEDOT="[email protected]"
>     LISTNAME=`echo $LISTNAMEDOT|sed 's/\.//g'`
>     F2MKlevel2="$LISTNAME"
> include .maildirmake.incL2
>     to ${FOLDERS}$MYFOLDER.$F2MKlevel2
>  }
> if ( /^(To|From):.*support@plus\.hr/ )
>  {
>     LISTNAMEDOT="[email protected]"
>     LISTNAME=`echo $LISTNAMEDOT|sed 's/\.//g'`
>     F2MKlevel2="$LISTNAME"
> include .maildirmake.incL2
>    to ${FOLDERS}$MYFOLDER.$F2MKlevel2
>  }
> if ( /^(To|From|Cc):.*@mutt.org/ )
>  {
>     LISTNAMEDOT="@mutt.org"
>     LISTNAME=`echo $LISTNAMEDOT|sed 's/\.//g'`
>     F2MKlevel2="$LISTNAME"
> include .maildirmake.incL2
>     to ${FOLDERS}$MYFOLDER.$F2MKlevel2
>  }
>     to ${FOLDERS}$F2MKlevel1
> }
> 
> if ( /^(To|Cc|Envelope-To|Delivered-To):.*(m.rovis@inet\.hr)/ )
> {
>     MYFOLDERDOT="$MATCH2"
>     MYFOLDER=`echo $MYFOLDERDOT|sed 's/\.//g'`
>     F2MKlevel1="$MYFOLDER"
> include .maildirmake.incL1
> 
>  if (/^Return-Path:.*@(facebookmail\.com)/)
>  {
>     MY2FOLDERDOT="$MATCH1"
>     MY2FOLDER=`echo $MY2FOLDERDOT|sed 's/\.//g'`
>     F2MKlevel2="$MY2FOLDER"
> include .maildirmake.incL2
> 
> # handle Facebook groups/lists messages automatically
> if ( /^List-Id:.*<([0-9A-Za-z_\-]+)\.+/ )
>    {
>     LIST2NAME="$MATCH1"
>     F2MKlevel3="$LIST2NAME"
> include .maildirmake.incL3
>     to ${FOLDERS}${MYFOLDER}.${MY2FOLDER}.$F2MKlevel3
>    }
>   to ${FOLDERS}${MYFOLDER}.$F2MKlevel2
>  }
> 
>  if ( /^(To|From):.*(childrenofmedugorje@gmail\.com)/ )
>  {
>     MY2FOLDERDOT="$MATCH2"
>     MY2FOLDER=`echo $MY2FOLDERDOT|sed 's/\.//g'`
>     F2MKlevel2="$MY2FOLDER"
> include .maildirmake.incL2
>   to ${FOLDERS}${MYFOLDER}.$F2MKlevel2
>  }
>  if ( /^(To|From):.*([email protected])/ )
>  {
>     MY2FOLDERDOT="$MATCH2"
>     MY2FOLDER=`echo $MY2FOLDERDOT|sed 's/\.//g'`
>     F2MKlevel2="$MY2FOLDER"
> include .maildirmake.incL2
>   to ${FOLDERS}${MYFOLDER}.$F2MKlevel2
>  }
>  if ( /^(To|From):.*([email protected])/ )
>  {
>     MY2FOLDERDOT="$MATCH2"
>     MY2FOLDER=`echo $MY2FOLDERDOT|sed 's/\.//g'`
>     F2MKlevel2="$MY2FOLDER"
> include .maildirmake.incL2
>   to ${FOLDERS}${MYFOLDER}.$F2MKlevel2
>  }
> if ( /^From:\s*EWTN\s*<([email protected])>/ )
>  {
>     MY2FOLDERDOT="$MATCH1"
>     MY2FOLDER=`echo $MY2FOLDERDOT|sed 's/\.//g'`
>     F2MKlevel2="$MY2FOLDER"
> include .maildirmake.incL2
>   to ${FOLDERS}${MYFOLDER}.$F2MKlevel2
>  }
> 
> # handle mailing list messages automatically
> if ( /^List-Id:.*<([0-9A-Za-z_\.\-]+)/ )
>  {
>     LISTNAMEDOT="$MATCH1"
>     LISTNAME=`echo $LISTNAMEDOT|sed 's/\.//g'`
>     F2MKlevel2="$LISTNAME"
> include .maildirmake.incL2
>   to ${FOLDERS}${MYFOLDER}.$F2MKlevel2
>  }
>     to ${FOLDERS}$F2MKlevel1
> }
> 
> 
> 
> if ( $MAILDIR )
> {
>     DEFAULT="$HOME/Maildir"
>     FOLDERS="$DEFAULT/."
> 
>   if ( $F2MKlevel1 )
>   {
> `test -d ${FOLDERS}$F2MKlevel1`
> if ( $RETURNCODE == 1 )
>     {
>         `${MAILDIRMAKE} -f "$F2MKlevel1" "$DEFAULT"`
>         if ( $RETURNCODE == 0 )
>         {
>             # notify the user when new folders are created
>             NEWFOLDERMSG="${FOLDERS}$F2MKlevel1 list folder created"
>             `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME`
>         }
>     }
>   }
> }
> 
> 
> if ( $MAILDIR )
> {
>     DEFAULT="$HOME/Maildir"
>     FOLDERS="$DEFAULT/."
> 
>   if ( F2MKlevel2 )
>   {
> `test -d ${FOLDERS}${MYFOLDER}.${F2MKlevel2}`
> if ( $RETURNCODE == 1 )
>     {
>         `${MAILDIRMAKE} -f "${MYFOLDER}.${F2MKlevel2}" "$DEFAULT"`
>         if ( $RETURNCODE == 0 )
>         {
>             # notify the user when new folders are created
>             NEWFOLDERMSG="${FOLDERS}${MYFOLDER}.${F2MKlevel2} list folder 
> created"
>             `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME`
>         }
>     }
>   }
> }
> 
> 
> if ( $MAILDIR )
> {
>     DEFAULT="$HOME/Maildir"
>     FOLDERS="$DEFAULT/."
> 
>   if ( $F2MKlevel3 )
>   {
> `test -d ${FOLDERS}${MYFOLDER}.$MY2FOLDER.$F2MKlevel3`
> if ( $RETURNCODE == 1 )
>     {
>         `${MAILDIRMAKE} -f "${MYFOLDER}.$MY2FOLDER.$F2MKlevel3" "$DEFAULT"`
>         if ( $RETURNCODE == 0 )
>         {
>             # notify the user when new folders are created
>             NEWFOLDERMSG="${FOLDERS}${MYFOLDER}.$MY2FOLDER.$F2MKlevel3 list 
> folder created"
>             `${ECHO} "$NEWFOLDERMSG" | ${MAIL} -s "$NEWFOLDERMSG" $LOGNAME`
>         }
>     }
>   }
> }
> 
> 
> 
> 
> 
> ----- End forwarded message -----

Fighting some strange blockages in the way btwn me and my correspondents. Makes 
the life so much more difficult.
I see this in the Mutt archive:

http://marc.info/?l=mutt-users&m=138324790504223&w=2

  [[
the Subject: line I modified, but I am replying to: 
In-Reply-To: <[email protected]>
  ]]

But pls. take my word for it, I didn't get it in my mailbox. The least likely 
of the few possible reasons/subjects of that missing event, of course, is the 
Mutt and its people.

Anyway, I informed the courier-maildrop list that the this exact mail above is 
the best representation (and can surely be checked with:

http://www.croatiafidelis.hr/gnu/maildrop/

(as long as I'm free in my Croatia ruled by haters of their own people...)
 
for the better initiated (I also always have newbies in mind, that is why my 
verbosity...).

I informed courier-maildrop list here:

http://sourceforge.net/mailarchive/forum.php?thread_name=20131101100236.GA18479%40naibd7.xdwgrp&forum_name=courier-maildrop

Miroslav Rovis,
Zagreb, Croatia

Attachment: signature.asc
Description: Digital signature

Reply via email to