Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-16-2011, 05:42 AM   #1
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?

Old 12-16-2011, 10:00 AM   #2
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

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 10:01 AM.


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 10:26 AM
Restrict access by domain per user lothario Linux - Networking 1 02-06-2009 08:37 PM
How to restrict a user from uploading any file a Linux box to the internet? smbhat Linux - Security 13 10-17-2008 01:49 PM
Restrict access per user with Squirrelmail and postfix ? id_viorel Linux - Server 0 05-30-2008 08:09 AM
how to restrict a user to a single domain in sendmail with multiple domains muralee29477 Linux - Server 2 04-30-2007 01:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:48 AM.

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