Gentoo Archives: gentoo-user

From: Michael Sullivan <msulli1355@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Need dovecot configuration help
Date: Thu, 26 May 2011 19:07:24
Message-Id: 4DDEA458.1070807@gmail.com
1 A couple of days ago I applied via etc-update a new init script and conf
2 file for dovecot. Now I cannot get local LAN mail from it. I was
3 previously able to. My current dovecot version info is:
4
5 carter ~ # emerge -pv dovecot
6
7 These are the packages that would be merged, in order:
8
9 Calculating dependencies... done!
10 [ebuild R ] net-mail/dovecot-2.0.11 USE="berkdb bzip2 doc ipv6 ldap
11 maildir mysql pam ssl zlib -caps -cydir -kerberos -managesieve -mbox
12 -mdbox -postgres -sdbox -sieve -sqlite -suid -vpopmail" 0 kB
13
14 Total: 1 package (1 reinstall), Size of downloads: 0 kB
15
16 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
17 * Use eselect news to read news items.
18
19 The /etc/dovecot/dovecot.conf file is as such:
20
21 carter ~ # cat /etc/dovecot/dovecot.conf
22 ## Dovecot configuration file
23
24 # If you're in a hurry, see http://wiki.dovecot.org/QuickConfiguration
25
26 # "doveconf -n" command gives a clean output of the changed settings. Use it
27 # instead of copy&pasting files when posting to the Dovecot mailing list.
28
29 # '#' character and everything after it is treated as comments. Extra spaces
30 # and tabs are ignored. If you want to use either of these explicitly,
31 put the
32 # value inside quotes, eg.: key = "# char and trailing whitespace "
33
34 # Default values are shown for each setting, it's not required to uncomment
35 # those. These are exceptions to this though: No sections (e.g.
36 namespace {})
37 # or plugin settings are added by default, they're listed only as examples.
38 # Paths are also just examples with the real defaults being based on
39 configure
40 # options. The paths listed here are for configure --prefix=/usr
41 # --sysconfdir=/etc --localstatedir=/var
42
43 # Protocols we want to be serving.
44 protocols = imap pop3 lmtp
45
46 # A comma separated list of IPs or hosts where to listen in for
47 connections.
48 # "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces.
49 # If you want to specify non-default ports or anything more complex,
50 # edit conf.d/master.conf.
51 #listen = *, ::
52
53 # Base directory where to store runtime data.
54 base_dir = /var/run/dovecot/
55
56 # Greeting message for clients.
57 login_greeting = Dovecot ready.
58
59 # Space separated list of trusted network ranges. Connections from these
60 # IPs are allowed to override their IP addresses and ports (for logging and
61 # for authentication checks). disable_plaintext_auth is also ignored for
62 # these networks. Typically you'd specify your IMAP proxy servers here.
63 login_trusted_networks = 192.168.2.2 192.168.2.3 192.168.2.4
64
65 # Sepace separated list of login access check sockets (e.g. tcpwrap)
66 #login_access_sockets =
67
68 # Show more verbose process titles (in ps). Currently shows user name and
69 # IP address. Useful for seeing who are actually using the IMAP processes
70 # (eg. shared mailboxes or if same uid is used for multiple accounts).
71 #verbose_proctitle = no
72
73 # Should all processes be killed when Dovecot master process shuts down.
74 # Setting this to "no" means that Dovecot can be upgraded without
75 # forcing existing client connections to close (although that could also be
76 # a problem if the upgrade is e.g. because of a security fix).
77 #shutdown_clients = yes
78
79 # If non-zero, run mail commands via this many connections to doveadm
80 server,
81 # instead of running them directly in the same process.
82 #doveadm_worker_count = 0
83 # UNIX socket or host:port used for connecting to doveadm server
84 #doveadm_socket_path = doveadm-server
85
86 # Space separated list of environment variables that are preserved on
87 Dovecot
88 # startup and passed down to all of its child processes. You can also give
89 # key=value pairs to always set specific settings.
90 #import_environment = TZ
91
92 ##
93 ## Dictionary server settings
94 ##
95
96 # Dictionary can be used to store key=value lists. This is used by several
97 # plugins. The dictionary can be accessed either directly or though a
98 # dictionary server. The following dict block maps dictionary names to URIs
99 # when the server is used. These can then be referenced using URIs in format
100 # "proxy::<name>".
101
102 dict {
103 #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
104 #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext
105 }
106
107 # Most of the actual configuration gets included below. The filenames are
108 # first sorted by their ASCII value and parsed in that order. The
109 00-prefixes
110 # in filenames are intended to make it easier to understand the ordering.
111 !include conf.d/*.conf
112
113 # A config file can also tried to be included without giving an error if
114 # it's not found:
115 !include_try /etc/dovecot/local.conf
116
117 The dovecot server is on 192.168.2.2, and I am trying to connect from
118 192.168.2.3. Please help!

Replies

Subject Author
Re: [gentoo-user] Need dovecot configuration help Jarry <mr.jarry@×××××.com>
Re: [gentoo-user] Need dovecot configuration help Todd Goodman <tsg@×××××××××.net>