[Dovecot] How do i translate the old default_mail_env setting?
Hi,
First, I am new to dovecot. Before my Jan '08 meltdown,
sendmail was sufficient. A friend set up dovecot and since
things just-worked, I was happy with that. Now I have a new
mailserver and what was installed nearly two years ago fails.
My pal installed things in dovecot.conf this way:
default_mail_env = maildir:~/Maildir
but the new mail environment is too different to be readily
understood. --At least for me!-- The "%u" variable is
confusing; so in the "%h" ($HOME [?]) variable...
Would the following edit work on my old conf file:
mail_location = maildir:~/Maildir ?
tia,
gary kline
-- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php
On Dec 6, 2009, at 3:37 PM, Gary Kline wrote:
My pal installed things in dovecot.conf this way:
default_mail_env = maildir:~/Maildir
but the new mail environment is too different to be readily understood. --At least for me!-- The "%u" variable is confusing; so in the "%h" ($HOME [?]) variable...
%h is exactly the same as ~.
Would the following edit work on my old conf file:
mail_location = maildir:~/Maildir ?
Yes, that would work.
On Sun, Dec 06, 2009 at 07:52:44PM -0500, Timo Sirainen wrote:
On Dec 6, 2009, at 3:37 PM, Gary Kline wrote:
My pal installed things in dovecot.conf this way:
default_mail_env = maildir:~/Maildir
but the new mail environment is too different to be readily understood. --At least for me!-- The "%u" variable is confusing; so in the "%h" ($HOME [?]) variable...
%h is exactly the same as ~.
Would the following edit work on my old conf file:
mail_location = maildir:~/Maildir ?
Yes, that would work.
Appreciate it. Is there an overview of your IMAP/POP3 server?
Overview, tuturial, what dovecot does? newest features, etc?
The fellow who set up dovecoat origially has [ what I believe
to be] an unnecessary SASL service. I would like to avoid all
redundancies, save CPU, troubles, and so on. ...
thanks much,
gary
-- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php
On Sun, 2009-12-06 at 17:13 -0800, Gary Kline wrote:
Appreciate it. Is there an overview of your IMAP/POP3 server? Overview, tuturial, what dovecot does? newest features, etc?
Well, there's http://wiki.dovecot.org/MailServerOverview and http://dovecot.org/talks/
The fellow who set up dovecoat origially has [ what I believe to be] an unnecessary SASL service. I would like to avoid all redundancies, save CPU, troubles, and so on. ...
Your SMTP server might be authenticating using the SASL service.
On Mon, Dec 07, 2009 at 11:35:43AM -0500, Timo Sirainen wrote:
On Sun, 2009-12-06 at 17:13 -0800, Gary Kline wrote:
Appreciate it. Is there an overview of your IMAP/POP3 server? Overview, tuturial, what dovecot does? newest features, etc?
Well, there's http://wiki.dovecot.org/MailServerOverview and http://dovecot.org/talks/
The fellow who set up dovecoat origially has [ what I believe to be] an unnecessary SASL service. I would like to avoid all redundancies, save CPU, troubles, and so on. ...
Your SMTP server might be authenticating using the SASL service.
Yes, but because much of this was new I simply followed my
friend's guidelines blindly. Here are what I did (cut-and-pasted)
without understand much:
+++
Configuring Mail Services
Now we will begin with configuring the Sendmail SMTP server,
with SMTP-AUTH. When we compile Sendmail, we want it to
recognize that we will use SASL2 for smtp authentication. So,
we need to add these items to the file /etc/make.conf:
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
Now, compile sasl2 and sasl2-saslauthd (in 1 operation):
# cd /usr/ports/security/cyrus-sasl2-saslauthd; make install
clean
Check the contents of /usr/local/lib/sasl2/Sendmail.conf, make
sure it says: pwcheck_method: saslauthd
# cat /usr/local/lib/sasl2/Sendmail.conf
pwcheck_method: saslauthd
Configure saslauthd to load at boot. Add this to the end of
/etc/rc.conf:
saslauthd_enable="YES"
Start saslauthd
# /usr/local/etc/rc.d/saslauthd start
Now its time to recompile sendmail with SASL2 support.
# cd /usr/src/lib/libsm; make clean; make obj; make depend;
make
# cd /usr/src/lib/libsmutil; make clean; make obj; make
depend; make
# cd /usr/src/usr.sbin/sendmail; make clean; make obj; make
depend; make; make install
+++
This is from Jon Horne's own wiki pages,
http://dfwlpiki.dfwlp.org/index.php/Deploying_a_FreeBSD_6.2_Server
from 2007. Am I right that I no longer need the "cyrus-sasl2-saslauthd"
daemon and can get rid of it? I plan to use Jon's wiki page
and update using dovecot alone for my own how-to on building a
mail server. --It is one of three howto writeups I am working
on. In short, I want especially mail to be lean and *correct*.
Mostly correct!
-- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php
On Mon, Dec 07, 2009 at 03:29:44PM -0800, Gary Kline wrote:
On Mon, Dec 07, 2009 at 11:35:43AM -0500, Timo Sirainen wrote:
On Sun, 2009-12-06 at 17:13 -0800, Gary Kline wrote:
Appreciate it. Is there an overview of your IMAP/POP3 server? Overview, tuturial, what dovecot does? newest features, etc?
Well, there's http://wiki.dovecot.org/MailServerOverview and http://dovecot.org/talks/
The fellow who set up dovecoat origially has [ what I believe to be] an unnecessary SASL service. I would like to avoid all redundancies, save CPU, troubles, and so on. ...
Your SMTP server might be authenticating using the SASL service.
Yes, but because much of this was new I simply followed my friend's guidelines blindly. Here are what I did (cut-and-pasted) without understand much:
Let me rephrase my previous post: I had installed the
cyrus-sasl2 port. Can I safely remove this now and reply on
the builtin dovecot SASL?
-- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php
On Wed, 2009-12-09 at 10:39 -0800, Gary Kline wrote:
Your SMTP server might be authenticating using the SASL service. .. Let me rephrase my previous post: I had installed the cyrus-sasl2 port. Can I safely remove this now and reply on the builtin dovecot SASL?
You said you built Sendmail with SASL support. Sendmail doesn't support Dovecot SASL. So you need to keep using Cyrus SASL.
On Wed, Dec 09, 2009 at 02:08:34PM -0500, Timo Sirainen wrote:
On Wed, 2009-12-09 at 10:39 -0800, Gary Kline wrote:
Your SMTP server might be authenticating using the SASL service. .. Let me rephrase my previous post: I had installed the cyrus-sasl2 port. Can I safely remove this now and reply on the builtin dovecot SASL?
You said you built Sendmail with SASL support. Sendmail doesn't support Dovecot SASL. So you need to keep using Cyrus SASL.
Thanks much. I thought this might be the case; and, looking
over my friend's write-up, I see that he links cyrus into
things-sendmail. ---I've used sendmail for too long to give
it up now. But a final question: do you ever think that
dovecot might integrate sendmail??
-- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php
On Wed, 2009-12-09 at 11:26 -0800, Gary Kline wrote:
Thanks much. I thought this might be the case; and, looking over my friend's write-up, I see that he links cyrus into things-sendmail. ---I've used sendmail for too long to give it up now. But a final question: do you ever think that dovecot might integrate sendmail??
I've no idea. Sendmail people are free to add Dovecot support if they want to, but I've no interest in doing that work.
On Wed, Dec 09, 2009 at 02:28:19PM -0500, Timo Sirainen wrote:
On Wed, 2009-12-09 at 11:26 -0800, Gary Kline wrote:
Thanks much. I thought this might be the case; and, looking over my friend's write-up, I see that he links cyrus into things-sendmail. ---I've used sendmail for too long to give it up now. But a final question: do you ever think that dovecot might integrate sendmail??
I've no idea. Sendmail people are free to add Dovecot support if they want to, but I've no interest in doing that work.
All right, then it's an MTA-side issue. Maybe I'll hack in
the Dovecot support then. Dovecot is just waaay to
outstanding to be unsupported.
-- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php
participants (2)
-
Gary Kline
-
Timo Sirainen