Am 18.01.2016 um 23:21 schrieb bi...@sent.at:

> So now when I send email with the test string in it it gets rejected, I get 
> this in the reject message
> 
>       <bi...@example.com>: host mx.example.com[###.###.###.###]
>           said: 550 5.7.1 id=04518-01 - Rejected by next-hop MTA on relaying, 
> from
>           MTA(smtp:[127.0.0.1]:50100): 550 5.7.1 554 5.7.1 Message not allowed
>           (in reply to end of DATA command)
> 
> where
> 
>       smtp:[127.0.0.1]:50100
> 
> is what catches the return from before-queue Amavisd.
> 
> So it's rejecting it now!  Thanks a bunch :-)
> 
> One thing, that reject message has the IP/Port (smtp:[127.0.0.1]:50100) of 
> the next-hop MTA in it.
> 
> Can I quiet that message down somewhere to NOT include that info?  Just 
> include the REJECT, but not the IP/Port, maybe referring to it by its 
> 'syslog_name' or something like that?
My reject messages are also containing this information. As this
interfaces aren't accessible from outside, it doesn't bother me much.

As i understand, amavis is putting the "from MTA(smtp
[127.0.0.1]:50100)" into the reject message. I assume, postfix can't
filter this message out, because it's all happening during the smtp
dialog, while getting the mail from sending outside server. You will
have to rewrite amavis, to get this stopped.


Willi

Reply via email to