Re: Sender Address Rewrite (dyamic mapping with variables)

2021-06-11 Thread sruckh
On 2021-06-11 16:23, Viktor Dukhovni wrote: Unless stated otherwise, all Postfix features that support table lookups work with all table drivers. In a few cases there are security restrictions on the use of ${n} substitutions regexp/pcre tables, these are documented. When the documentation say

Re: Sender Address Rewrite (dyamic mapping with variables)

2021-06-11 Thread Viktor Dukhovni
On Fri, Jun 11, 2021 at 04:11:14PM -0700, sru...@gemneye.org wrote: > On 2021-06-11 15:12, Viktor Dukhovni wrote: > > > > I will make a bold guess that the real problem you're trying to solve > > dealing with mail from "root" and similar system users, where in a > > network of null-client hosts d

Re: Sender Address Rewrite (dyamic mapping with variables)

2021-06-11 Thread sruckh
On 2021-06-11 15:12, Viktor Dukhovni wrote: I will make a bold guess that the real problem you're trying to solve dealing with mail from "root" and similar system users, where in a network of null-client hosts delivering all mail to a central mail hub, you want the sender address to clearly refl

Re: Sender Address Rewrite (dyamic mapping with variables)

2021-06-11 Thread Viktor Dukhovni
On Fri, Jun 11, 2021 at 02:47:40PM -0700, sru...@gemneye.org wrote: > Can I use a smtp_generic_map rewrite to do something like this?? > > @local.domain $user-$hostname@some.domain I will make a bold guess that the real problem you're trying to solve dealing with mail from "root" and simila

Sender Address Rewrite (dyamic mapping with variables)

2021-06-11 Thread sruckh
Can I use a smtp_generic_map rewrite to do something like this?? @local.domain $user-$hostname@some.domain Where user (actual user who is sending mail) and hostname (short hostname of server) are substituted in the map? Most of the examples I looked at where doing static re-writing, and

Re: Conditional Sender Address rewrite (based on Receivers Address)

2009-12-14 Thread Stefan Foerster
* Tobias : > I have two email adresses: a...@domain.tld and b...@domain.tld > Only a...@domain.tld is registred with several mailinglists. But the user > b...@domain.tld is the one I want to use. Try subscribing twice and disable mail delivery for one account. All Mailman based mailing lists shoul

Re: Conditional Sender Address rewrite (based on Receivers Address)

2009-12-14 Thread Noel Jones
On 12/14/2009 7:44 AM, Tobias wrote: I have two email adresses: a...@domain.tld and b...@domain.tld Only a...@domain.tld is registred with several mailinglists. But the user b...@domain.tld is the one I want to use. So I need to find a way to rewrite the sender address (b...@domain.tld) to a...@d

Conditional Sender Address rewrite (based on Receivers Address)

2009-12-14 Thread Tobias
I have two email adresses: a...@domain.tld and b...@domain.tld Only a...@domain.tld is registred with several mailinglists. But the user b...@domain.tld is the one I want to use. So I need to find a way to rewrite the sender address (b...@domain.tld) to a...@domain.tld BUT only in case the receiver

RE: Sender address rewrite

2009-05-28 Thread Matt Ausmus
e got something." -HARTLEY'S FIRST LAW -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Thursday, May 28, 2009 12:41 PM To: Postfix users Subject: Re: Sender address rewrite Matt Ausmus: > > I'm us

Re: Sender address rewrite

2009-05-28 Thread Wietse Venema
Matt Ausmus: > > I'm using postfix 2.3.3 on some Centos 5.x boxes strictly to send mail > > for alerting purposes. I've got relaying setup to go to our main smtp > > server which is running FreeBSD 6.x and postfix. What I'm trying to do > > is for the outgoing messages to show the hostn...@chapma

RE: Sender address rewrite

2009-05-28 Thread Matt Ausmus
2009 6:00 PM To: Postfix users Subject: Re: Sender address rewrite Ausmus, Matt: > Hello all, > > This is my first post. > > I'm using postfix 2.3.3 on some Centos 5.x boxes strictly to send mail > for alerting purposes. I've got relaying setup to go to our main smtp &

Re: Sender address rewrite

2009-05-27 Thread Wietse Venema
Ausmus, Matt: > Hello all, > > This is my first post. > > I'm using postfix 2.3.3 on some Centos 5.x boxes strictly to send mail > for alerting purposes. I've got relaying setup to go to our main smtp > server which is running FreeBSD 6.x and postfix. What I'm trying to do > is for the outgoing m

Sender address rewrite

2009-05-27 Thread Ausmus, Matt
Hello all, This is my first post. I'm using postfix 2.3.3 on some Centos 5.x boxes strictly to send mail for alerting purposes. I've got relaying setup to go to our main smtp server which is running FreeBSD 6.x and postfix. What I'm trying to do is for the outgoing messages to show the ho