OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: too many hops

From: Matt Fretwell (mattfbauchan.org)
Date: Fri Apr 01 2005 - 14:58:59 CST


Chris Bowlby wrote:

> but when I enable the content_filtering line I get a loop of scans and a
> return of the email to the original sender stating there were too many
> hops.

> 127.0.0.1:10025 inet n - n - - smtpd
> #-o content_filter=
> #-o local_recipient_maps=
> #-o relay_recipient_maps=
> #-o smtpd_restriction_classes=
> #-o smtpd_client_restrictions=
> #-o smtpd_helo_restrictions=
> #-o smtpd_sender_restrictions=
> #-o smtpd_recipient_restrictions=permit_mynetworks,reject
> #-o mynetworks=127.0.0.0/8
> #-o strict_rfc821_envelopes=yes
> #-o smtpd_error_sleep_time=0
> #-o smtpd_soft_error_limit=1001
> #-o smtpd_hard_error_limit=1000
>
> Please note that I had to comment out the parameters lines as the
> postfix system did not like it.

 Without any logs of the looping, one cannot say for definite. However,
whilst content_filter is enabled on the above, filtered mail will loop.
You have to prepend the '-o' lines in master.cf with whitespace, i.e:
indented.

Matt