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

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

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

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

RE: Sender address rewrite

2009-05-28 Thread Matt Ausmus
, May 27, 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 server which is running

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...@chapman.edu

RE: Sender address rewrite

2009-05-28 Thread Matt Ausmus
. -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 using postfix 2.3.3 on some Centos 5.x

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 messages