13 Jun 2000 06:13
two questions wrt. distribution recipes
Robert M. Riches Jr. <richesr1 <at> inetarena.com>
2000-06-13 04:13:59 GMT
2000-06-13 04:13:59 GMT
I am attempting to set up a procmailrc file, and there are two problems I have not been able to resolve. I am using procmail as a mail delivery agent called by fetchmail. The purpose is to fetch mail over POP3 from a single ISP mail account, then deliver it to one or more accounts on my local Linux machine based on the To: and Subject: lines. The first problem is I have not found a way to set up a list of recipes such that each recipe has an independent chance to deliver mail to its related account, yet have one final recipe that gets run only if _none_ of the earlier ones was successful. If procmail sees several names in the To: or Subject: lines, I want the message to be delivered to everyone whose names are found. However, if it can't deliver to anybody, I want it to deliver it to me. The second problem is procmail insists on modifying the 'From ' line, no matter what command line switches I have tried. All 'From ' lines say the message came from the account that ran fetchmail and procmail. I'd like to have the 'From ' lines be left alone, or at most update the timestamp. Any suggestions? (I'm not sure I'm going to be successful in getting subscribed to this list, so I would humbly request you reply directory to me as well as to the list.) Thanks.(Continue reading)
RSS Feed