Hi,

I've got a user that wants their mail forwarded to their blackberry account. No big deal. The catch is they want attachments stripped first. I've found this tool called renattach that does just that. I set this up in main.cf:

renattach       unix    -       n       n       -       -       pipe
flags=q user=postfix argv=/mailtools/bin/renattach -dal -p /usr/sbin/sendmail -i -f ${sender} -- ${recipient}


What I would like to do is when mail arrives for [EMAIL PROTECTED], deliver the mail to their local mailbox as normal and then send the same mail to [EMAIL PROTECTED] with the mail first being run through the renattach filter I have setup above. I'm not sure how to accomplish this. I'm guessing I will need to setup a special submission for this filter as the next step that uses content_filter=renattach but I'm not sure how to make sure the forward gets pushed through the renattach filter before it goes out to the user's blackberry address.

J.P.

Reply via email to