On Dec 10, 2008, at 9:31 PM, MacShane, Tracy wrote:
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of J.P. Trosclair
Sent: Thursday, 11 December 2008 10:32 AM
To: postfix-users@postfix.org
Subject: mail forward based on user to specific filter then
to another address
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:
This is not solving the question you asked, but what is wrong with the
user not selecting the option on his/her Blackberry to download the
attachments? Attachments are not delivered to the device until such
time
as you specifically prompt to download them. The attachment pointer is
just that, a *pointer*.
We allow attachments larger than what the blackberry smtp servers
allow and this generates a bounce message to the sender when the limit
is reached or exceeded. The bounce is to be avoided. It has nothing to
do with the user downloading the attachment on to their blackberry.
This is the setup requested by the user, I'm looking for a way to
deliver on it. It should be noted that the user's blackberry email is
provided by their cellular carrier, not us. As a last resort I'll ask
the user to reconfigure their blackberry accounts to check our server
for mail rather than have it forwarded, but for now forwarding is what
they want and what I'm trying to make happen.
So I setup a filter for stripping the attachments. I want to route
mail based on [EMAIL PROTECTED] through this filter before it is passed
on to domain's MX address. I think it's possible by using
transport_maps and some tricks in master.cf, at least thats what I was
told in a dream last night. I haven't tried it yet but will in a
little while.