helo I'm trying to set a condition in the userforward section that will compare dates in the vacation.txt file in the user directory: in the file I have e.g. 2025-03-03,2025-03-10
condition = ${if and{ {exists{$home/vacation.txt}} {ge{${extract{1}{,}{$home/vacation.txt}}}{${date::now}}} {le{${extract{2}{,}{$home/vacation.txt}}}{${date::now}}}} }{true}{false}} condition = ${if and{ {exists{$home/vacation.txt}} {ge{${date{$now}}}{${extract{1}{,}{$home/vacation.txt}}}} {le{${date{$now}}}{${extract{2}{,}{$home/vacation.txt}}}} }{true}{false}} condition = ${if and{ {exists{$home/vacation.txt}} {ge{${unix_timestamp{$now}}}{${unix_timestamp{${extract{1}{,}{$home/vacation.txt}}}}}} {le{${unix_timestamp{$now}}}{${unix_timestamp{${extract{2}{,}{$home/vacation.txt}}}}}} }{true}{false}} Any other solution? Regards -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## exim-users-unsubscr...@lists.exim.org ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/