I want to see value of condition in exim, for example "authenticated". I can use authenticated = *, but I don't know what really contains "authenticated".
If I add section warn with parameter logwrite = $authenticated
I get error unknown variable name "authenticated"
.
Also I want to see what contains in the condition "spam". There's many manuals say just add spam = nobody:false
, but I can't understand who is nobody and what is false.
Authenticated connections show up in the protocol field. This is found on the lines recording the sender (indicated by
<=
after the id. The protocols that indicate an authenticated messsage areesmtpsa
,smtpsa
,esmtpa
andsmtpa
.estmp
indicates extended SMTP requested by using theEHLO
command instead of theHELO
command. Thesa
suffix indicates authentication on a secure (TLS) connection, as compared tos
(unauthenticated TLS) ora
(authenticated on unsecured channel). The authentication details followA=
on the same line.This
warn
clause will cause the configured spam filter to be run and spam report logged in the Exim log. Spamassassin will already be logging this data to the maillog, so I would remove the logwrite message as soon as you are happy it is working.See the Content Scanning chapter of the Exim Specification for more information on spam scanning. Get to know your way around the specification document.