* Gérard Robin <g.rob...@free.fr> [09-09-11 07:15]:
> Hello,
> I have put a path like this in procmailrc:
> 
> :0
> * ^tomutt-us...@mutt.org
> MUTT/U11/mutt-`date +%m-%y`
> 
> but I had not yet created the directory MUTT/U11 and when I downloaded
> my messages the messages from the list mutt-users were lost.
> Is it possible to avoid losing the messages in this case ? i.e. when the
> path doesn't exist.

The *only* way I know of to "loose" mail via procmail is to direct to
/dev/null.  You have the mail somewhere.

Your recipe is faulty and probably did not handle the mail from
mutt-users,
  * ^TO.*mutt-users@mutt.org

there is usually a [space] after "TO" in the header which you have not
allowed and the ".*" will consider that and others.

I prefer:  * ^Sender:.*mutt.org  (not used by all mailing lists)
but "^TO.*" will work fine.

* ^to_mutt-us...@mutt.org
  even better

see man procmailrc
    man procmailex

-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                    @ http://linuxcounter.net

Reply via email to