Re: Local address rewrite problem with postfix configuration and sender dependent relayhosts - ISP

2021-09-09 Thread raf
On Thu, Sep 09, 2021 at 09:44:35AM +0200, TTM wrote: > raf wrote: > >> main.cf > >> - > >> [...] > >> receive_override_options = no_address_mappings > > > >I could be wrong, but I don't think you want the above setting. > >Yo

Re: Local address rewrite problem with postfix configuration and sender dependent relayhosts - ISP

2021-09-09 Thread TTM
raf wrote: >> main.cf >> - >> [...] >> receive_override_options = no_address_mappings > >I could be wrong, but I don't think you want the above setting. >You have canonical address maps and virtual alias maps, and >this setting

Re: Local address rewrite problem with postfix configuration and sender dependent relayhosts - ISP

2021-09-08 Thread raf
On Wed, Sep 08, 2021 at 03:33:05PM +0200, fo...@gmx.de wrote: > Hello together, > I have "Ubuntu 20.04.3 LTS" on a raspberry pi 4, and I'm trying to config > postfix to rewrite local-addresses and use then sender-dependent relayhosts. > > Postfix is mail_version = 3.4.13 and i have a dynamic IP.

Re: Local address rewrite problem with postfix configuration and sender dependent relayhosts - ISP

2021-09-08 Thread TTM
Bernardo: >You canonical map has: > >Local_User_A@local.homenet us...@gmx.de >Local_User_B@local.homenet us...@gmail.com > >but according to the log your "from" is "ttm@ttmsacer.homenet". > >Your map doesn't contain/match anything related to "ttmsacer.homenet" (it only >has entries for "local.hom

Re: Local address rewrite problem with postfix configuration and sender dependent relayhosts - ISP

2021-09-08 Thread Bernardo Reino
On Wed, 8 Sep 2021, TTM wrote: Wietse: Without further information I can't say what mistake you made. Maybe you're looking at an old message that is already in the queue. What would be needed? After each test, I clear thee queue with "postsuper -d ALL". I'm wondering why postfix tries to del

Re: Local address rewrite problem with postfix configuration and sender dependent relayhosts - ISP

2021-09-08 Thread TTM
Wietse: >Without further information I can't say what mistake you made. Maybe >you're looking at an old message that is already in the queue. What would be needed? After each test, I clear thee queue with "postsuper -d ALL". I'm wondering why postfix tries to deliver the message directly to the r

Re: Local address rewrite problem with postfix configuration and sender dependent relayhosts - ISP

2021-09-08 Thread Wietse Venema
TTM: > > Wietse: > >The Postfix cleanup daemon applies canonical mapping before it > >writes a message to a queue file. > > Ok, I misunderstood this note in the postfix docu: > "Note: $sender_canonical_maps is processed before $canonical_maps. " > > > Ok, but can I achieve it by setting in main

Re: Local address rewrite problem with postfix configuration and sender dependent relayhosts - ISP

2021-09-08 Thread TTM
Wietse: >The Postfix cleanup daemon applies canonical mapping before it >writes a message to a queue file. Ok, I misunderstood this note in the postfix docu: "Note: $sender_canonical_maps is processed before $canonical_maps. " Ok, but can I achieve it by setting in main.cf: ---

Re: Local address rewrite problem with postfix configuration and sender dependent relayhosts - ISP

2021-09-08 Thread Wietse Venema
fo...@gmx.de: > For point 1) an 2) i have a file sender_canonical created: > - > Local_User_A@local.homenet us...@gmx.de > Local_User_B@local.homenet us...@gmail.com > ---

Local address rewrite problem with postfix configuration and sender dependent relayhosts - ISP

2021-09-08 Thread forTT
Hello together, I have "Ubuntu 20.04.3 LTS" on a raspberry pi 4, and I'm trying to config postfix to rewrite local-addresses and use then sender-dependent relayhosts. Postfix is mail_version = 3.4.13 and i have a dynamic IP. The setup looks /should be like this: 1) local user sends email to po

Re: Address Rewrite Problem

2011-04-11 Thread DTNX/NGMX Postmaster
On 9 apr 2011, at 18:54, Nasser Heidari wrote: > We have an Exchange for our local Emails and Exchange uses Postfix as > Smarthost. > Address Rewriting is Working properly for Emails from Exchange to > Outside network, but For Emails from Exchange to Postfix Virtually > hosted Domains or Postfix

Re: Address Rewrite Problem

2011-04-11 Thread Victor Duchovni
On Mon, Apr 11, 2011 at 07:07:49AM -0500, Noel Jones wrote: > On 4/10/2011 11:55 PM, Nasser Heidari wrote: >> Anyone has any idea ? >> >> Thanks for Your answer, Here is my postconf -n output: >> >> > > Please don't top-post. > > Please show us "postconf -n" output and non-comment entries from mas

Re: Address Rewrite Problem

2011-04-11 Thread Noel Jones
On 4/10/2011 11:55 PM, Nasser Heidari wrote: Anyone has any idea ? Thanks for Your answer, Here is my postconf -n output: Please don't top-post. Please show us "postconf -n" output and non-comment entries from master.cf, along with logging demonstrating the problem. -- Noel Jones

RE: Address Rewrite Problem

2011-04-10 Thread Nasser Heidari
> -Original Message- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On > Behalf Of Noel Jones > Sent: Sunday, April 10, 2011 01:12 > To: postfix-users@postfix.org > Subject: Re: Address Rewrite Problem > > On 4/9/2011 11:54 AM, Nass

RE: Address Rewrite Problem

2011-04-09 Thread Nasser Heidari
age- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On > Behalf Of Noel Jones > Sent: Sunday, April 10, 2011 01:12 > To: postfix-users@postfix.org > Subject: Re: Address Rewrite Problem > > On 4/9/2011 11:54 AM, Nasser Heidari wrote: > > H

Re: Address Rewrite Problem

2011-04-09 Thread Noel Jones
On 4/9/2011 11:54 AM, Nasser Heidari wrote: Hi, We have Running Postfix with Virtual Domains. I need some address rewriting for Incoming and Outgoing Emails and using Canonical Maps we have done this task: Unfortunately you don't give us much info to go on here. --- main.cf config: sender_c

Address Rewrite Problem

2011-04-09 Thread Nasser Heidari
Hi, We have Running Postfix with Virtual Domains. I need some address rewriting for Incoming and Outgoing Emails and using Canonical Maps we have done this task: --- main.cf config: sender_canonical_maps = hash:/etc/postfix/canonical-sender recipient_canonical_maps = hash:/etc/postfix/canonical-r

Address Rewrite Problem

2011-04-08 Thread Nasser Heidari
Hi, We have Running Postfix with Virtual Domains. I need some address rewriting for Incoming and Outgoing Emails and using Canonical Maps we have done this task: --- main.cf config: sender_canonical_maps = hash:/etc/postfix/canonical-sender recipient_canonical_maps = hash:/etc/postfix/canonical-r