[prev in list] [next in list] [prev in thread] [next in thread]
List: dovecot
Subject: [Dovecot] Fwd: Dovecot 1.0 on a Mandriva 2007 box
From: hackhound <hackhound () gmail ! com>
Date: 2007-01-30 22:56:10
Message-ID: 25381a340701301456s2ac79cc1tc49650559f2377a8 () mail ! gmail ! com
[Download RAW message or body]
Well, I solved my own problem. It turns out that the RPM that comes with
Mandriva 2007 is for 1.0rc07, which uses the old format instead of
"mail_location".
---------- Forwarded message ----------
From: hackhound <hackhound@gmail.com>
Date: Jan 30, 2007 12:24 PM
Subject: Re: [Dovecot] Dovecot 1.0 on a Mandriva 2007 box
To: dovecot@dovecot.org
On 1/30/07, Charles Marcus <CMarcus@media-brokers.com> wrote:
>
> hackhound wrote:
> > I installed the RPM, and fought with it for days before realizing the
> > packaged config file is incorrect. So I downloaded the latest tarball
> > and used the sample dovecot.conf file. I was finally able to get
> > dovecot to run as long as I leave the mail_location line commented out.
> > If I uncomment the line dovecot complains that "mail_location" is an
> > "unknown setting". What am I missing?
>
> Well... it would help if you'd provide what is in your .conf file now...
> maybe it is just a typo...
>
> --
>
> Best regards,
>
> Charles
>
## Dovecot configuration file
protocols = pop3 pop3s
listen = *
#mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u
#mail_debug = no
protocol pop3 {
# Login executable location.
login_executable = /usr/lib/dovecot/pop3-login
# POP3 executable location. See IMAP's mail_executable above for examples
# how this could be changed.
mail_executable = /usr/lib/dovecot/pop3
# Don't try to set mails non-recent or seen with POP3 sessions. This is
# mostly intended to reduce disk I/O. With maildir it doesn't move files
# from new/ to cur/, with mbox it doesn't write Status-header.
#pop3_no_flag_updates = no
# Support LAST command which exists in old POP3 specs, but has been
removed
# from new ones. Some clients still wish to use this though. Enabling this
# makes RSET command clear all \Seen flags from messages.
#pop3_enable_last = no
# If mail has X-UIDL header, use it as the mail's UIDL.
#pop3_reuse_xuidl = no
# Keep the mailbox locked for the entire POP3 session.
#pop3_lock_session = no
# POP3 UIDL (unique mail identifier) format to use. You can use following
# variables:
#
# %v - Mailbox's IMAP UIDVALIDITY
# %u - Mail's IMAP UID
# %m - MD5 sum of the mailbox headers in hex (mbox only)
# %f - filename (maildir only)
#
# If you want UIDL compatibility with other POP3 servers, use:
# UW's ipop3d : %08Xv%08Xu
# Courier version 0 : %f
# Courier version 1 : %u
# Courier version 2 : %v-%u
# Cyrus (<= 2.1.3) : %u
# Cyrus (>= 2.1.4) : %v.%u
# Older Dovecots : %v.%u
# tpop3d : %Mf
#
# Note that Outlook 2003 seems to have problems with %v.%u format which
was
# Dovecot's default, so if you're building a new server it would be a good
# idea to change this. %08Xu%08Xv should be pretty fail-safe.
#
# NOTE: Nowadays this is required to be set explicitly, since the old
# default was bad but it couldn't be changed without breaking existing
# installations. %08Xu%08Xv will be the new default, so use it for new
# installations.
#
pop3_uidl_format = %08Xv%08Xu
# POP3 logout format string:
# %t - number of TOP commands
# %p - number of bytes sent to client as a result of TOP command
# %r - number of RETR commands
# %b - number of bytes sent to client as a result of RETR command
# %d - number of deleted messages
# %m - number of messages (before deletion)
# %s - mailbox size in bytes (before deletion)
#pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
# Support for dynamically loadable plugins. mail_plugins is a space
separated
# list of plugins to load.
#mail_plugins =
#mail_plugin_dir = /usr/lib/dovecot/pop3
# Workarounds for various client bugs:
# outlook-no-nuls:
# Outlook and Outlook Express hang if mails contain NUL characters.
# This setting replaces them with 0x80 character.
# oe-ns-eoh:
# Outlook Express and Netscape Mail breaks if end of headers-line is
# missing. This option simply sends it if it's missing.
# The list is space-separated.
#pop3_client_workarounds =
}
auth default {
# Space separated list of wanted authentication mechanisms:
# plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi
mechanisms = plain login
passdb shadow {
}
userdb passwd {
}
}
[Attachment #3 (text/html)]
Well, I solved my own problem. It turns out that the RPM that comes with \
Mandriva 2007 is for 1.0rc07, which uses the old format instead of \
"mail_location".<br><br>---------- Forwarded message ----------<br><span \
class="gmail_quote">
From: <b class="gmail_sendername">hackhound</b> <<a \
href="mailto:hackhound@gmail.com">hackhound@gmail.com</a>><br>Date: Jan 30, 2007 \
12:24 PM<br>Subject: Re: [Dovecot] Dovecot 1.0 on a Mandriva 2007 box<br>To: <a \
href="mailto:dovecot@dovecot.org"> dovecot@dovecot.org</a><br><br></span><div><span \
class="e" id="q_11074405fc1ce167_0"><br><br><div><span class="gmail_quote">On \
1/30/07, <b class="gmail_sendername">Charles Marcus</b> <<a \
href="mailto:CMarcus@media-brokers.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> CMarcus@media-brokers.com</a>> \
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> hackhound wrote:<br>> I \
installed the RPM, and fought with it for days before realizing the<br>> packaged \
config file is incorrect. So I downloaded the latest tarball<br>> and \
used the sample dovecot.conf file. I was finally able to get <br>> \
dovecot to run as long as I leave the mail_location line commented out.<br>> If I \
uncomment the line dovecot complains that "mail_location" is an<br>> \
"unknown setting". What am I missing? <br><br>Well... it would \
help if you'd provide what is in your .conf file now...<br>maybe it is just a \
typo...<br><br>--<br><br>Best \
regards,<br><br>Charles<br></blockquote></div><br></span></div>## Dovecot \
configuration file <br><br>
protocols = pop3 pop3s<br>listen = *<br><br>#mail_location = \
mbox:~/mail:INBOX=/var/spool/mail/%u<br><br>#mail_debug = no<br><br>protocol pop3 \
{<br> # Login executable location.<br> login_executable = \
/usr/lib/dovecot/pop3-login <br><br> # POP3 executable location. See IMAP's \
mail_executable above for examples<br> # how this could be changed.<br> \
mail_executable = /usr/lib/dovecot/pop3<br><br> # Don't try to set mails \
non-recent or seen with POP3 sessions. This is <br> # mostly intended to reduce \
disk I/O. With maildir it doesn't move files<br> # from new/ to cur/, with \
mbox it doesn't write Status-header.<br> #pop3_no_flag_updates = \
no<br><br> # Support LAST command which exists in old POP3 specs, but has been \
removed <br> # from new ones. Some clients still wish to use this though. \
Enabling this<br> # makes RSET command clear all \Seen flags from \
messages.<br> #pop3_enable_last = no<br><br> # If mail has X-UIDL header, \
use it as the mail's UIDL. <br> #pop3_reuse_xuidl = no<br><br> # Keep \
the mailbox locked for the entire POP3 session.<br> #pop3_lock_session = \
no<br><br> # POP3 UIDL (unique mail identifier) format to use. You can use \
following<br> # variables: <br> #<br> # %v - Mailbox's \
IMAP UIDVALIDITY<br> # %u - Mail's IMAP UID<br> # %m - \
MD5 sum of the mailbox headers in hex (mbox only)<br> # %f - filename \
(maildir only)<br> #<br> # If you want UIDL compatibility with other POP3 \
servers, use: <br> # UW's \
ipop3d : %08Xv%08Xu<br> # \
Courier version 0 : %f<br> # Courier version 1 : \
%u<br> # Courier version 2 : %v-%u<br> # Cyrus \
(<= 2.1.3) : %u<br> # Cyrus (>= \
2.1.4) : %v.%u <br> # Older \
Dovecots : %v.%u<br> # \
tpop3d \
: %Mf<br> #<br> # Note that Outlook 2003 seems to have problems with \
%v.%u format which was<br> # Dovecot's default, so if you're building a \
new server it would be a good <br> # idea to change this. %08Xu%08Xv should be \
pretty fail-safe.<br> #<br> # NOTE: Nowadays this is required to be set \
explicitly, since the old<br> # default was bad but it couldn't be changed \
without breaking existing <br> # installations. %08Xu%08Xv will be the new \
default, so use it for new<br> # installations.<br> #<br> \
pop3_uidl_format = %08Xv%08Xu<br><br> # POP3 logout format string:<br> \
# %t - number of TOP commands<br> # %p - number of bytes sent to \
client as a result of TOP command <br> # %r - number of RETR \
commands<br> # %b - number of bytes sent to client as a result of RETR \
command<br> # %d - number of deleted messages<br> # %m - \
number of messages (before deletion)<br> # %s - mailbox size in bytes \
(before deletion) <br> #pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, \
size=%s<br><br> # Support for dynamically loadable plugins. mail_plugins is a \
space separated<br> # list of plugins to load.<br> #mail_plugins \
=<br> #mail_plugin_dir = /usr/lib/dovecot/pop3 <br><br> # Workarounds for \
various client bugs:<br> # outlook-no-nuls:<br> \
# Outlook and Outlook Express hang if mails contain NUL \
characters.<br> # This setting replaces them with 0x80 \
character.<br> # oe-ns-eoh: <br> # \
Outlook Express and Netscape Mail breaks if end of headers-line is<br> \
# missing. This option simply sends it if it's \
missing.<br> # The list is space-separated.<br> #pop3_client_workarounds \
=<br>} <br>
<br>auth default {<br> # Space separated list of wanted authentication \
mechanisms:<br> # plain login digest-md5 cram-md5 ntlm rpa apop \
anonymous gssapi<br> mechanisms = plain login<br> passdb shadow \
{<br> }<br> userdb passwd { <br> }<br>}<br><br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic