How to add a header indicating recipient domain?

This is a discussion on How to add a header indicating recipient domain? within the mailing.postfix.users forums, part of the Mail Servers and Related category; I have set up a mail gateway using Ubuntu 8.04/postfix/clamav/ spamassassin/mailscanner. It stands in front of ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-23-2008
ec
 
Posts: n/a
Default How to add a header indicating recipient domain?

I have set up a mail gateway using Ubuntu 8.04/postfix/clamav/
spamassassin/mailscanner. It stands in front of a single MS Exchange
2003 R2 server serving four mail domains. Mail to username@whichever-
domain.com is delivered to the Exchange inbox for username, which is
what we want. However, we need to flag mail addressed to one domain in
particular for special handling (say special.com).

Surprisingly, neither Exchange nor Outlook can reliably identify the
recipient domain as a rule condition. (They can check for text in
headers, though.) Exchange does have the hooks for coding this, but
writing, testing and maintaining an SMTP sink would be a major
undertaking for such a seemingly minor result.

I feel sure that postfix or mailscanner could handle this easily,
i.e. if the recipient domain is special.com, add a header "X-
Special:true". Am I right, and if so, can anyone point me to the right
place to configure it?


TIA
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:53 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0