OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: smtpd_delay_reject = yes & Reject Logging

From: Ralf Hildebrandt (Ralf.Hildebrandtcharite.de)
Date: Wed Aug 11 2010 - 02:35:16 CDT


* Stan Hoeppner <stanhardwarefreak.com>:
> Michael Orlitzky put forth on 8/10/2010 4:02 PM:
>
> > I think he just wants to know which smtpd restrictions list contains the
> > rule that caused the rejection.
>
> This is relatively easy to accomplish with custom rejection messages. Simply
> insert a unique symbol at the beginning of each rejection message text string
> which identifies the rejection stage. This of course would require a separate
> access table for each "check_client_access" statement, which can create future
> table management headaches to the point it may not be worth the effort.

Yes, this only works for check_*_access. Stuff like e.g.
reject_unknown_sender_domain have predefined rejection messages, so...

--
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  CharitĂ© - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebrandtcharite.de | http://www.charite.de