[exim] help with syntax to disable AUTH on port 25

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: v-ex
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] help with syntax to disable AUTH on port 25
hi.
I'm still having trouble with the if/then/and/or syntax. could someone help me rewrite the following

auth_advertise_hosts = ${if and { {!eq {$tls_cipher}{}} {eq {$received_port}{587}} } {*}{}}

to say

{!eq {$tls_cipher}{}} AND ( {eq {$received_port}{465}} OR {eq {$received_port}{587}} OR connection is from localhost )

thanks.