Package: greylistd
Version: 0.8.3

The ACL addition when using the netmask option does not include spaces between the submitted values AND it does not use a '$' before sender_host_address to use the intended variable.

1. in /usr/share/doc/greylistd/examples/exim4-acl-example.txt

   condition   = ${if eq {grey}\
                         {${readsocket{/var/run/greylistd/socket}\
                                      {${mask:sender_host_address/24}\
                                       $sender_address\
                                       [EMAIL PROTECTED]
                                      {5s}{}{}}}\
                   {true}{false}}


results in the greylist database having the values in a sting ie:

66.249.92.0/[EMAIL PROTECTED]@host.com

Adding space to the end of the following lines fixes this ie:

                                      {${mask:$sender_host_address/24} \
                                       $sender_address \

2. In this fixed example there is also a '$' in front of sender_host_address. Without this you get the exim error:

failed to expand ACL string "${if eq {grey}{${readsocket{/var/run/greylistd/socket}{${mask:sender_ host_address/[EMAIL PROTECTED]": "s
ender_host_address/24" is not an IP address


Dave,
--
David Broome   Sr. Programmer Analyst @ FineArts.UVic.CA  /BSc
250.721-6307   [EMAIL PROTECTED]          FIA 221






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to