1 |
I don't know what happened to my last message but it was never delivered. I'm sending it again: |
2 |
|
3 |
===================== |
4 |
|
5 |
Answers above: |
6 |
|
7 |
On Jul 31, 2012, at 12:33 PM, Michael Orlitzky <michael@××××××××.com> |
8 |
wrote: |
9 |
|
10 |
> On 07/31/12 01:57, Vinícius Ferrão wrote: |
11 |
>> Hello dudes, |
12 |
>> |
13 |
>> I'm considering to implement a new feature in my Postfix Mail |
14 |
>> Filtering Gateway. |
15 |
>> |
16 |
>> It would be great to add a disclaimer note to forwarded mails to an |
17 |
>> external domain. Since I'm already running amavisd-new, with all his |
18 |
>> friends, I was thinking to invite alterMIME to the party. |
19 |
> |
20 |
> Is this so that people won't mark those messages as spam (thus pinning |
21 |
> the blame on your mail server)? |
22 |
> |
23 |
> If so, let me assure you that it will be ignored. I've even called some |
24 |
> of our customers with forwarded addresses on the phone and personally |
25 |
> asked them to stop marking stuff as spam. They still ignore me. |
26 |
|
27 |
Actually we have user that automatic redirect messages to their personal accounts. And this behaviour is not 100% approved by the university. So I want to put a disclaimer in those people, as example: john@××××××××××.com redirects to john@×××××.com. I want to put a disclaimer in *ALL* messages redirected to external domains. |
28 |
|
29 |
> |
30 |
>> The tricky part is how to detected which messages are automatically |
31 |
>> forwarded to an external domain. |
32 |
> |
33 |
> If this is a filtering gateway, I'm guessing all of your recipients are |
34 |
> listed in relay_recipient_maps? If so, you should be able to override |
35 |
> the default_transport (which defaults to smtp:). |
36 |
> |
37 |
> For example, you could set up a disclaimer-only instance of amavis on |
38 |
> port 10029, and then set the default_transport to |
39 |
> smtp:[localhost]:10029. I would beware of unintended consequences, |
40 |
> though. You're liable to stick a disclaimer on some things by accident. |
41 |
|
42 |
There's no recipient check in my mail filtering gateway. I leave this job to my final destination. It's not easy to get the final destination since we have some different end destination servers and a separate mailman server. |
43 |
|
44 |
I can't really understand your example: in this situation everything will be "disclaimed"; and I just want to modify messages to people that receive their corporate emails in their personal account. |
45 |
|
46 |
Thanks for you help and sorry about the delay to answer your message. |
47 |
Vinícius |