On Wed, Jan 20, 2010 at 01:05:01PM +0000, Jaroslaw Grzabel wrote:
> Ralf Hildebrandt wrote:
> > Use an access(5) map on the client:
> >
> > check_client_access hash:/etc/postfix/nice_reject
> >
> > with:
> >
> > unknown     550 5.1.2 Your reverse DNS entries are off
> >
> >   
> Thank you for that Ralf. Do you know if may I operate on any variables ?
> I need to have a message like "550 Fix your reverse DNS for IP
> $IP_ADDRESS or use your ISP server. Please see: website to know more."

You don't really need that variable. The hostname/IP is already included in the
rejection message going out, if you use check_client_access.

For example:

550 5.1.1 <unknown[1.2.3.4]> Client host rejected: "Fix your reverse DNS..."

Reply via email to