public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: kashani <kashani-list@badapple.net>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Comments on IMAP Server (cyrus/courier/dovecot)
Date: Thu, 11 Aug 2005 09:41:41 -0500	[thread overview]
Message-ID: <42FB63A5.8040600@badapple.net> (raw)
In-Reply-To: <1123735176.5878.36.camel@neuromancer.home.net>

Ow Mun Heng wrote:
> Just wondering, can I say, have a virtual domain user user1@localdomain
> (where localdomain is really local but just hosted as a virtual domain)
> which can have SSH/FTP access using the same password to access their
> email?

My understanding is the are two major ways to solve this.

1. pam + db for all accounts including local accounts
	Some db magic with pam or whatever local auth you do. This way the user 
still has some sort of central auth and doesn't end up with 2 different 
passwords and so forth. All accounts are virtual, but users designated 
as local also get shell, ftp, etc.

2. One localdomain and all others are truly virtual.
	set localdomain.com as local in your virtual config and everything else 
to virtual. The pop/imap/smtp daemons should auth locally and it pretty 
much just works in my experience. The caveat is that it is only feasible 
to have one domain as local and it's generally an all local or all 
virtual sort of thing. Mixing and matching local and virtual users 
within the same domain can be painful and hard to manage.

	I did #2 since it's easy and I like sleep. I use Postfix, Courier, and 
frontend it with PostfixAdmin. PostfixAdmin is great as it allows you to 
create domain admins that can managed the domains you assign them. I 
also changed from Squirrel to Horde IMP on this latest iteration and the 
users seem to like that better especially the HTML mail support.

	I highly recommend greylisting. It stops so much spam on its own which 
means your content filtering doesn't have to be so gung-ho which has had 
the effect of decreasing overall false positives. And I'm using much 
less CPU.

	Depending on which MTA you pick and where your database is you'll want 
to look into mysql:proxy statements in your config. That'll enable your 
MTA to multiplex queries over the same TCP connection which will 
decrease load on your db. This isn't so much of an issue if your db is 
local.

kashani
-- 
gentoo-server@gentoo.org mailing list



  parent reply	other threads:[~2005-08-11 14:44 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-11  3:46 [gentoo-server] Comments on IMAP Server (cyrus/courier/dovecot) Ow Mun Heng
2005-08-11  4:18 ` Arturo 'Buanzo' Busleiman
2005-08-11  4:39   ` Ow Mun Heng
2005-08-11  5:31     ` Arturo 'Buanzo' Busleiman
2005-08-11 11:56     ` Ian P. Christian
2005-08-11 12:15       ` Arturo 'Buanzo' Busleiman
2005-08-11 12:27         ` Ian P. Christian
2005-08-11 13:50           ` A. Khattri
2005-08-11 14:21             ` Ian P. Christian
2005-08-11 15:09               ` A. Khattri
2005-08-11 15:41                 ` Ian P. Christian
2005-08-11 16:04                   ` A. Khattri
2005-08-11 16:18                     ` Ian P. Christian
2005-08-11 16:28                       ` A. Khattri
2005-08-11 18:45                         ` Arturo 'Buanzo' Busleiman
2005-08-11 19:18                           ` A. Khattri
2005-08-11 16:04                   ` Jonathan Nichols
2005-08-11 16:31                   ` kashani
2005-08-11 14:28             ` xyon
2005-08-11 14:49               ` kashani
2005-08-11 15:07                 ` xyon
2005-08-11 16:31                 ` A. Khattri
2005-08-11 14:41     ` kashani [this message]
2005-08-11 16:33       ` A. Khattri
2005-08-11 16:52         ` kashani
2005-08-11 19:16           ` A. Khattri
2005-08-11 19:27             ` kashani
2005-08-11 19:44               ` A. Khattri
2005-08-11 20:00                 ` kashani
2005-08-11 21:09                   ` Wendall Cada
2005-08-12  9:54                   ` Ow Mun Heng
2005-08-12 14:07                   ` A. Khattri
2005-08-12 17:29                     ` kashani
2005-08-12 18:35                       ` A. Khattri
2005-08-12  9:50       ` Ow Mun Heng
2005-08-11  8:36 ` Darko Luketic
2005-08-11 10:05   ` Ow Mun Heng
2005-08-11 10:25 ` Benjamin Smee
2005-08-12  1:37   ` Ow Mun Heng
2005-08-12  1:47     ` Dennis Allison
2005-08-11 12:48 ` Yogesh Sharma
2005-08-11 13:42 ` A. Khattri
2005-08-12  1:04 ` Ian P. Christian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42FB63A5.8040600@badapple.net \
    --to=kashani-list@badapple.net \
    --cc=gentoo-server@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox