Preprocessing incoming mail with fetchmail/procmail/mutt
        Posted  
        
            by 
                KAction
            
        on Super User
        
        See other posts from Super User
        
            or by KAction
        
        
        
        Published on 2012-11-21T18:36:58Z
        Indexed on 
            2012/11/22
            11:05 UTC
        
        
        Read the original article
        Hit count: 466
        
I use fetchmail->procmail->mutt programms to all my mail. Some of mail generated automatically and some people not smart enough, so I would like to reformat mail body with some script.
My best guess is that I should do it with procmail. But I found no such rule, best thing I found is possibility to pipe mail to programm. Of course, I can resend it with flag that no futher formatting needed, but it does not look like right solution.
EDIT: Just discovered maildrop. Maybe, it is simpler to do my task with it?
© Super User or respective owner