Custom 250 OK message

2021-06-05 Thread Mehmet Avcioglu
Is it possible to return a custom 250 OK message? Currently postfix returns "250 2.0.0 Ok: queued as queue_id". Would it be possible to change or add to this message via a lookup table or milter? Thank you -- Mehmet

warning: too many reverse jump records

2021-07-13 Thread Mehmet Avcioglu
I am getting "too many reverse jump records" messages. Couldn't find any information about this message and looking at the source code (record.c) it seems to be related with adding recipients and/or headers, but I am not adding that many (1) of either. There is a milter application before queu

Re: warning: too many reverse jump records

2021-07-13 Thread Mehmet Avcioglu
Wietse Venema: > > Mehmet Avcioglu: > > I am getting "too many reverse jump records" messages. Couldn't find > > any information about this message and looking at the source code > > The postfix/showq logging repeats the same error for the same file, > ev

Re: warning: too many reverse jump records

2021-07-16 Thread Mehmet Avcioglu
Wietse Venema: > Then I suspect that the code reaches the 1 limit because > there are ~1 files in the queue. > Below is a patch that should fix this. Thank you for the patch. I had previously said that we were not running 'showq' or 'postqueue -p' frequently, but upon further investig

Log Table Lookup Result

2022-12-11 Thread Mehmet Avcioglu
Is it possible to log the result of a table lookup? Perhaps similar to the header_checks INFO option. Thanks -- Mehmet

Re: milter library for PHP (libMilterPHP)

2022-12-13 Thread Mehmet Avcioglu
Looks great. I'll definitely give it a try. Just a small initial feedback; I am a big fan of PSR4 and PSR12, they make PHP look cool :) -- Mehmet On Tue, Dec 13, 2022 at 1:02 PM wrote: > > Hey everyone, > > I wrote a milter library for PHP, because I wanted to create a bunch of > different mil

Re: Log Table Lookup Result

2022-12-20 Thread Mehmet Avcioglu
On Sun, Dec 11, 2022 at 3:27 PM Mehmet Avcioglu wrote: > Is it possible to log the result of a table lookup? Perhaps similar to the > header_checks INFO option. > I guess it is not. I can write a daemon that acts like a tcp map and log the results, but I wouldn't be able to m

Re: Log Table Lookup Result

2022-12-20 Thread Mehmet Avcioglu
On Tue, Dec 20, 2022 at 9:57 PM Wietse Venema wrote: > However, Postfix does make information from multiple layers available > for policy decisions: > Thank you. Yes I am using milter extensively, however I am trying to influence and log transport and sender dependent transport decisions based o

Re: Log Table Lookup Result

2022-12-20 Thread Mehmet Avcioglu
On Tue, Dec 20, 2022 at 10:20 PM Mehmet Avcioglu wrote: > Also I know syslog_name has a max length, but couldn't find the > documentation on it. > Sorry, what I am referring to is probably a syslog limitation, not postfix.

Milter protocol deleting and adding the same recipient

2020-06-30 Thread Mehmet Avcioglu
Hello, It looks like there is difference in postfix implementation of milter protocol regarding adding and deleting recipients compared to sendmail. The following results in one final recipient on sendmail but no recipients on postfix while still logging nrcpt=2 del_rcpt "" add_rcpt "al...@d