Modify amavisd-new SMTP response

Patrick Ben Koetter via amavis-users amavis-users at
Mon Dec 23 14:21:32 CET 2013

* Dusan Obradovic via amavis-users <dusan at>:
> When running before-queue Postfix content filter and once amavisd-new re-inject message back to Postfix via SMTP on specific IP:PORT, it returns the positive SMTP response back to Postfix which looks like this:
> 250 2.0.0 Ok, id=01187-05, from MTA([]:10026): 250 2.0.0 Ok: queued as 80828849CE
> Postfix then returns this response to remote SMTP client.
> Is it possible to suppress "from MTA()", or at least iP:PORT part of the response?

I am not aware of a way to change positive replies unless you patch the code.

Currently you can only modify permanent failures (5xx) via

p at rick

[*] sys4 AG, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein

More information about the amavis-users mailing list