Silmar A. Marca wrote:
> How to Reject helo if helo is domain?
> Example:
> - helo dommain.com.br
> - ....
> - rcpt to: <xxx@???>
> 5xx Reject helo....
This one is C049 in the config.samples tarball
> How to Reject if "Message-ID:" header using a rcpt domain?
> - ...
> - rcpt to: <xxx@???>
> - data
You can modify the above ruleset for this.
But this is prone to false positives - unless you have
1. inbound and outbound mailservers separated and apply this only to inbound
or
2. exempt trusted ips and authenticated users from this check
As for the message-id check, are you sure your user X isnt going to use
some other smtp server but from / message id are x@???, to
mail y@???, or support@???
srs