Juerg Reimann via Postfix-users:
> I have to following configuration:
>
> -- --
>
> /etc/postfix/main.cf:
> smtpd_recipient_restrictions =
> ...
> check_recipient_access hash:/etc/postfix/protected_destinations,
What is in the ...?
Wietse
__
> From: Wietse Venema via Postfix-users
> Sent: Sunday, December 10, 2023 1:52 PM
>
> Juerg Reimann via Postfix-users:
> > I have to following configuration:
> >
> > -- --
> >
> > /etc/postfix/main.cf:
> > smtpd_recipient_restrictions =
> > ...
> > check_recipient_access hash
Hello,
I'm migrating a postfix server from "Before-Queue Content Filter" to "before-queue
Milter". Postfix version is 3.8.3
The process is going well but I have found 2 weird things:
1. Postfix hides its own Postfix-prepended Received: header, for compatibility
with Sendmail.
This was unexpect
Hi,
Things have gotten stranger for case 1.
If milter "chgheader" is used, the Index 1 is the hidden (prepended) header of
postfix. So, you must start in index = 2 to delete the first header received in header
callback.
Regards,
Carlos Velasco
Carlos Velasco via Postfix-users escribió el 10/1
> From: Noel Jones via Postfix-users
> Sent: Sunday, December 10, 2023 2:53 PM
>
> > But every now and then it does not:
> >
> > 2023-12-09T14:03:23+01:00 localhost dovecot: [ID 702911 mail.info]
> > lmtp(m...@email.addr)<15599>: sieve:
> > msgid= > .outlook.com>
> > from= size=18499 vsize=18977
Carlos Velasco via Postfix-users:
> 2. Duplicated SMTP Access Policy Delegation
> This issue is related to headers too.
> I'm using pypolicyd-spf as policy daemon to check SPF. It is working fine.
> The execution happens before milter. This is ok.
> Prepended "Received-SPF" header by pypolicyd-spf
On 09.12.23 13:53, Doug Hardie via Postfix-users wrote:
I am using postfix with postsrsd. Is there a way for postfix to log the
from address as originally received? The only addresses I find in
postfix's log are the converted addresses from postsrsd. Both addresses
are logged by postsrsd, bu
Wietse Venema via Postfix-users escribió el 10/12/2023 a las 15:53:
Carlos Velasco via Postfix-users:
2. Duplicated SMTP Access Policy Delegation
This issue is related to headers too.
I'm using pypolicyd-spf as policy daemon to check SPF. It is working fine.
The execution happens before milter.
On December 10, 2023 3:54:13 PM UTC, Carlos Velasco via Postfix-users
wrote:
>
>Wietse Venema via Postfix-users escribió el 10/12/2023 a las 15:53:
>> Carlos Velasco via Postfix-users:
>>> 2. Duplicated SMTP Access Policy Delegation
>>> This issue is related to headers too.
>>> I'm using pypoli
Scott Kitterman via Postfix-users escribió el 10/12/2023 a las 18:09:
On December 10, 2023 3:54:13 PM UTC, Carlos Velasco via
Postfix-users wrote:
Wietse Venema via Postfix-users escribió el 10/12/2023 a las 15:53:
Carlos Velasco via Postfix-users:
2. Duplicated SMTP Access Policy Delegation
Carlos Velasco via Postfix-users:
> > That means you are somehow calling the policy server twice.
> >
> > You didn't mention what version of the SPF policy server you are
> > using. Recent versions (under the project name SPF Engine, since
> > it's not just a policy server anymore) also provide a
Wietse Venema via Postfix-users escribió el 10/12/2023 a las 18:49:
Carlos Velasco via Postfix-users:
That means you are somehow calling the policy server twice.
You didn't mention what version of the SPF policy server you are
using. Recent versions (under the project name SPF Engine, since
it
Carlos Velasco via Postfix-users:
> *** And there is the milter, is custom made ***
You need to reduce complexity.
- If you remove the Milter, is the header still duplicated?
- If you keep the milter and rmeove the polocy lookup, is eom other
header duplicated?
Wietse
__
Wietse Venema via Postfix-users escribió el 10/12/2023 a las 19:44:
Carlos Velasco via Postfix-users:
*** And there is the milter, is custom made ***
You need to reduce complexity.
- If you remove the Milter, is the header still duplicated?
No.
Duplication only happens when, in milter, I dele
Carlos Velasco via Postfix-users:
> Wietse Venema via Postfix-users escribi? el 10/12/2023 a las 19:44:
> > Carlos Velasco via Postfix-users:
> >> *** And there is the milter, is custom made ***
> > You need to reduce complexity.
> >
> > - If you remove the Milter, is the header still duplicated?
>
Wietse Venema via Postfix-users escribió el 10/12/2023 a las 21:53:
Carlos Velasco via Postfix-users:
Wietse Venema via Postfix-users escribi? el 10/12/2023 a las 19:44:
Carlos Velasco via Postfix-users:
*** And there is the milter, is custom made ***
You need to reduce complexity.
- If you
Dnia 10.12.2023 o godz. 22:16:27 Carlos Velasco via Postfix-users pisze:
>
> >That is because every Milter in the real world gets the client info
> >from the smfi_connect() callback function and from Milter macros,
> >instead of parsing Received: headers.
> That statement is absolutely false.
> Ma
Jaroslaw Rafa via Postfix-users escribió el 10/12/2023 a las 22:32:
Dnia 10.12.2023 o godz. 22:16:27 Carlos Velasco via Postfix-users pisze:
That is because every Milter in the real world gets the client info
>from the smfi_connect() callback function and from Milter macros,
instead of parsing
Carlos Velasco via Postfix-users:
>
> Wietse Venema via Postfix-users escribi? el 10/12/2023 a las 21:53:
> > Carlos Velasco via Postfix-users:
> >> Wietse Venema via Postfix-users escribi? el 10/12/2023 a las 19:44:
> >>> Carlos Velasco via Postfix-users:
> *** And there is the milter, is cu
Wietse Venema via Postfix-users escribió el 10/12/2023 a las 22:54:
Carlos Velasco via Postfix-users:
Wietse Venema via Postfix-users escribi? el 10/12/2023 a las 21:53:
Carlos Velasco via Postfix-users:
Wietse Venema via Postfix-users escribi? el 10/12/2023 a las 19:44:
Carlos Velasco via P
Wietse:
> I asked for a copy of the (headers of the) resulting message that
> Postfix delivers.
> - Does it have a Received-SPF header?
> - Does it have two?
Carlos Velasco:
> 1. Deleting the header in the milter or doing nothing in the milter
> has the same result: final email has only 1 Received
Wietse Venema via Postfix-users:
> Wietse:
> > I asked for a copy of the (headers of the) resulting message that
> > Postfix delivers.
> > - Does it have a Received-SPF header?
> > - Does it have two?
>
> Carlos Velasco:
> > 1. Deleting the header in the milter or doing nothing in the milter
> > h
Patch below.
Wietse
--- /var/tmp/postfix-3.9-20231210/src/smtpd/smtpd.c 2023-10-12
11:34:40.0 -0400
+++ src/smtpd/smtpd.c 2023-12-10 18:52:56.0 -0500
@@ -3404,13 +3404,6 @@
}
/*
- * PREPEND message headers above our own Received: header
23 matches
Mail list logo