[Exim] notes

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Giuliano Gavazzi
Dátum:  
Címzett: exim-users
Tárgy: [Exim] notes
Just in case these might one day go into the specs without checking:

In NewStuff (from 4.12):

49. Some new features have been added to the ACL facilities:

       (i) The new verb "drop" behaves like "deny", except that the SMTP
           connection is forcibly closed after the 550 error message has been
           sent. For example:


              drop   message   = I don't take more than 20 RCPTs
                     condition = ${if > {$rcpt_count}{20}}{yes}{no}}


the condition has got an extra } after the 20.


later:

       deny   message = Too many bad recipients
              condition =                    \
                ${if and {                   \
                  {gt{$rcpt_count}{10}}      \
                  {                          \
                  lt                         \
                    {$recipients_count}      \
                    {${eval:$rcpt_count/2}}  \
                  }                          \
                }{yes}{no}}


the "gt" and "lt" operators do not exist and should be replaced by
">" and "<" (sorry for the obvious remark). Or is this a preview of
things to come?

Giuliano