[exim-dev] [Bug 670] imroved "spamd_address" syntax

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Roman
Dátum:  
Címzett: exim-dev
Tárgy: [exim-dev] [Bug 670] imroved "spamd_address" syntax
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=670




--- Comment #3 from Roman <rommer@???> 2008-02-18 10:57:23 ---
(In reply to comment #1)
> Couldn't you do all that with string expansion now that spamd_address is
> expanded?
>

No. At least weight.

(In reply to comment #2)
> What's the behaviour with the 'time' option when insane combinations of times
> are configured (eg with gaps, overlaps)?
>

Time option calculated by the following formula (very simple):

time_start = hour_start * 3600 + minute_start * 60 + second_start
time_end = hour_end * 3600 + minute_end * 60 + second_end
time_now = hour_now * 3600 + minute_now * 60 + second_now

spamd_address match, when (time_now >= time_start && time_now < time_end).
By default time_start = 0, time_end = 86400.

So, for example, when time_start > time_end, the address never will match.
If time option contains incorrect data, exim writes to log warning and
ignores this address.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email