Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Postfix and relaying



On 2008-07-10 16:44 +0200 (Thu), David Santinoli wrote:

> On Thu, Jul 10, 2008 at 04:29:25PM +0200, David Santinoli wrote:
> > AFAIK, the "transport" map is only used to map _recipient_ (not
> > sender) domains to SMTP relays.
> 
> Postfix >= 2.3 has a "sender_dependent_relayhost_maps" worth
> investigating:
> 
>    A sender-dependent override for the global relayhost parameter
>    setting.  The tables are searched by the envelope sender address...

Note well: this is using *envelope* sender, not the From: header. If
you don't understand the difference between these two, that's the first
thing you want to learn and master, because otherwise you're going to
find yourself in a large, confusing mess when trying to change behaviour
based on "sender".

You probably also want to look at the uses of headers related to From:,
such as Sender:.

cjs
-- 
Curt Sampson       <cjs@example.com>        +81 90 7737 2974   
Mobile sites and software consulting: http://www.starling-software.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links