canonical_sender lookup table

This is a discussion on canonical_sender lookup table within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi i want to use canonical_sende table depending of recipient or dependent of interface. I mean : when recipent != myrecipent , then ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-18-2007
Max Bergmann
 
Posts: n/a
Default canonical_sender lookup table

Hi

i want to use canonical_sende table depending of recipient or dependent
of interface.
I mean :
when recipent != myrecipent , then use canonical table
or when interface != myinterface, then use canonical table

how can i do it

any tips ?

thanks

Max

Reply With Quote
  #2 (permalink)  
Old 07-18-2007
Alexander Dalloz
 
Posts: n/a
Default Re: canonical_sender lookup table

Am Wed, 18 Jul 2007 17:19:29 +0200 schrieb Max Bergmann:

> Hi
>
> i want to use canonical_sende table depending of recipient or dependent
> of interface.
> I mean :
> when recipent != myrecipent , then use canonical table


http://www.postfix.org/ADDRESS_REWRI...html#canonical

-> "For dynamic mappings you can use regular expression tables. This
requires that you become intimately familiar with the ideas expressed in
regexp_table(5), pcre_table(5) and canonical(5)."

Especially regexp, pcre.

> when interface
> != myinterface, then use canonical table


Same document

"Canonical mapping can be turned off selectively for mail received by
smtpd(8), qmqpd(8), or pickup(8), by overriding main.cf settings in the
master.cf file."

So you can set "-o receive_override_options=no_address_mappings" in
master.cf where you want to.

> how can i do it
>
> any tips ?
>
> thanks
>
> Max


Alexander
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 02:30 PM.


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