Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
Assistance needed with a global procmailrc file
Creating a global procmailrc file that forwards to an Exchange server

++++++++++++++++++++++++++++++++++++++++

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 (username@domain.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.

share|improve this question

migrated from stackoverflow.com Oct 20 '11 at 14:07

This question came from our site for professional and enthusiast programmers.

marked as duplicate by mailq, Ward, the-wabbit, Iain, RobM Oct 24 '11 at 10:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Your filtering problem should be a good fit here, but if you're having trouble getting mail forwarding to work first, that's better suited for ServerFault. –  Michael Mior Oct 18 '11 at 20:08
1  
Yes, should move to ServerFault. Vote to close. –  jeha Oct 18 '11 at 20:08
    
Moved to SF. Thanks. –  Larry G. Wapnitsky Oct 18 '11 at 20:36

1 Answer 1

http://userpages.umbc.edu/~ian/procmail.html

http://www.erehwon.org/erehwon/procmailex.html

http://www.stimpy.net/procmail/tutorial/ref/

http://www.panix.com/~elflord/unix/procmail.html

http://lipas.uwasa.fi/~ts/info/proctips.html

http://support.verio.com/documents/view_article.cfm?doc_id=1212

share|improve this answer
    
seen most of these, but they're fairly generic and aim mostly towards user-based. I'm looking for a global solution. –  Larry G. Wapnitsky Oct 18 '11 at 20:33
    
your question is a bit too generic - it would be good if you go more into detail what you tried, and where it's broken. –  Tilo Oct 18 '11 at 22:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.