LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2011, 06:42 AM   #1
LinuxGreen
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
Unhappy Postfix authenticating user@domain and restrict user to access linux box


Hi all,
I need to create a service for several users with the following features:

1) User will only have email + ftp access to linux box, no interactive logon allowed
2) User should login to email server using username@domain, as I will be hosting multiple domains

Can someone tell me what I have to do to:

1) Restrict user access so that they can't access linux server by console, only by ftp and email

2) Configure postfix so that the users will access the email server using username@domain + password

3) Can I accomplish this only with MySQL and without creating local linux users?

Thanks!!!
 
Old 12-16-2011, 11:00 AM   #2
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Yes,

this all you get if you use iredmail solution, which installs all the needed packages at once (and with MySQL support for usr/passw & domains)

I'm using it and it's great.

FTP is just a matter of configuring vsftpd to use the same database for login (some waypoint you can use at my guide).


good luck

Last edited by lithos; 12-16-2011 at 11:01 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix not authenticating the user with LDAP and SASL ynin Linux - Server 8 06-18-2009 11:26 AM
Restrict access by domain per user lothario Linux - Networking 1 02-06-2009 09:37 PM
How to restrict a user from uploading any file a Linux box to the internet? smbhat Linux - Security 13 10-17-2008 02:49 PM
Restrict access per user with Squirrelmail and postfix ? id_viorel Linux - Server 0 05-30-2008 09:09 AM
how to restrict a user to a single domain in sendmail with multiple domains muralee29477 Linux - Server 2 04-30-2007 02:16 AM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration