> From: Matt

> Looking at this simple greylisting implementation:
> 
> http://wiki.exim.org/DbLessGreyListingRun
> 
> They use this to create name of grey file:
> 
> warn set acl_m_greyfile = /var/spool/exim/greylist/${length_255:\
>   ${sg{$sender_host_address}{\N\.\d+$\N}{}},\
>   ${tr{$sender_address,$local_p...@$domain}{/\040}{;} }}
>
> Is there anyway to replace any characters in grey file that are not a-z or
> A-Z or @ with a simple _ underscore?  Seems like it would be safer to
> exclude any special characters and should be just as effective.  I heard
> some comments by others elsewhere that this implementation was not trusted
> because of that.  I like how incredibly simple it is though.

It is safe under Unix and Linux. However there is a way to replace:

 warn set acl_m_greyfile = /var/spool/exim/greylist/${length_255:\
   ${sg{$sender_host_address}{\N\.\d+$\N}{}},\
   ${sg{$sender_address,$local_p...@$domain}{\n[^\w,@-]\N}{_}}}

Lena


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to