On Thu, Nov 12, 2009 at 3:15 PM, Noel Jones <njo...@megan.vbhcs.org> wrote:

> On 11/12/2009 1:59 PM, Mark Washenberger wrote:
>
>>
>> The problem I'm trying to solve is that I really need all forwarded mail
>> and vacation messages that originate on this server through sendmail to
>> go to the relay server, even if the final destination is an email
>> address that is on the same server (i.e. a user that returns non-null in
>> the mysql_local.cf <http://mysql_local.cf> query).
>>
>>
> transport_maps are a global parameter, you can't override it in master.cf.
>
> Low-brow workaround: add
>  -o content_filter=smtp:[relay.example.com]
> to the "pickup" service line in master.cf.  Omit the "[]" braces if you
> want postfix to perform an MX lookup on the hostname.
>
> High-level workaround: use multiple postfix instances.  The "default"
> postfix instance is where you mung the transport used by pickup
>

The low-brow workaround did the trick. I'm sure the other would have worked
as well, but I'm looking forward to not setting up more instances :-)

Thanks!

Reply via email to