Linux server.kiran-academy.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
: 194.233.91.196 | : 216.73.216.216
Cant Read [ /etc/named.conf ]
7.4.32
finalho
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-2.2.36 /
wiki /
[ HOME SHELL ]
Name
Size
Permission
Action
ACL.txt
11.11
KB
-rw-r--r--
AixPluginsSupport.txt
5.29
KB
-rw-r--r--
AttachmentIndicator.txt
1.12
KB
-rw-r--r--
AuthDatabase.CheckPassword.txt
9.44
KB
-rw-r--r--
AuthDatabase.Dict.txt
7.42
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
6.17
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.35
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
11.68
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...
9.72
KB
-rw-r--r--
Authentication.Penalty.txt
1.72
KB
-rw-r--r--
Authentication.Policy.txt
7.25
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
4.29
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.1
KB
-rw-r--r--
Design.DoveadmProtocol.HTTP.tx...
4.01
KB
-rw-r--r--
Design.DoveadmProtocol.txt
3.51
KB
-rw-r--r--
Design.Dsync.txt
4.94
KB
-rw-r--r--
Design.Events.txt
89
B
-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
1.04
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.75
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.25
KB
-rw-r--r--
Dict.txt
1.6
KB
-rw-r--r--
Dictionary.txt
9.31
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--
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.6
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.75
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.12
KB
-rw-r--r--
IMAPServer.Hibernation.txt
1.54
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
9.5
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.1
KB
-rw-r--r--
Logging.txt
6.86
KB
-rw-r--r--
LoginProcess.txt
4.8
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.66
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.45
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.86
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...
12.77
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
4.32
KB
-rw-r--r--
PasswordDatabase.txt
8.45
KB
-rw-r--r--
PerformanceTuning.txt
3.24
KB
-rw-r--r--
Pigeonhole.Installation.txt
4.52
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...
2.18
KB
-rw-r--r--
Pigeonhole.Sieve.Configuration...
4.78
KB
-rw-r--r--
Pigeonhole.Sieve.Configuration...
29.08
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.tx...
569
B
-rw-r--r--
Pigeonhole.Sieve.Plugins.Extda...
5.78
KB
-rw-r--r--
Pigeonhole.Sieve.Plugins.Extpr...
12.88
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.07
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
7.79
KB
-rw-r--r--
Plugins.FTS.Squat.txt
5.92
KB
-rw-r--r--
Plugins.FTS.txt
4.14
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
14.81
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.05
KB
-rw-r--r--
Plugins.PushNotification.txt
4.02
KB
-rw-r--r--
Plugins.QuotaClone.txt
1.4
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.23
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
3.94
KB
-rw-r--r--
Quota.Maildir.txt
2.29
KB
-rw-r--r--
Quota.txt
4.57
KB
-rw-r--r--
Replication.txt
15.76
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
19.55
KB
-rw-r--r--
SSL.SNIClientSupport.txt
696
B
-rw-r--r--
SSL.txt
3.41
KB
-rw-r--r--
Sasl.txt
955
B
-rw-r--r--
SecurityTuning.txt
942
B
-rw-r--r--
Services.txt
19.34
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.55
KB
-rw-r--r--
Statistics.txt
4.48
KB
-rw-r--r--
Submission.txt
6.28
KB
-rw-r--r--
SystemUsers.txt
4.99
KB
-rw-r--r--
TestInstallation.txt
8.33
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
7.81
KB
-rw-r--r--
Upgrading.txt
997
B
-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.7
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
21.69
KB
-rw-r--r--
VirtualUsers.Home.txt
3.5
KB
-rw-r--r--
VirtualUsers.txt
5.58
KB
-rw-r--r--
WhyDoesItNotWork.txt
5.06
KB
-rw-r--r--
maildrop.txt
3.43
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 : AuthDatabase.Lua.txt
Lua based authentication ======================== Since v2.3.0 you can implement passdb and userdb using Lua [https://www.lua.org/] script. Contents 1. Lua based authentication 1. Lua interface 2. Auth request accessors 3. Password database 4. User database 5. Example Lua interface ------------- For details about Dovecot Lua, see <Design.Lua.txt>. When used in authentication, additional module *dovecot.auth* is added, which contains constants for passdb and userdb. List of constants ----------------- * dovecot.auth.PASSDB_RESULT_INTERNAL_FAILURE * dovecot.auth.PASSDB_RESULT_SCHEME_NOT_AVAILABLE - indicates password scheme that cannot be understood * dovecot.auth.PASSDB_RESULT_USER_UNKNOWN * dovecot.auth.PASSDB_RESULT_USER_DISABLED * dovecot.auth.PASSDB_RESULT_PASS_EXPIRED * dovecot.auth.PASSDB_RESULT_NEXT - indicates that this passdb did not authenticate user, next passdb should do it * dovecot.auth.PASSDB_RESULT_PASSWORD_MISMATCH * dovecot.auth.PASSDB_RESULT_OK * dovecot.auth.USERDB_RESULT_INTERNAL_FAILURE * dovecot.auth.USERDB_RESULT_USER_UNKNOWN * dovecot.auth.USERDB_RESULT_OK Also, it registers object *struct auth_request** which lets access various parts of the auth request. You should use the loggers associated with auth_request when possible. Auth request accessors ---------------------- Functions: * auth_request#log_debug(text) - logs debug message (if debug is enabled, noop otherwise) * auth_request#log_error(text) - logs error message * auth_request#log_info(text) - logs informational message * auth_request#log_warning(text) - logs warning message * auth_request#response_from_template(template) - takes in key=value template and expands it using var_expand and produces table suitable for passdb result * auth_request#var_expand(template) - performs var expansion on the template using <Variables.txt> * auth_request#password_verify(crypted_password, plain_password) - checks if the plain password matches the crypted or hashed password Subtables: * auth_request#passdb * auth_request#userdb Members: See <Variables.txt> for details * auth_request#auth_domain * auth_request#auth_user * auth_request#auth_username * auth_request#cert * auth_request#client_id * auth_request#domain * auth_request#domain_first * auth_request#domain_last * auth_request#home * auth_request#lip * auth_request#local_name * auth_request#login_domain * auth_request#login_user * auth_request#login_username * auth_request#lport * auth_request#master_user * auth_request#mech * auth_request#orig_domain * auth_request#orig_user * auth_request#orig_username * auth_request#password * auth_request#pid * auth_request#real_lip * auth_request#real_lport * auth_request#real_rip * auth_request#real_rport * auth_request#rip * auth_request#rport * auth_request#secured * auth_request#service * auth_request#session * auth_request#session_pid * auth_request#user * auth_request#username Additionally you can access * skip_password_check - Set if the password has already been validated by another passdb * passdbs_seen_user_unknown - If some previous passdb has not found this user * passdbs_seen_internal_failure - If some previous passdb has had internal failure * userdbs_seen_internal_failure - If some previous userdb has had internal failure Password database ----------------- Lua passdb supports two modes of function. It can behave as lookup database, or password verification database. Lookup function signature is *auth_passdb_lookup(request)* and the password verification signature is *auth_password_verify(request, password)* Both functions must return a tuple, which contains a return code, and also additionally string or table. Table must be in key-value format, it will be imported into auth request. The string must be in key=value format, except if return code indicates internal error, the second parameter can be used as error string. If *auth_verify_password* is found, it's always used. To configure passdb in dovecot, use ---%<------------------------------------------------------------------------- passdb { driver = lua args = file=/path/to/lua blocking=yes # default is yes } ---%<------------------------------------------------------------------------- By default, dovecot runs Lua scripts in auth-worker processes. If you do not want this, you can disable blocking, and Lua script will be ran in auth process. This can degrade performance if your script is slow or makes external lookups. User database ------------- Lua userdb supports both single user lookup and iteration. Note that iteration will hold the whole user database in memory during iteration. User lookup function signature is *auth_userdb_lookup(request)*. The function must return a tuple, which contains a return code, and also additionally string or table. Table must be in key-value format, it will be imported into auth request. The string must be in key=value format, except if return code indicates internal error, the second parameter can be used as error string. User iteration function signature is *auth_userdb_iterate*, which is expected to return table of usernames. Key names are ignored. To configure userdb in dovecot, use ---%<------------------------------------------------------------------------- userdb { driver = lua args = file=/path/to/lua blocking=yes # default is yes } ---%<------------------------------------------------------------------------- Example ------- ---%<------------------------------------------------------------------------- function auth_passdb_lookup(req) if req.user == "testuser1" then return dovecot.auth.PASSDB_RESULT_OK, "password=pass" end return dovecot.auth.PASSDB_RESULT_USER_UNKNOWN, "no such user" end function auth_userdb_lookup(req) if req.user == "testuser1" then return dovecot.auth.USERDB_RESULT_OK, "uid=vmail gid=vmail" end return dovecot.auth.USERDB_RESULT_USER_UNKNOWN, "no such user" end function script_init() return 0 end function script_deinit() end function auth_userdb_iterate() return {"testuser1"} end ---%<------------------------------------------------------------------------- (This file was created from the wiki on 2018-05-23 04:42)
Close