Thread: need to restrict email access on a schedule
i need restrict access email services on our network friday @ 7 pm until following saturday morning @ 5 am, , again saturday @ 7 pm sunday 5 am.
on router cron job, runs dd-wrt need have schedule exclude couple of admin machines, preferably mac address.
failing need able on local machines cron job. of course not have cron job on admin machines continue allow access.
appreciated.
if control mail server, add entries in cron shutdown smtp server (probably sendmail or postfix) , pop/imap server (probably dovecot). alternatively can have server run script adds rules iptables block connections ports 25, 110 (if use pop3), , 143 (imap). if use mail submission ports 587, you'll need block well.
if don't control server, can block ports on router.
if disable smtp server, make sure have backup specified in mx records domain. remote servers hold mail until server comes online, it's better have smtp backup.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Security [ubuntu] need to restrict email access on a schedule
Ubuntu
Comments
Post a Comment