[Dovecot] about postlogin in dovecot2

Charles Marcus CMarcus at Media-Brokers.com
Mon Aug 13 13:27:25 EEST 2012


On 2012-08-12 7:13 PM, Daniel Parthey 
<daniel.parthey at informatik.tu-chemnitz.de> wrote:
> 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

Or you could use something like:

http://wiki2.dovecot.org/Authentication/RestrictAccess

-- 

Best regards,

Charles



More information about the dovecot mailing list