[Dovecot] Running just part of dovecot
I'm currently setting up a large mail system, with different services split out onto different machines. What I want is this:
machine1: dovecot smtp auth, no pop/imap machine2: dovecot lda, no pop/imap machine3: pop/imap, nothing else
machine3 is obviously not the issue. Is there a way to run machine1 and machine2 with just their respective services, but no pop/imap?
-- Marshal Newrock Ideal Solution, LLC - http://www.idealso.com
* On 17/09/06 14:10 -0400, Marshal Newrock wrote:
| I'm currently setting up a large mail system, with different services
| split out onto different machines. What I want is this:
|
| machine1: dovecot smtp auth, no pop/imap
| machine2: dovecot lda, no pop/imap
| machine3: pop/imap, nothing else
|
| machine3 is obviously not the issue. Is there a way to run machine1
| and machine2 with just their respective services, but no pop/imap?
Well, machine1 is also no issue. Just don't run Dovecot on it. Run an
SMTP server only, which is configured to support ASMTP.
For machine2, I am not sure what you want to achieve with the LDA. Is
this where the mailboxes will be located?
What are your plans on how the mailboxes are going to be accessed?
-Wash
http://www.netmeister.org/news/learn2quote.html
DISCLAIMER: See http://www.wananchi.com/bms/terms.php
--
+======================================================================+
|\ _,,,---,,_ | Odhiambo Washington
On Mon, 18 Sep 2006 08:22:37 +0300 Odhiambo WASHINGTON odhiambo.raburu@wananchi.com wrote:
- On 17/09/06 14:10 -0400, Marshal Newrock wrote: | I'm currently setting up a large mail system, with different services | split out onto different machines. What I want is this: | | machine1: dovecot smtp auth, no pop/imap | machine2: dovecot lda, no pop/imap | machine3: pop/imap, nothing else | | machine3 is obviously not the issue. Is there a way to run machine1 | and machine2 with just their respective services, but no pop/imap?
Well, machine1 is also no issue. Just don't run Dovecot on it. Run an SMTP server only, which is configured to support ASMTP.
I would like to use dovecot sasl (with postfix) as it is much easier to set up. Also, the machines will all mostly be clones of each other, except for some config files and running services.
For machine2, I am not sure what you want to achieve with the LDA. Is this where the mailboxes will be located?
What are your plans on how the mailboxes are going to be accessed?
The mailboxes will be on another machine, accessed over NFS. I want to use the LDA for quota support, especially as it looks like it will update the usage in the database.
To give a little more detail, each of the three machines listed above will be a group of machines, hence the mailboxes through NFS.
-- Marshal Newrock Ideal Solution, LLC - http://www.idealso.com
Hello Marshal,
Marshal Newrock, 18.09.2006 (d.m.y):
The mailboxes will be on another machine, accessed over NFS. I want to use the LDA for quota support, especially as it looks like it will update the usage in the database.
Well, I would use the MTA's quota features as the MTA can handle quota problems at SMTP time. Otherwise your MTA has accepted a message and passes it to the LDA. When the recipient's account is over quota, what will yiur server do with this mail? When already the MTA checks if the account is over quota, the sender gets a 4xx "Error", your server has no need to deal with a bounce, and the sender is well-informed.
Regards, Christian Schmidt
-- "Ich habe 85 Kilo überflüssiges Gewicht weggebracht!" "Mensch, wie hast Du denn das gemacht?" "Ich habe meinen Mann zum Teufel gejagt!"
On Mon, 18 Sep 2006 10:31:00 +0200 Christian Schmidt christian@siebenbergen.de wrote:
Hello Marshal,
Marshal Newrock, 18.09.2006 (d.m.y):
The mailboxes will be on another machine, accessed over NFS. I want to use the LDA for quota support, especially as it looks like it will update the usage in the database.
Well, I would use the MTA's quota features as the MTA can handle quota problems at SMTP time. Otherwise your MTA has accepted a message and passes it to the LDA. When the recipient's account is over quota, what will yiur server do with this mail? When already the MTA checks if the account is over quota, the sender gets a 4xx "Error", your server has no need to deal with a bounce, and the sender is well-informed.
Exactly. Postfix smtpd doesn't handle delivery to the mailbox, so it wouldn't be able to check quotas before accepting mail. However, with the quota information stored in a database, postfix would be able to check and reject mail for users who are over quota.
-- Marshal Newrock Ideal Solution, LLC - http://www.idealso.com
Hello Marshal,
Marshal Newrock, 18.09.2006 (d.m.y):
Exactly. Postfix smtpd doesn't handle delivery to the mailbox, so it wouldn't be able to check quotas before accepting mail. However, with the quota information stored in a database, postfix would be able to check and reject mail for users who are over quota.
And why do you want to hand this over to dovecot?
Regards, Christian Schmidt
-- Die glücklichen Pessimisten! Welche Freude empfinden sie, so oft sie bewiesen haben, daß es keine Freude gibt. -- Marie von Ebner-Eschenbach
On Mon, 18 Sep 2006 16:56:27 +0200 Christian Schmidt christian@siebenbergen.de wrote:
Hello Marshal,
Marshal Newrock, 18.09.2006 (d.m.y):
Exactly. Postfix smtpd doesn't handle delivery to the mailbox, so it wouldn't be able to check quotas before accepting mail. However, with the quota information stored in a database, postfix would be able to check and reject mail for users who are over quota.
And why do you want to hand this over to dovecot?
Because it looks much simpler and easier than courier-maildrop.
-- Marshal Newrock Ideal Solution, LLC - http://www.idealso.com
On Sun, Sep 17, 2006 at 02:10:12PM -0400, Marshal Newrock wrote:
I'm currently setting up a large mail system, with different services split out onto different machines. What I want is this:
machine1: dovecot smtp auth, no pop/imap machine2: dovecot lda, no pop/imap machine3: pop/imap, nothing else
machine3 is obviously not the issue. Is there a way to run machine1 and machine2 with just their respective services, but no pop/imap?
I recall Dovecot 1.0b7 spat the dummy when we tried to run it without pop3/imap services, for SMTP auth. I was a bit bogged down at the time, so we just configured it to run pop3, but listen on localhost only.
i.e. in dovecot.conf:
protocols = pop3 ... protocol pop3 { listen = 127.0.0.1:110 ... }
Might be worth revisiting so we can do protocols = none.
JG
-- Josh "Koshua" Goodall "as modern as tomorrow afternoon" joshua@roughtrade.net - FW109
On Mon, 18 Sep 2006 18:36:55 +1000 Joshua Goodall joshua@roughtrade.net wrote:
I recall Dovecot 1.0b7 spat the dummy when we tried to run it without pop3/imap services, for SMTP auth. I was a bit bogged down at the time, so we just configured it to run pop3, but listen on localhost only.
i.e. in dovecot.conf:
protocols = pop3 ... protocol pop3 { listen = 127.0.0.1:110 ... }
Might be worth revisiting so we can do protocols = none.
I tried with "protocols =" and it turned on the default protocols. I'll be using the same solution you came up with. I can live with this, but I'll try to remember to make this a feature request when Timo is less busy and able to return here.
-- Marshal Newrock Ideal Solution, LLC - http://www.idealso.com
On Mon, 2006-09-18 at 18:36 +1000, Joshua Goodall wrote:
Might be worth revisiting so we can do protocols = none.
Yea, that sounds nice. Done:
http://dovecot.org/list/dovecot-cvs/2006-September/006410.html
participants (5)
-
Christian Schmidt
-
Joshua Goodall
-
Marshal Newrock
-
Odhiambo WASHINGTON
-
Timo Sirainen