Postfix mail accts & SSH/FTP access
Posted on 2003-02-23
I just want to know if there is a better way to do this. There must be.
Basically, I want to create several email acct and since I'm using Postfix the accts are Unix accts. Needless to say they are able to login to the server. Here is what I'm trying to accomplish and what I have done, but it seems like there should be a better way.
Obviously, check for mail, deny SSH access and possibly deny/allow FTP access into the server.
I have have created a couple test accts and changed the /etc/passwd file to reflect /sbin/nologin instead of /bin/bash. It seems to work. Still can check email and can't log into the server.
But it seems like there must be a better way. This is the first time to use Postfix as the mail server. In the past I have used Qmail.
Thanks for your suggestions.