Mailing List Archive

seen condition
Hi all,

I can't seem to get the "seen" condition working. For testing purposes I copied the example in https://www.exim.org/exim-html-current/doc/html/spec_html/ch-access_control_lists.html

exim will not accept that and throws the error:
error in ACL: unknown ACL condition/modifier in "defer seen = -5m / key=${sender_host_address}_$local_part@$domain"

what am I missing?

Cheers
Hardy

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: seen condition [ In reply to ]
Ahoj,

D?a Sat, 16 Mar 2024 12:22:40 +0100 Hardy via Exim-users
<exim-users@lists.exim.org> napísal:

> what am I missing?

are you sure, that your version supports it?

exim -bP macro _ACL_COND_SEEN
_ACL_COND_SEEN=y


regards

--
Slavko
https://www.slavino.sk
Re: seen condition [ In reply to ]
Ich behaupte, Slavko via Exim-users behauptete am 17.03.24:
> are you sure, that your version supports it?
>
> exim -bP macro _ACL_COND_SEEN
> _ACL_COND_SEEN=y

Errm.. no. I use the Debian distro package.
So I have to compile exim. I do not find a hint to SEEN in the local/EDITME nor in
https://www.exim.org/exim-html-current/doc/html/spec_html/ch-building_and_installing_exim.html

Hardy

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: seen condition [ In reply to ]
On 17/03/2024 10:53, Hardy via Exim-users wrote:
> II do not find a hint to SEEN in the local/EDITME nor in
> https://www.exim.org/exim-html-current/doc/html/spec_html/ch-building_and_installing_exim.html

No configuration needed for the compile; only current source.
--
Cheers,
Jeremy


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: seen condition [ In reply to ]
On Sun, Mar 17, 2024 at 11:53:55AM +0100, Hardy via Exim-users wrote:
> Ich behaupte, Slavko via Exim-users behauptete am 17.03.24:
> > are you sure, that your version supports it?
> >
> > exim -bP macro _ACL_COND_SEEN
> > _ACL_COND_SEEN=y
>
> Errm.. no. I use the Debian distro package.

What Debian version? On bookworm 12.5 I see:

08:22:14 0$ exim -bP macro _ACL_COND_SEEN
_ACL_COND_SEEN=y

09:57:41 0$ dpkg -l exim4\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-======================-===============-============-==================================================================
ii exim4 4.96-15+deb12u4 all metapackage to ease Exim MTA (v4) installation
ii exim4-base 4.96-15+deb12u4 amd64 support files for all Exim MTA (v4) packages
ii exim4-config 4.96-15+deb12u4 all configuration for the Exim MTA (v4)
un exim4-config-2 <none> <none> (no description available)
un exim4-daemon-custom <none> <none> (no description available)
ii exim4-daemon-heavy 4.96-15+deb12u4 amd64 Exim MTA (v4) daemon with extended features, including exiscan-acl
un exim4-daemon-light <none> <none> (no description available)
un exim4-doc-html <none> <none> (no description available)
un exim4-doc-info <none> <none> (no description available)
un exim4-localscanapi-6.0 <none> <none> (no description available)

Are you using other than the exim4-daemon-heavy package ?

--
- Athanasius (he/him) = Athanasius(at)miggy.org / https://miggy.org/
GPG/PGP Key: https://miggy.org/gpg-key
"And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: seen condition [ In reply to ]
D?a 17. 3. o 11:53 Hardy via Exim-users napísal(a):
> Ich behaupte, Slavko via Exim-users behauptete am 17.03.24:
>> are you sure, that your version supports it?
>>
>>      exim -bP macro _ACL_COND_SEEN
>>      _ACL_COND_SEEN=y
>
> Errm.. no. I use the Debian distro package.

The previous output was from debian stable packages...

regards

--
Slavko
https://www.slavino.sk/


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: seen condition [ In reply to ]
On Mon, Mar 18, 2024 at 09:58:45AM +0000, Athanasius via Exim-users wrote:
> Are you using other than the exim4-daemon-heavy package ?

Package exim4-daemon-light should be built with same set of generic options.
It gives me _ACL_COND_SEEN=y for package version 4.97-5.
--
Eugene Berdnikov

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: seen condition [ In reply to ]
Ich behaupte, Evgeniy Berdnikov via Exim-users behauptete am 18.03.24:
> On Mon, Mar 18, 2024 at 09:58:45AM +0000, Athanasius via Exim-users wrote:
>> Are you using other than the exim4-daemon-heavy package ?
>
> Package exim4-daemon-light should be built with same set of generic options.
> It gives me _ACL_COND_SEEN=y for package version 4.97-5.

Yes, since I looked at the Makefile - and as Jeremy suggested - there seems to be no need to care to have it compiled in. But yet, I do have the exim4-daemon-heavy as it come in ubuntu. I don't know why, can it be they took it out on purpose? I mean, you must really DO IT. Strange.

Thanks all for your reports.

Hardy

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: seen condition [ In reply to ]
On Mon, 18 Mar 2024, Evgeniy Berdnikov via Exim-users wrote:

> Package exim4-daemon-light should be built with same set of generic options.
> It gives me _ACL_COND_SEEN=y for package version 4.97-5.

Is 4.97-5 on Debian or Ubuntu -
my Ubuntu 23.10 is still on 4.96-17ubuntu2.2 ?8

exim-light does give me _ACL_COND_SEEN=y

--
Andrew C. Aitchison Kendal, UK
andrew@aitchison.me.uk

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/