On 2021-11-04 12:36, Viktor Dukhovni wrote:
This is an acceptable work-around for an internal mailhub forwarding
mail from sloppily/un configured internal machines. To really dot the
i's and cross the t's, it should be hardened to also handle quoted
address
forms:
"non..dot"@some.sub.dom
On Thu, Nov 04, 2021 at 12:28:33PM -0700, sru...@gemneye.org wrote:
> On 2021-11-04 11:20, Viktor Dukhovni wrote:
> > # This only matches valid multi-label DNS names. What should
> > happen
> > # with invalid forms (e.g., , )?
> > #
> > if !/@other\.domain$/
> > /^(.*)@([a-z0-
On 2021-11-04 11:20, Viktor Dukhovni wrote:
# This only matches valid multi-label DNS names. What should
happen
# with invalid forms (e.g., , )?
#
if !/@other\.domain$/
/^(.*)@([a-z0-9](-*[a-z0-9]+)*)\.[a-z0-9]/ ${1}+${2}@other.domain
endif
This appears to do exactly w
On 2021-11-04 12:17, Jaroslaw Rafa wrote:
Dnia 4.11.2021 o godz. 10:52:03 sru...@gemneye.org pisze:
I am trying to re-write sender email address n...@host.some.domain
to be name+host@other.domain.
Is this only one particular some.domain or are there different domains?
Because if there's only
said email came from. So if I have thousands of servers in a cluster
all with the same account that sends email, I would like to know what
server that email came from.
Maybe I'm being too simple minded. But my thought is if you want to know
something about an email its because you know that e
Dnia 4.11.2021 o godz. 10:52:03 sru...@gemneye.org pisze:
> I am trying to re-write sender email address n...@host.some.domain
> to be name+host@other.domain.
Is this only one particular some.domain or are there different domains?
Because if there's only one domain, I would suggest to include som
On 2021-11-04 11:20, Viktor Dukhovni wrote:
# Presumably this is internal only, and never butchers external
# envelope sender addresses. Perhaps mention why it is OK to lop
# off the parent domain suffix of the original sender domain...
In a typical Linux configuration where you ha
On 2021-11-04 11:20, Viktor Dukhovni wrote:
On Thu, Nov 04, 2021 at 10:52:03AM -0700, sru...@gemneye.org wrote:
In main.cf I have:
sender_canonical_classes = envelope_sender
sender_canonical_maps = pcre:/etc/postfix/generic-pcre
In /etc/postfix/generic-pcre I have:
/^(.*)@(\w+).([.\w]+)/ ${1
On 2021-11-04 11:36, Wietse Venema wrote:
sru...@gemneye.org:
I am trying to re-write sender email address n...@host.some.domain to
be
name+host@other.domain.
In main.cf I have:
sender_canonical_classes = envelope_sender
sender_canonical_maps = pcre:/etc/postfix/generic-pcre
canonical_maps
sru...@gemneye.org:
> I am trying to re-write sender email address n...@host.some.domain to be
> name+host@other.domain.
>
> In main.cf I have:
>
> sender_canonical_classes = envelope_sender
> sender_canonical_maps = pcre:/etc/postfix/generic-pcre
canonical_maps are recursive, as documented.
>
On Thu, Nov 04, 2021 at 10:52:03AM -0700, sru...@gemneye.org wrote:
> In main.cf I have:
>
> sender_canonical_classes = envelope_sender
> sender_canonical_maps = pcre:/etc/postfix/generic-pcre
>
> In /etc/postfix/generic-pcre I have:
>
> /^(.*)@(\w+).([.\w]+)/ ${1}+${2}@other.domain
This rule
I am trying to re-write sender email address n...@host.some.domain to be
name+host@other.domain.
In main.cf I have:
sender_canonical_classes = envelope_sender
sender_canonical_maps = pcre:/etc/postfix/generic-pcre
In /etc/postfix/generic-pcre I have:
/^(.*)@(\w+).([.\w]+)/ ${1}+${2}@other.dom
12 matches
Mail list logo