On Thu, 3 Aug 2017, A. Schulze wrote:



Am 03.08.2017 um 07:32 schrieb Tomas Macek:

I'm trying to get to know, if there is a chance to see in Milter that the 
"NOTIFY=xxx,yyy,zzz" was specified by a client at rcpt to command

Hello Tomas,

from the milter API Doku:

xxfi_envrcpt:
 ctx    Opaque context structure.
 argv   Null-terminated SMTP command arguments; argv[0] is guaranteed to be the 
recipient address. Later arguments are the ESMTP arguments.

The "Later arguments are the ESMTP arguments" is your "hope" ...
but I never tested/used that.

Andreas


Hello Andreas,

you are right!

This is a relevant piece from my log:

        mlfi_envrcpt: argv[0] = <m...@address.cz>, argv[1] = 
NOTIFY=SUCCESS,FAILURE,DELAY

So I'm writing a Milter to tackle the spammers my own way!

Thank you!

Tomas

Reply via email to