[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.&nbsp; It turns out that the RPM that comes with \
Mandriva 2007 is for 1.0rc07, which uses the old format instead of \
&quot;mail_location&quot;.<br><br>---------- Forwarded message ----------<br><span \
                class="gmail_quote">
From: <b class="gmail_sendername">hackhound</b> &lt;<a \
href="mailto:hackhound@gmail.com">hackhound@gmail.com</a>&gt;<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> &lt;<a \
href="mailto:CMarcus@media-brokers.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> CMarcus@media-brokers.com</a>&gt; \
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>&gt; I \
installed the RPM, and fought with it for days before realizing the<br>&gt; packaged \
config file is incorrect.&nbsp;&nbsp;So I downloaded the latest tarball<br>&gt; and \
used the sample dovecot.conf file.&nbsp;&nbsp;I was finally able to get <br>&gt; \
dovecot to run as long as I leave the mail_location line commented out.<br>&gt; If I \
uncomment the line dovecot complains that &quot;mail_location&quot; is an<br>&gt; \
&quot;unknown setting&quot;.&nbsp;&nbsp;What am I missing? <br><br>Well... it would \
help if you&#39;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>&nbsp; # Login executable location.<br>&nbsp; login_executable = \
/usr/lib/dovecot/pop3-login <br><br>&nbsp; # POP3 executable location. See IMAP&#39;s \
mail_executable above for examples<br>&nbsp; # how this could be changed.<br>&nbsp; \
mail_executable = /usr/lib/dovecot/pop3<br><br>&nbsp; # Don&#39;t try to set mails \
non-recent or seen with POP3 sessions. This is <br>&nbsp; # mostly intended to reduce \
disk I/O. With maildir it doesn&#39;t move files<br>&nbsp; # from new/ to cur/, with \
mbox it doesn&#39;t write Status-header.<br>&nbsp; #pop3_no_flag_updates = \
no<br><br>&nbsp; # Support LAST command which exists in old POP3 specs, but has been \
removed <br>&nbsp; # from new ones. Some clients still wish to use this though. \
Enabling this<br>&nbsp; # makes RSET command clear all \Seen flags from \
messages.<br>&nbsp; #pop3_enable_last = no<br><br>&nbsp; # If mail has X-UIDL header, \
use it as the mail&#39;s UIDL. <br>&nbsp; #pop3_reuse_xuidl = no<br><br>&nbsp; # Keep \
the mailbox locked for the entire POP3 session.<br>&nbsp; #pop3_lock_session = \
no<br><br>&nbsp; # POP3 UIDL (unique mail identifier) format to use. You can use \
following<br>&nbsp; # variables: <br>&nbsp; #<br>&nbsp; #&nbsp; %v - Mailbox&#39;s \
IMAP UIDVALIDITY<br>&nbsp; #&nbsp; %u - Mail&#39;s IMAP UID<br>&nbsp; #&nbsp; %m - \
MD5 sum of the mailbox headers in hex (mbox only)<br>&nbsp; #&nbsp; %f - filename \
(maildir only)<br>&nbsp; #<br>&nbsp; # If you want UIDL compatibility with other POP3 \
servers, use: <br>&nbsp; #&nbsp; UW&#39;s \
ipop3d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : %08Xv%08Xu<br>&nbsp; #&nbsp; \
Courier version 0&nbsp;&nbsp; : %f<br>&nbsp; #&nbsp; Courier version 1&nbsp;&nbsp; : \
%u<br>&nbsp; #&nbsp; Courier version 2&nbsp;&nbsp; : %v-%u<br>&nbsp; #&nbsp; Cyrus \
(&lt;= 2.1.3)&nbsp;&nbsp;&nbsp; : %u<br>&nbsp; #&nbsp; Cyrus (&gt;= \
2.1.4)&nbsp;&nbsp;&nbsp; : %v.%u <br>&nbsp; #&nbsp; Older \
Dovecots&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : %v.%u<br>&nbsp; #&nbsp; \
tpop3d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
: %Mf<br>&nbsp; #<br>&nbsp; # Note that Outlook 2003 seems to have problems with \
%v.%u format which was<br>&nbsp; # Dovecot&#39;s default, so if you&#39;re building a \
new server it would be a good <br>&nbsp; # idea to change this. %08Xu%08Xv should be \
pretty fail-safe.<br>&nbsp; #<br>&nbsp; # NOTE: Nowadays this is required to be set \
explicitly, since the old<br>&nbsp; # default was bad but it couldn&#39;t be changed \
without breaking existing <br>&nbsp; # installations. %08Xu%08Xv will be the new \
default, so use it for new<br>&nbsp; # installations.<br>&nbsp; #<br>&nbsp; \
pop3_uidl_format = %08Xv%08Xu<br><br>&nbsp; # POP3 logout format string:<br>&nbsp; \
#&nbsp; %t - number of TOP commands<br>&nbsp; #&nbsp; %p - number of bytes sent to \
client as a result of TOP command <br>&nbsp; #&nbsp; %r - number of RETR \
commands<br>&nbsp; #&nbsp; %b - number of bytes sent to client as a result of RETR \
command<br>&nbsp; #&nbsp; %d - number of deleted messages<br>&nbsp; #&nbsp; %m - \
number of messages (before deletion)<br>&nbsp; #&nbsp; %s - mailbox size in bytes \
(before deletion) <br>&nbsp; #pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, \
size=%s<br><br>&nbsp; # Support for dynamically loadable plugins. mail_plugins is a \
space separated<br>&nbsp; # list of plugins to load.<br>&nbsp; #mail_plugins \
=<br>&nbsp; #mail_plugin_dir = /usr/lib/dovecot/pop3 <br><br>&nbsp; # Workarounds for \
various client bugs:<br>&nbsp; #&nbsp;&nbsp; outlook-no-nuls:<br>&nbsp; \
#&nbsp;&nbsp;&nbsp;&nbsp; Outlook and Outlook Express hang if mails contain NUL \
characters.<br>&nbsp; #&nbsp;&nbsp;&nbsp;&nbsp; This setting replaces them with 0x80 \
character.<br>&nbsp; #&nbsp;&nbsp; oe-ns-eoh: <br>&nbsp; #&nbsp;&nbsp;&nbsp;&nbsp; \
Outlook Express and Netscape Mail breaks if end of headers-line is<br>&nbsp; \
#&nbsp;&nbsp;&nbsp;&nbsp; missing. This option simply sends it if it&#39;s \
missing.<br>&nbsp; # The list is space-separated.<br>&nbsp; #pop3_client_workarounds \
=<br>} <br>
<br>auth default {<br>&nbsp; # Space separated list of wanted authentication \
mechanisms:<br>&nbsp; #&nbsp;&nbsp; plain login digest-md5 cram-md5 ntlm rpa apop \
anonymous gssapi<br>&nbsp; mechanisms = plain login<br>&nbsp;&nbsp; passdb shadow \
{<br>&nbsp; }<br>&nbsp; userdb passwd { <br>&nbsp; }<br>}<br><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic