On 27-09-16 17:03, Aki Tuomi wrote: > >> On September 27, 2016 at 5:42 PM Götz Reinicke - IT Koordinator >> <[email protected]> wrote: >> >> >> Hi, >> >> is there a dovecot feature I did not found yet, which can limit the >> access to the server to special timeslots like working hours? >> >> Or is that a serverside / sssd / auth / pam / account feature? >> >> Thanks for hints to some helpfull documentation and sugesstions. >> >> Regards . Götz >> >> > > At least this is doable with PAM. See > http://www.linux-pam.org/Linux-PAM-html/sag-pam_time.html > > Aki >
You could also use http://wiki.dovecot.org/PostLoginScripting . There is a nice example named 'Denying connection from some IP/User'. Regards, Tom
