Current time: 04-19-2024, 10:14 PM Hello There, Guest! (LoginRegister)


Post Reply 
Possibility to use Postfix + Omega without sasldb
Author Message
DPR Offline


Posts: 3
Joined: Apr 2007
Reputation: 0
Post: #1
Possibility to use Postfix + Omega without sasldb
I have a few questions:
as far as I can see, Omega needs the sasldb auxprop Plugin in connection with Postfix, correct ? I.e. there's a sychronization between the mySQL DB needed which means it uses saslpasswd to create and modify the sasldb - where all users and passwords are stored again ?!

This doesn't make any sense for me because we could also use the mySQL auxprop plugin to authenticate directly via the DB ! Which would make the synchronization completely unnecessary.

DPR
04-16-2007 11:47 PM
Find all posts by this user Quote this message in a reply
soringo Offline
Junior Member
*

Posts: 33
Joined: Feb 2007
Reputation: 0
Post: #2
RE: Possibility to use Postfix + Omega without sasldb
Yes..I agree ...I have a sort of conf for that...tested with dovecot witch I like more than courier.....

Notice...for use dovecot-pop, imap and even sasl for smtp-auth you have to use postfix.2.3
(This post was last modified: 04-17-2007 03:11 AM by soringo.)
04-17-2007 03:07 AM
Find all posts by this user Quote this message in a reply
Donni Offline
Junior Member
*

Posts: 21
Joined: Nov 2006
Reputation: 0
Post: #3
RE: Possibility to use Postfix + Omega without sasldb
Sorry, but I disagree with you both. Authenticating via a db is overkill if you are running a mailserver with high load. I prefer using the standard maps since performance and stability are much better. I see that it could be more comfortable to authenticate with MySql directly but I think the best solution would be if the admin of the server can decide wheter to use direct mysql authentication or the standard hash files.
04-18-2007 12:17 AM
Find all posts by this user Quote this message in a reply
DPR Offline


Posts: 3
Joined: Apr 2007
Reputation: 0
Post: #4
RE: Possibility to use Postfix + Omega without sasldb
Donni Wrote:Sorry, but I disagree with you both. Authenticating via a db is overkill if you are running a mailserver with high load. [...]
I doubt that the sasldb method with a file scales better than a mySQL DB if you do have a lot of users.
But you're absolutely right, everyone should have the possibility to choose which method you want to use. That's all I wanted to say Smile

I will open a ticket for this !
(This post was last modified: 04-18-2007 01:05 AM by DPR.)
04-18-2007 01:05 AM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #5
RE: Possibility to use Postfix + Omega without sasldb
i told you before that this makes only sense after we changed the whole way information regarding mail is stored in ispCP Omega...

The current ERD does not allow such things.
In fact speaking of an ERD does not really fit the current database Tongue
04-18-2007 01:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Donni Offline
Junior Member
*

Posts: 21
Joined: Nov 2006
Reputation: 0
Post: #6
RE: Possibility to use Postfix + Omega without sasldb
DPR Wrote:I doubt that the sasldb method with a file scales better than a mySQL DB if you do have a lot of users.
I must admit that I don't havemuch experience with *really* huge mailservers but let's see what the "real professionals" say Wink
Here is an excerpt of "The Book of Postfix":
Quote:The principal difference between a database map and an indexed map is that you do not need to restart a daemon when there is a change to the database. [...] The drawback to this approach is that the database may not be able to handle the number of queries gracefully, because Postfix needs to perform al least three queries for each lookup in a map [...] Under heavy load, the databse backend could stop working, and your mail service would be vulnerable to a self-induced meltdown or a denial-of-service attack. This possibility should not prevent you from using database backends, but you should be aware of the risk.
[...] latency can be another problem. Database queries have a higher latency than indexed maps because Postfix must connect to the database, send the query, and then wait for the result. With an indexed map, Postfix has only to consult data that is already loaded in memory. [...]

But I fully agree that it would be cool to choose wether to use indexed or database maps (at least one day Wink).
04-18-2007 02:23 AM
Find all posts by this user Quote this message in a reply
DPR Offline


Posts: 3
Joined: Apr 2007
Reputation: 0
Post: #7
RE: Possibility to use Postfix + Omega without sasldb
Donni Wrote:But I fully agree that it would be cool to choose wether to use indexed or database maps (at least one day Wink).

I'm not talking about the whole postmap thing ... I'm just talking about the authentication methods ... your quote only references the whole mail-domain-handling things !
04-19-2007 05:04 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)