13 Aug
2012
13 Aug
'12
2:13 a.m.
bmalik wrote:
I wrote a loginscript in bash. it works well. I can restrict a user by IP. how can i restrict a particular email address by tcp port ? I want a particular mail address to be forced to use pop3s/imaps.
What's your doveconf -n output, please? Are you using SQL or LDAP for user lookup?
You probably should do the filtering already in your userdb/authdb lookup queries, since Variable %a or %{lport} which contains the local port is only available in Dovecot-Auth according to http://wiki2.dovecot.org/Variables