It seems like the snippet worked despite my reasoning that it does not work.
Looks like i made a mistake in testing. I was using "swaks" and spamassassin cached my test e-mails as spam, while in reality the SPF exception did work. So i thought it's because of an error in the exception, but it was because oft he cache in spamassasin. -----Ursprüngliche Nachricht----- Von: Evgeniy Berdnikov via Exim-users [mailto:[email protected]] Gesendet: Freitag, 23. Juni 2023 22:05 An: [email protected] Betreff: [exim] Re: exception for not setting a header does not work On Fri, Jun 23, 2023 at 09:22:24PM +0200, tt-admin via Exim-users wrote: > Why does adding this line not work as expected? > > !senders = lsearch*@;/etc/exim4/no-spf-sender Did you try to use debug? At least "-d+acl+lookup" for manual tests. Or "control = debug/opts=..." may be add to ACL. -- Eugene Berdnikov -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## [email protected] ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/ -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## [email protected] ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
