Note: OpenDKIM does not require the (ancient, obsolete) setting
‘milter_protocol = 2’. It’s a cargo cult setting. Just drop it and leave
it at the default.
___
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix
Wietse Venema via Postfix-users:
> Danil Smirnov via Postfix-users:
> > Hi all,
> >
> > I want to manipulate the headers (add and replace) of the outgoing mail
> > before the message is signed by Opendkim. If using smtp_header_checks I see
> > that the signature is broken - probably because Opendk
Danil Smirnov via Postfix-users:
> Hi all,
>
> I want to manipulate the headers (add and replace) of the outgoing mail
> before the message is signed by Opendkim. If using smtp_header_checks I see
> that the signature is broken - probably because Opendkim has signed the
> message earlier in the pi
On 18.11.23 18:16, Danil Smirnov via Postfix-users wrote:
I want to manipulate the headers (add and replace) of the outgoing mail
before the message is signed by Opendkim. If using smtp_header_checks I see
that the signature is broken - probably because Opendkim has signed the
message earlier in
Many thanks for the reply.
In fact I found a small workaround, which of course adds more text to the
log file. But it serves the purpose.
smtp_header_checks
/^Subject:(.*)/ INFO $1
Best Regards
Dhammika Gunawardena
On Thu, Jan 19, 2023 at 7:15 PM Wietse Venema wrote:
> Dhammika Gunawardena:
Dhammika Gunawardena:
> Hi
> I have setup smtp_header_checks to log subject lines in my mail log.
> However the issue is messages are truncated to about 50 characters.
> Is there any method to get the full Subject into log?
I suspect that you would like to have no limit on the amount of
header tex
Thank you Viktor and Wietse for the help.
I decided to go through the milter approach.
Cheers,
Leandro
On 3/24/22 12:07, Viktor Dukhovni wrote:
On Thu, Mar 24, 2022 at 11:31:12AM -0300, Leandro Santiago wrote:
Maybe this is a limitation in the smtp logging and not on header_checks?
Correct
On Thu, Mar 24, 2022 at 11:31:12AM -0300, Leandro Santiago wrote:
> Maybe this is a limitation in the smtp logging and not on header_checks?
Correct.
> Any clues of where such limit might be configured
https://github.com/vdukhovni/postfix/blob/master/postfix/src/smtp/smtp_proto.c#L1140-L1155
>
Leandro Santiago:
-- Start of PGP signed section.
> Hey list,
>
> I created the following smtp_header_checks rule:
>
> smtp_header_checks = pcre:/etc/postfix/maps/header_checks
>
> and /etc/postfix/maps/header_checks:
>
> /^In-Reply-To:/ INFO
> /^References:/ INFO
>
>
> As I aim to have su
Clemens Mayer:
> Hello Wietse & Friends,
>
> /etc/postfix/main.cf looks like this:
> header_checks = regexp:/etc/postfix/header_checks
> smtp_header_checks = regexp:/etc/postfix/header_checks
>
> /etc/postfix/header_checks looks like this:
> /^Subject:/ WARN
>
> Two issues:
> 1. I have a really
Ramprasad:
> > If you need precise control over content logging, for example
> > because you use it to maintain a database of some sorts, then
> > Postfix built-in logging is not designed for that purpose.
> >
> > Instead, you need a more focused tool. Sahil Tandon posted a
> > tcp-based header_ch
On 1/8/2011 12:13 AM, Ramprasad wrote:
On Fri, 2011-01-07 at 09:18 -0500, Wietse Venema wrote:
Wietse:
Postfix truncates EVERYTHING, especially when it is logged. The
intention is to protect your file system against logfile flooding
attack.
Ram:
That seems absolutely reasonable from a tech p
On Sat, Jan 08, 2011 at 11:43:42AM +0530, Ramprasad wrote:
> Sahil Tandon's header_checks works at smtpd level ( I assume). Can the
> same be implemented at smtp level when the mail is actually sent.
> The idea is the mail may be queued and the syslog of the transaction
> info should happen when
On Fri, 2011-01-07 at 09:18 -0500, Wietse Venema wrote:
> Wietse:
> > Postfix truncates EVERYTHING, especially when it is logged. The
> > intention is to protect your file system against logfile flooding
> > attack.
>
> Ram:
> > That seems absolutely reasonable from a tech point of view.
> >
> >
Wietse:
> Postfix truncates EVERYTHING, especially when it is logged. The
> intention is to protect your file system against logfile flooding
> attack.
Ram:
> That seems absolutely reasonable from a tech point of view.
>
> Unfortunately people have designed business processes based on
> reports o
On 01/07/2011 06:25 PM, Wietse Venema wrote:
Ram:
I am using postfix smtp_header_checks to log subjects of mails
I have enabled WARN inside smtp_header_checks
But If I send a mail with a long subject then the subject gets chopped
at some length (approx 50 chars )
Postfix truncates EVERYTHING,
Ram:
> I am using postfix smtp_header_checks to log subjects of mails
> I have enabled WARN inside smtp_header_checks
> But If I send a mail with a long subject then the subject gets chopped
> at some length (approx 50 chars )
Postfix truncates EVERYTHING, especially when it is logged. The
inten
Alvaro Marín a écrit :
> Hello,
>
> I'm trying to delete/discard an emai if it has a header with one value.
> I've to do it after it is accepted (and after one content filter
> execution) so I thought in smtp_header_checks but I see that it doesn't
> support actions like DISCARD.
> Any idea of how
On Wed, May 13, 2009 at 03:39:32PM +, Duane Hill wrote:
> On Wed, 13 May 2009, Alvaro Mar?n wrote:
>
>> Duane Hill escribi?:
>>> On Wed, 13 May 2009, Alvaro Mar?n wrote:
>>>
Hello,
I'm trying to delete/discard an emai if it has a header with one value.
I've to do it after i
On Wed, 13 May 2009, Alvaro Mar?n wrote:
Duane Hill escribi?:
On Wed, 13 May 2009, Alvaro Mar?n wrote:
Hello,
I'm trying to delete/discard an emai if it has a header with one value.
I've to do it after it is accepted (and after one content filter
execution) so I thought in smtp_header_checks
Ralf Hildebrandt escribió:
> * Alvaro Marín :
>
I'm trying to delete/discard an emai if it has a header with one value.
I've to do it after it is accepted (and after one content filter
execution) so I thought in smtp_header_checks but I see that it doesn't
support actions like
* Alvaro Marín :
> >> I'm trying to delete/discard an emai if it has a header with one value.
> >> I've to do it after it is accepted (and after one content filter
> >> execution) so I thought in smtp_header_checks but I see that it doesn't
> >> support actions like DISCARD.
> >> Any idea of how t
Duane Hill escribió:
> On Wed, 13 May 2009, Alvaro Mar?n wrote:
>
>> Hello,
>>
>> I'm trying to delete/discard an emai if it has a header with one value.
>> I've to do it after it is accepted (and after one content filter
>> execution) so I thought in smtp_header_checks but I see that it doesn't
>
On Wed, 13 May 2009, Alvaro Mar?n wrote:
Hello,
I'm trying to delete/discard an emai if it has a header with one value.
I've to do it after it is accepted (and after one content filter
execution) so I thought in smtp_header_checks but I see that it doesn't
support actions like DISCARD.
Any idea
24 matches
Mail list logo