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:
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
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
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
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]+)/
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
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]+)/
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
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
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
I am not totally even sure this is a Postfix issue, but since the error
is presented as "postfix" and I was not able to find answer elsewhere I
thought I would ask here.
I recently discovered that delivery of bounced messages is not working.
Of course as no messages were being delivered I
On 2017-10-26 11:23, wie...@porcupine.org wrote:
Viktor Dukhovni:
> On Oct 26, 2017, at 12:12 PM, sru...@gemneye.org wrote:
>
> #relayhost = [smtp.gmail.com]:587
> #smtpd_sasl_auth_enable = yes
Look closely, that line has "smtpd_..." while all the ones below
have "smtp_...". Check the docs.
I have read several guides from the internet including the ones from
postfix forums. It would appear that several people have configured
their postfix environments to use GMAIL as a relayhost and to use port
587 for communication.
Currently my relay host is setup for my ISP's email server
13 matches
Mail list logo