bf40 Setting up mail clients without ssh priviledges - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old August 10th, 2012, 23:04
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default Setting up mail clients without ssh priviledges

Is there a way to setup a mail user so that I don't create a /home/{username} directory for them and don't create a local login?

I'm using dovecot and was planning on installing squirrelmail but figured I'd wait to see what recommendations I got.

Thanks,

Douglas
Reply With Quote
  #2  
Old August 11th, 2012, 04:54
mwatkins mwatkins is offline
Member
 
Join Date: Apr 2009
Location: Vancouver
Posts: 121
Thanks: 3
Thanked 14 Times in 13 Posts
Default

Sure, there is no reason to create local system accounts for mail-only users. How you do this will vary some by MTA (mail server).

How many users do you need to provide mail services for? Is this a personal project or something you are doing on a grander scale?

Provide a few more details on the scope of what you hope to achieve and no doubt many will chime in with suggestions.

For both personal mail and fee for service mail I use Postfix as my MTA, Dovecot for "virtual" local delivery / IMAP/POP3, and other bits and pieces. If you are just providing mail services for a handful of users, I'd recommend implementing Postfix/Dovecot using simple text files as your virtual user database(s) rather than opting for a MySQL or PostgreSQL database backend, at least to start with. Doing so removes another chunk of software out of the picture (a SQL db) and may force you to think about the implementation a little more than following one of many recipes that exist out there on the Internet. For my personal / pro bono servers I go this route and use make to rebuild Postfix "database" files (and reload the system when required) when I've made a meaningful edit to the configuration. These systems just keep working year in year out. To make this clear - providing "virtual" mail user support means no local login is required.
Reply With Quote
  #3  
Old August 14th, 2012, 19:04
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

For now its just personal to work up some testing, but long term I'm planning on using it on a larger scale.

I'm already using dovecot but with a sendmail mta. Is there a particular reason you are using postfix versus sendmail?
Reply With Quote
  #4  
Old August 14th, 2012, 19:38
mwatkins mwatkins is offline
Member
 
Join Date: Apr 2009
Location: Vancouver
Posts: 121
Thanks: 3
Thanked 14 Times in 13 Posts
Default

I don't have a good reason for using Postfix other than sendmail except for I found I could understand it more quickly, way way back when, so I continue to use it. On single user systems sendmail prevails.
Reply With Quote
  #5  
Old August 20th, 2012, 19:12
ecazamir ecazamir is offline
Member
 
Join Date: Mar 2009
Posts: 215
Thanks: 5
Thanked 28 Times in 26 Posts
Default

If you have many users and multiple e-mail administrators, then it makes sense to use a more complex solution.
I wrote here how I configure mail servers with Postfix, Dovecot 2, virtual users using MySQL database, DKIM, SASL authentication, Greylisting, SPF check, webmail, amavisd-new, SpamAssassin, etc.
__________________
My blog: http://ghid-it.blogspot.com
Other guides: http://sites.google.com/site/ghidit/
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] need help with setting up virtual mail accounts in postfix. hockey97 Web & Network Services 8 January 28th, 2012 01:05
Newbie setting up his own mail server? Gogeden Web & Network Services 11 February 17th, 2011 17:29
Setting up Squirrel Mail jackocurly0074 Web & Network Services 26 November 18th, 2009 05:13
[Solved] Setting up Mail Server Lego Web & Network Services 67 July 14th, 2009 22:07
No Admin Priviledges DrJ GNOME 8 April 16th, 2009 20:30


All times are GMT +1. The time now is 14:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0