Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.136
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
dovecot /
wiki /
[ HOME SHELL ]
Name
Size
Permission
Action
ACL.txt
11.23
KB
-rw-r--r--
AixPluginsSupport.txt
5.29
KB
-rw-r--r--
AttachmentIndicator.txt
1.13
KB
-rw-r--r--
AuthDatabase.CheckPassword.txt
9.54
KB
-rw-r--r--
AuthDatabase.Dict.txt
10.55
KB
-rw-r--r--
AuthDatabase.LDAP.AuthBinds.tx...
3.28
KB
-rw-r--r--
AuthDatabase.LDAP.PasswordLook...
4.09
KB
-rw-r--r--
AuthDatabase.LDAP.Userdb.txt
6.92
KB
-rw-r--r--
AuthDatabase.LDAP.txt
2.86
KB
-rw-r--r--
AuthDatabase.Lua.txt
9.03
KB
-rw-r--r--
AuthDatabase.Passwd.txt
1.9
KB
-rw-r--r--
AuthDatabase.PasswdFile.txt
6.22
KB
-rw-r--r--
AuthDatabase.SQL.txt
8.53
KB
-rw-r--r--
AuthDatabase.VPopMail.txt
6.84
KB
-rw-r--r--
AuthDatabase.txt
820
B
-rw-r--r--
Authentication.Caching.txt
4.56
KB
-rw-r--r--
Authentication.Kerberos.txt
8.73
KB
-rw-r--r--
Authentication.MasterUsers.txt
10.96
KB
-rw-r--r--
Authentication.Mechanisms.Dige...
3.18
KB
-rw-r--r--
Authentication.Mechanisms.NTLM...
1.22
KB
-rw-r--r--
Authentication.Mechanisms.Winb...
1.48
KB
-rw-r--r--
Authentication.Mechanisms.txt
3.84
KB
-rw-r--r--
Authentication.MultipleDatabas...
3.59
KB
-rw-r--r--
Authentication.PasswordSchemes...
10.72
KB
-rw-r--r--
Authentication.Penalty.txt
1.72
KB
-rw-r--r--
Authentication.Policy.txt
9.31
KB
-rw-r--r--
Authentication.RestrictAccess....
2.76
KB
-rw-r--r--
Authentication.txt
1.77
KB
-rw-r--r--
BasicConfiguration.txt
6.24
KB
-rw-r--r--
Chrooting.txt
2.77
KB
-rw-r--r--
Clients.NegativeUIDs.txt
1.96
KB
-rw-r--r--
Clients.txt
5.48
KB
-rw-r--r--
CompilingSource.txt
13.52
KB
-rw-r--r--
ConfigFile.txt
10.7
KB
-rw-r--r--
Debugging.Authentication.txt
3.63
KB
-rw-r--r--
Debugging.ProcessTracing.txt
1.32
KB
-rw-r--r--
Debugging.Rawlog.txt
5.1
KB
-rw-r--r--
Debugging.Thunderbird.txt
2.12
KB
-rw-r--r--
Design.Arrays.txt
3.82
KB
-rw-r--r--
Design.AuthProcess.txt
16.13
KB
-rw-r--r--
Design.AuthProtocol.txt
8.31
KB
-rw-r--r--
Design.Buffers.txt
2.75
KB
-rw-r--r--
Design.Code.txt
10.01
KB
-rw-r--r--
Design.Dcrypt.txt
4.15
KB
-rw-r--r--
Design.DoveadmProtocol.HTTP.tx...
4.13
KB
-rw-r--r--
Design.DoveadmProtocol.txt
3.68
KB
-rw-r--r--
Design.Dsync.txt
4.94
KB
-rw-r--r--
Design.Events.txt
13.35
KB
-rw-r--r--
Design.Indexes.Cache.txt
6.11
KB
-rw-r--r--
Design.Indexes.MailIndexApi.tx...
2.07
KB
-rw-r--r--
Design.Indexes.MainIndex.txt
10.34
KB
-rw-r--r--
Design.Indexes.TransactionLog....
11.45
KB
-rw-r--r--
Design.Indexes.txt
2.99
KB
-rw-r--r--
Design.InputStreams.txt
10.71
KB
-rw-r--r--
Design.Lua.txt
6.48
KB
-rw-r--r--
Design.MailProcess.txt
215
B
-rw-r--r--
Design.Memory.txt
9.25
KB
-rw-r--r--
Design.OutputStreams.txt
4.81
KB
-rw-r--r--
Design.ParameterForwarding.txt
2.17
KB
-rw-r--r--
Design.Plugins.txt
2.44
KB
-rw-r--r--
Design.Processes.txt
6.59
KB
-rw-r--r--
Design.Storage.ErrorHandling.t...
3.03
KB
-rw-r--r--
Design.Storage.Mail.txt
4.82
KB
-rw-r--r--
Design.Storage.MailNamespace.t...
3.93
KB
-rw-r--r--
Design.Storage.MailStorage.txt
2.07
KB
-rw-r--r--
Design.Storage.MailUser.txt
1.17
KB
-rw-r--r--
Design.Storage.Mailbox.Save.tx...
2.69
KB
-rw-r--r--
Design.Storage.Mailbox.Search....
4.44
KB
-rw-r--r--
Design.Storage.Mailbox.Sync.tx...
6.11
KB
-rw-r--r--
Design.Storage.Mailbox.Transac...
2.83
KB
-rw-r--r--
Design.Storage.Mailbox.txt
1.61
KB
-rw-r--r--
Design.Storage.MailboxList.txt
7.66
KB
-rw-r--r--
Design.Storage.Plugins.txt
5.24
KB
-rw-r--r--
Design.Strings.txt
3.07
KB
-rw-r--r--
Design.txt
2.42
KB
-rw-r--r--
Dict.txt
1.6
KB
-rw-r--r--
Dictionary.txt
9.35
KB
-rw-r--r--
Director.txt
13.14
KB
-rw-r--r--
DomainLost.txt
2.45
KB
-rw-r--r--
Errors.ChgrpNoPerm.txt
1.4
KB
-rw-r--r--
Events.txt
6.68
KB
-rw-r--r--
FindMailLocation.txt
2.6
KB
-rw-r--r--
FinishBasicConfiguration.txt
454
B
-rw-r--r--
HAProxy.txt
3.56
KB
-rw-r--r--
HowTo.AntispamWithSieve.txt
8.8
KB
-rw-r--r--
HowTo.EximAndDovecotSASL.txt
1.47
KB
-rw-r--r--
HowTo.ImapcProxy.txt
6.05
KB
-rw-r--r--
HowTo.PopBSMTPAndDovecot.txt
14.19
KB
-rw-r--r--
HowTo.PopRelay.txt
5.24
KB
-rw-r--r--
HowTo.PostfixAndDovecotSASL.tx...
4.02
KB
-rw-r--r--
HowTo.Rootless.txt
3.79
KB
-rw-r--r--
HowTo.SimpleVirtualInstall.txt
5.93
KB
-rw-r--r--
HowTo.WriteConfiguration.txt
1.54
KB
-rw-r--r--
HowTo.txt
4.49
KB
-rw-r--r--
IMAPServer.Hibernation.txt
1.61
KB
-rw-r--r--
IMAPServer.txt
623
B
-rw-r--r--
ImapMetadata.txt
842
B
-rw-r--r--
IndexFiles.txt
8.5
KB
-rw-r--r--
LDA.Exim.txt
5.43
KB
-rw-r--r--
LDA.Indexing.txt
2.05
KB
-rw-r--r--
LDA.Postfix.txt
10.85
KB
-rw-r--r--
LDA.Qmail.txt
1.15
KB
-rw-r--r--
LDA.Sendmail.txt
4.24
KB
-rw-r--r--
LDA.txt
12.6
KB
-rw-r--r--
LMTP.Exim.txt
5.24
KB
-rw-r--r--
LMTP.txt
4.15
KB
-rw-r--r--
Logging.txt
7.03
KB
-rw-r--r--
LoginProcess.txt
4.93
KB
-rw-r--r--
MDA.txt
439
B
-rw-r--r--
MTA.txt
2.56
KB
-rw-r--r--
MailLocation.LocalDisk.txt
1.77
KB
-rw-r--r--
MailLocation.Maildir.txt
6.08
KB
-rw-r--r--
MailLocation.SharedDisk.txt
2.98
KB
-rw-r--r--
MailLocation.dbox.txt
3.56
KB
-rw-r--r--
MailLocation.mbox.txt
8.5
KB
-rw-r--r--
MailLocation.txt
13.83
KB
-rw-r--r--
MailboxFormat.Cydir.txt
868
B
-rw-r--r--
MailboxFormat.MH.txt
2.61
KB
-rw-r--r--
MailboxFormat.Maildir.txt
18.67
KB
-rw-r--r--
MailboxFormat.dbox.txt
11.63
KB
-rw-r--r--
MailboxFormat.imapc.txt
6.08
KB
-rw-r--r--
MailboxFormat.mailstore.txt
678
B
-rw-r--r--
MailboxFormat.mbox.txt
13.45
KB
-rw-r--r--
MailboxFormat.mbx.txt
1.08
KB
-rw-r--r--
MailboxFormat.txt
13.69
KB
-rw-r--r--
MailboxSettings.txt
3.26
KB
-rw-r--r--
MboxChildFolders.txt
9.19
KB
-rw-r--r--
MboxLocking.txt
2.56
KB
-rw-r--r--
MboxProblems.txt
6
KB
-rw-r--r--
Migration.BincIMAP.txt
8.86
KB
-rw-r--r--
Migration.Courier.txt
3.48
KB
-rw-r--r--
Migration.Cyrus.txt
3.5
KB
-rw-r--r--
Migration.Dsync.txt
5.94
KB
-rw-r--r--
Migration.Gmail.txt
3.89
KB
-rw-r--r--
Migration.Linuxconf.txt
2.6
KB
-rw-r--r--
Migration.MailFormat.txt
10.98
KB
-rw-r--r--
Migration.Online.txt
3.08
KB
-rw-r--r--
Migration.Teapop.txt
1.96
KB
-rw-r--r--
Migration.UW.txt
5.34
KB
-rw-r--r--
Migration.Vm-pop3d.txt
1.75
KB
-rw-r--r--
Migration.txt
7.27
KB
-rw-r--r--
MissingMailboxes.txt
1.95
KB
-rw-r--r--
Mountpoints.txt
2.11
KB
-rw-r--r--
NFS.txt
6.9
KB
-rw-r--r--
Namespaces.txt
13.47
KB
-rw-r--r--
OSCompatibility.txt
1.6
KB
-rw-r--r--
POP3Server.txt
7.19
KB
-rw-r--r--
PasswordDatabase.BSDAuth.txt
205
B
-rw-r--r--
PasswordDatabase.ExtraFields.A...
1.63
KB
-rw-r--r--
PasswordDatabase.ExtraFields.H...
2.76
KB
-rw-r--r--
PasswordDatabase.ExtraFields.N...
495
B
-rw-r--r--
PasswordDatabase.ExtraFields.N...
989
B
-rw-r--r--
PasswordDatabase.ExtraFields.P...
13.02
KB
-rw-r--r--
PasswordDatabase.ExtraFields.U...
1.03
KB
-rw-r--r--
PasswordDatabase.ExtraFields.t...
4.57
KB
-rw-r--r--
PasswordDatabase.IMAP.txt
1.01
KB
-rw-r--r--
PasswordDatabase.PAM.txt
8.4
KB
-rw-r--r--
PasswordDatabase.Shadow.txt
1.19
KB
-rw-r--r--
PasswordDatabase.Static.txt
869
B
-rw-r--r--
PasswordDatabase.oauth2.txt
5.92
KB
-rw-r--r--
PasswordDatabase.txt
8.45
KB
-rw-r--r--
PerformanceTuning.txt
3.24
KB
-rw-r--r--
Pigeonhole.Installation.txt
4.81
KB
-rw-r--r--
Pigeonhole.ManageSieve.Clients...
3.14
KB
-rw-r--r--
Pigeonhole.ManageSieve.Configu...
11.23
KB
-rw-r--r--
Pigeonhole.ManageSieve.Install...
59
B
-rw-r--r--
Pigeonhole.ManageSieve.Trouble...
9.49
KB
-rw-r--r--
Pigeonhole.ManageSieve.txt
1.26
KB
-rw-r--r--
Pigeonhole.Sieve.Configuration...
7.22
KB
-rw-r--r--
Pigeonhole.Sieve.Configuration...
3.54
KB
-rw-r--r--
Pigeonhole.Sieve.Configuration...
4.78
KB
-rw-r--r--
Pigeonhole.Sieve.Configuration...
29.14
KB
-rw-r--r--
Pigeonhole.Sieve.Examples.txt
15.15
KB
-rw-r--r--
Pigeonhole.Sieve.Extensions.Du...
1.98
KB
-rw-r--r--
Pigeonhole.Sieve.Extensions.Ed...
2.35
KB
-rw-r--r--
Pigeonhole.Sieve.Extensions.In...
1.11
KB
-rw-r--r--
Pigeonhole.Sieve.Extensions.Sp...
5.66
KB
-rw-r--r--
Pigeonhole.Sieve.Extensions.Va...
5.01
KB
-rw-r--r--
Pigeonhole.Sieve.Extensions.Va...
1.07
KB
-rw-r--r--
Pigeonhole.Sieve.Extensions.tx...
569
B
-rw-r--r--
Pigeonhole.Sieve.Plugins.Extda...
5.56
KB
-rw-r--r--
Pigeonhole.Sieve.Plugins.Extpr...
12.88
KB
-rw-r--r--
Pigeonhole.Sieve.Plugins.IMAPF...
2.28
KB
-rw-r--r--
Pigeonhole.Sieve.Plugins.IMAPS...
5.43
KB
-rw-r--r--
Pigeonhole.Sieve.Plugins.Pipe....
6.73
KB
-rw-r--r--
Pigeonhole.Sieve.Plugins.txt
2.49
KB
-rw-r--r--
Pigeonhole.Sieve.Troubleshooti...
6.43
KB
-rw-r--r--
Pigeonhole.Sieve.Usage.txt
6.21
KB
-rw-r--r--
Pigeonhole.Sieve.txt
30.59
KB
-rw-r--r--
Pigeonhole.txt
1.8
KB
-rw-r--r--
Plugins.Apparmor.txt
1.15
KB
-rw-r--r--
Plugins.Autocreate.txt
902
B
-rw-r--r--
Plugins.CharsetAlias.txt
712
B
-rw-r--r--
Plugins.Compress.txt
475
B
-rw-r--r--
Plugins.Expire.txt
13.44
KB
-rw-r--r--
Plugins.FTS.Lucene.txt
3.01
KB
-rw-r--r--
Plugins.FTS.Solr.txt
12.3
KB
-rw-r--r--
Plugins.FTS.Squat.txt
5.92
KB
-rw-r--r--
Plugins.FTS.txt
4.31
KB
-rw-r--r--
Plugins.LastLogin.txt
1.67
KB
-rw-r--r--
Plugins.Lazyexpunge.txt
6.53
KB
-rw-r--r--
Plugins.Listescape.txt
2.35
KB
-rw-r--r--
Plugins.MailCrypt.txt
18.14
KB
-rw-r--r--
Plugins.MailFilter.txt
2.56
KB
-rw-r--r--
Plugins.MailLog.txt
1.82
KB
-rw-r--r--
Plugins.MailboxAlias.txt
1.76
KB
-rw-r--r--
Plugins.Notify.txt
329
B
-rw-r--r--
Plugins.NotifyStatus.txt
2.09
KB
-rw-r--r--
Plugins.PushNotification.txt
16.19
KB
-rw-r--r--
Plugins.QuotaClone.txt
1.49
KB
-rw-r--r--
Plugins.Snarf.txt
1.88
KB
-rw-r--r--
Plugins.Stats.txt
59
B
-rw-r--r--
Plugins.Trash.txt
1.5
KB
-rw-r--r--
Plugins.VarExpandCrypt.txt
1.6
KB
-rw-r--r--
Plugins.Virtual.txt
9.96
KB
-rw-r--r--
Plugins.Welcome.txt
812
B
-rw-r--r--
Plugins.Zlib.txt
4.6
KB
-rw-r--r--
Plugins.txt
4.99
KB
-rw-r--r--
PostLoginScripting.txt
8.62
KB
-rw-r--r--
PreAuth.txt
932
B
-rw-r--r--
QuickConfiguration.txt
6.55
KB
-rw-r--r--
Quota.Configuration.txt
18.49
KB
-rw-r--r--
Quota.Count.txt
1.56
KB
-rw-r--r--
Quota.Dict.txt
6.98
KB
-rw-r--r--
Quota.Dirsize.txt
695
B
-rw-r--r--
Quota.FS.txt
4.37
KB
-rw-r--r--
Quota.Maildir.txt
2.29
KB
-rw-r--r--
Quota.txt
4.78
KB
-rw-r--r--
Replication.txt
15.78
KB
-rw-r--r--
RunningDovecot.txt
5.85
KB
-rw-r--r--
SSL.CertificateClientImporting...
1.55
KB
-rw-r--r--
SSL.CertificateCreation.txt
4.69
KB
-rw-r--r--
SSL.DovecotConfiguration.txt
21.3
KB
-rw-r--r--
SSL.SNIClientSupport.txt
696
B
-rw-r--r--
SSL.txt
3.41
KB
-rw-r--r--
Sasl.txt
1.05
KB
-rw-r--r--
SecurityTuning.txt
942
B
-rw-r--r--
Services.txt
19.43
KB
-rw-r--r--
SharedMailboxes.ClusterSetup.t...
1.98
KB
-rw-r--r--
SharedMailboxes.Permissions.tx...
8.06
KB
-rw-r--r--
SharedMailboxes.Public.txt
8.13
KB
-rw-r--r--
SharedMailboxes.Shared.txt
10.53
KB
-rw-r--r--
SharedMailboxes.Symlinks.txt
1.72
KB
-rw-r--r--
SharedMailboxes.txt
750
B
-rw-r--r--
SocketUnavailable.txt
3.71
KB
-rw-r--r--
Statistics.Old.txt
8.54
KB
-rw-r--r--
Statistics.txt
3.73
KB
-rw-r--r--
Submission.txt
8.5
KB
-rw-r--r--
SystemUsers.txt
4.99
KB
-rw-r--r--
TestInstallation.txt
8.61
KB
-rw-r--r--
TestPop3Installation.txt
4.76
KB
-rw-r--r--
TimeMovedBackwards.txt
3.8
KB
-rw-r--r--
Timeouts.txt
2.85
KB
-rw-r--r--
Upgrading.1.0.txt
4.23
KB
-rw-r--r--
Upgrading.1.1.txt
4.33
KB
-rw-r--r--
Upgrading.1.2.txt
2.57
KB
-rw-r--r--
Upgrading.2.0.txt
4.69
KB
-rw-r--r--
Upgrading.2.1.txt
1.87
KB
-rw-r--r--
Upgrading.2.2.txt
2.17
KB
-rw-r--r--
Upgrading.2.3.txt
11.98
KB
-rw-r--r--
Upgrading.txt
1.01
KB
-rw-r--r--
UserDatabase.ExtraFields.txt
4.6
KB
-rw-r--r--
UserDatabase.NSS.txt
1.23
KB
-rw-r--r--
UserDatabase.Prefetch.txt
2.72
KB
-rw-r--r--
UserDatabase.Static.txt
1.58
KB
-rw-r--r--
UserDatabase.txt
5.35
KB
-rw-r--r--
UserIds.txt
6.36
KB
-rw-r--r--
Variables.txt
22.39
KB
-rw-r--r--
VirtualUsers.Home.txt
3.5
KB
-rw-r--r--
VirtualUsers.txt
5.58
KB
-rw-r--r--
WhyDoesItNotWork.txt
5.64
KB
-rw-r--r--
maildrop.txt
3.44
KB
-rw-r--r--
mutt.txt
3.09
KB
-rw-r--r--
uw2dovecot.sh.txt
498
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Dictionary.txt
Dovecot Dictionaries ==================== Dovecot's lib-dict can be used to access simple key-value databases. This is used by for example <quota-dict> [Quota.Dict.txt], <passdb&userdb> [AuthDatabase.Dict.txt], <last-login plugin> [Plugins.LastLogin.txt], <METADATA> [ImapMetadata.txt], etc. The dictionaries can be accessed either directly by the mail processes or they can be accessed via <dict proxy> [Dict.txt] processes. Currently supported dict backends are: * Flat files * FS (lib-fs wrapper) * Memcached (ASCII protocol) * Memcached (Binary protocol) * Redis * Proxy * SQL * LDAP (read only) Flat Files ---------- ---%<------------------------------------------------------------------------- file:<path> ---%<------------------------------------------------------------------------- The file will simply contain all the keys that are used. Not very efficient for large databases, but good for small ones such as a single user's quota. FS (v2.2.11+) ------------- ---%<------------------------------------------------------------------------- fs:<driver>:<driver args> ---%<------------------------------------------------------------------------- This is a wrapper for lib-fs, which most importantly has the "posix" backend. So using: ---%<------------------------------------------------------------------------- fs:posix:prefix=/var/lib/dovecot/dict ---%<------------------------------------------------------------------------- Would create a separate file under /var/lib/dovecot/dict for each key. Memcached (Binary Protocol) (v2.2.9+) ------------------------------------- This driver uses the "new" Memcache binary protocol. https://code.google.com/p/memcached/wiki/MemcacheBinaryProtocol ---%<------------------------------------------------------------------------- memcached:param=value:param2=value2:... ---%<------------------------------------------------------------------------- Supported parameters are: * host: Memcached server host (default: 127.0.0.1) * port: Memcached server port (default: 11211) * prefix: Prefix to add to all keys (default: empty) * timeout_msecs: Abort lookups after specified number of milliseconds (default: 30000) Memcached (ASCII Protocol) (v2.2.9+) ------------------------------------ This driver uses the "legacy" Memcache ASCII protocol. https://github.com/memcached/memcached/blob/master/doc/protocol.txt ---%<------------------------------------------------------------------------- memcached_ascii:param=value:param2=value2:... ---%<------------------------------------------------------------------------- Supported parameters are: * host: Memcached server host (default: 127.0.0.1) * port: Memcached server port (default: 11211) * prefix: Prefix to add to all keys (default: empty) * timeout_msecs: Abort lookups after specified number of milliseconds (default: 30000) Redis (v2.2.9+) --------------- ---%<------------------------------------------------------------------------- redis:param=value:param2=value2:... ---%<------------------------------------------------------------------------- Supported parameters are: * host: Redis server host (default: 127.0.0.1) * port: Redis server port (default: 6379) * prefix: Prefix to add to all keys (default: empty) * db: Database number (default: 0) * expire_secs=<n>: Set expiration value to all the keys * timeout_msecs: Abort lookups after specified number of milliseconds (default: 30000) Proxy ----- ---%<------------------------------------------------------------------------- proxy:[<dict path>]:<destination dict> ---%<------------------------------------------------------------------------- Proxying is used to perform all dictionary accessing via the dict processes. (The dict processes exist only if dict proxying is used.) This is especially useful with backends where their initialization is relatively expensive, such as SQL. The dict processes will then perform also connection pooling. If <dict path> is specified, it points to the socket where the dict server is answering. The default is to use $base_dir/dict. Usually this is changed to "dict-async" if the dict backend support asynchronous lookups (e.g. ldap, pgsql, cassandra). The dict-async service allows more than one client, so this configuration prevents creating unnecessarily many dict processes. The <destination dict> contains the dict name in the dict { .. } settings. For example:'proxy:dict-async:quota' See <Dict.txt> for more information about the dict server. SQL --- ---%<------------------------------------------------------------------------- <sql driver>:<path to dict-sql config> ---%<------------------------------------------------------------------------- The <sql driver> contains the SQL driver name, such as "mysql", "pgsql", "sqlite" or "cassandra". The dict-sql config file consists of SQL server configuration and mapping of keys to SQL tables/fields. SQL Connect String ------------------ ---%<------------------------------------------------------------------------- connect = host=localhost dbname=mails user=sqluser password=sqlpass ---%<------------------------------------------------------------------------- The connect setting is exactly the same as used for <SQL passdb/userdb> [AuthDatabase.SQL.txt]. See 'example-config/dovecot-sql.conf.ext' for detailed information. SQL Mapping ----------- SQL mapping is done with a dict key pattern and fields. When a dict lookup or update is done, Dovecot goes through all the maps and uses the first one whose pattern matches the dict key. For example when using dict for a per-user quota value the map looks like: ---%<------------------------------------------------------------------------- map { pattern = priv/quota/storage table = quota username_field = username value_field = quota_bytes } ---%<------------------------------------------------------------------------- This means that: * The dict key must match exactly "priv/quota/storage". The dict keys are hardcoded in the Dovecot code, so depending on what functionality you're configuring you need to know the available dict keys used it. * This is a private dict key ("priv/" prefix), which means that there must be a username_field. The username_field is assumed to be (at least part of) the primary key. In this example we don't have any other primary keys. * With MySQL the above map translates to SQL queries: * 'SELECT quota_bytes FROM quota WHERE username = '$username_field'' * 'INSERT INTO quota (username, quota_bytes) VALUES ('$username_field', '$value') ON DUPLICATE KEY UPDATE quota_bytes='$value'' You can also access multiple SQL fields. For example acl_shared_dict can contain: ---%<------------------------------------------------------------------------- map { pattern = shared/shared-boxes/user/$to/$from table = user_shares value_field = dummy fields { from_user = $from to_user = $to } } ---%<------------------------------------------------------------------------- * The acl_shared_dict always uses "1" as the value, so here the value_field is called "dummy". * The SQL from_user and to_user fields are the interesting ones. Typically the extra fields would be part of the primary key. * With MySQL the above map translates to SQL queries: * 'SELECT dummy FROM user_shares WHERE from_user = '$from' AND to_user = '$to'' * 'INSERT INTO user_shares (from_user, to_user, dummy) VALUES ('$from', '$to', '$value') ON DUPLICATE KEY UPDATE dummy='$value'' LDAP (v2.2.24+) --------------- LDAP support is very similar to SQL support, but there is no write support. Configuration ------------- ---%<------------------------------------------------------------------------- dict { somedict = ldap:/path/to/dovecot-ldap-dict.conf.ext } ---%<------------------------------------------------------------------------- Then in ext file put ---%<------------------------------------------------------------------------- uri = ldap://hostname bind_dn = optional bind dn password = optional password timeout = optional timeout debug = 0 or 1 (optional, as well) tls = yes|try|no (default is try) ---%<------------------------------------------------------------------------- * uri - LDAP connection URI as expected by OpenLDAP. * bind_dn - DN or upn to use for binding * password - password to use, only SIMPLE auth is supported at the moment * timeout - How long to wait for reply, default is 30 seconds * debug - 0 off, 1 on, will produce metric ton of output * tls - yes = require either ldaps or successful start TLS, try = send start TLS if necessary, no = do not send start TLS To map some key to a search do ---%<------------------------------------------------------------------------- map { pattern = priv/test/mail filter = (mail=*) # the () is required base_dn = ou=container,dc=domain username_attribute = uid # default is cn value_attribute = mail } ---%<------------------------------------------------------------------------- To do some more complex search ---%<------------------------------------------------------------------------- map { pattern = priv/test/mail/$location filter = (&(mail=*)(location=%{location}) # the () is required base_dn = ou=container,dc=domain username_attribute = uid # default is cn value_attribute = mail fields { location=$location } } ---%<------------------------------------------------------------------------- (This file was created from the wiki on 2019-06-19 12:42)
Close