# syntax # to:* matches everything # to:name matches address from a Pine alias (automatically taken # from ./addressbook file, which is a symlink to $HOME/.addressbook) # to:name@address matches the complete email address. # to:@address matches *@address addresses. # $=list;of;directives sets the directives that apply for next line if nothing is specified # after a colon in the from: match (see Short form). Semicolon-separated list. # directives: # from:Name complete content of From: line # fromenv:name@address mail envelope return address # to:name@address send the mail here instead to the original recipient # to:nobody do not send the mail # nodeliveredto removes Delivered-To: headers (for Pine's "bounce" function) # noxshad removes X-Shad-*: headers # noxspam removes X-Spam-*: headers # noresent removes Resent: headers # noreceived removes Received: and X-Received: headers # filter:command line adds the command line and a pipe before /sbin/sendmail invocation # # Two forms of command are possible; short and long. # Long form is from:name[@address]:list;of;directives and contains complete list of directives. # Short form is from:name[@address] and the list;of;directives is replaced by the last # definition of the $= line. #defaults to:*:nodeliveredto;noxshad;noxspam;noresent;noreceived #test - bounces to employer.com address, adds "X-Test: This is a test" header for test2 recipient $=from:xxx@test.com;fromenv:johndoe@employer.com to:test2@test.com to:test3@test.com to:test4@test.com to:test4@test.com:to:test@othertest.com to:test2@test.com:filter:formail -i "X-Test: This is a test" #mailinglists to:list1:from:John Doe ;fromenv:johndoe@johndoe.test.com to:list2:from:John Doe ;fromenv:johndoe@johndoe.test.com # company to:@employer.com:from:John Doe ;fromenv:johndoe@employer.com # other company to:@moonlightemployer.com:from:John Doe ;fromenv:johndoe@moonlightemployer.com # test $=from:John Doe ;fromenv:johndoe@johndoe.test.com to:john to:jim to:eve to:joe2@notinaddressbook.com