[Dovecot] about postlogin in dovecot2
Daniel Parthey
daniel.parthey at informatik.tu-chemnitz.de
Mon Aug 13 02:13:07 EEST 2012
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
Regards
Daniel
--
https://plus.google.com/103021802792276734820
More information about the dovecot
mailing list