Please close, as this now a duplicate
I'm new to procmail, so please be forgiving.
I have a postfix server on my network that (eventually) will receive a bounced message from our Sonicwall Spam Filter when a message attachment exceeds a certain size. The postfix server is configured to create mailboxes based on LDAP (using usernames from our Active Directory).
I need to create a global procmailrc file that saves the attachments to a folder, removes the attachments, then forwards the original message sans attachments to our Exchange server along with some additional text. I have the postfix server configured to handle our e-mail addresses (email@example.com), as this is a requirement of the Sonicwall when it bounces.
I've been working on this for a few hours, and I haven't even gotten to the point where a message sent to my postfix server gets forwarded to the Exchange server.
Please let me know if I'm being clear on what I'm trying to accomplish. I'm more than happy to elaborate.
Also, let me know if I should move this to ServerFault.