Hi thanks,
Am 27.09.16 um 17:07 schrieb Tom Hendrikx:
On 27-09-16 17:03, Aki Tuomi wrote:
On September 27, 2016 at 5:42 PM Götz Reinicke - IT Koordinator <goetz.reinicke@filmakademie.de> 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
the PostLoginScripting looks like the best option right now. Our Users aren't authenticated by pam on the dovecot server, so I'll check the script.
Regards . Götz