DBMAIL.CONF(5) DBMAIL.CONF(5) (NAME) dbmail.conf - DBMail. (SYNOPSIS) : DBMAIL SMTP LMTP POP IMAP SIEVE LDAP DELIVERY. . (DESCRIPTION) # DBMAIL # # Copyright (c) 2000-2006 IC&S, The Netherlands # Copyright (c) 2004-2013 NFG Net Facilities Group BV support@nfg.nl # Copyright (c) 2014-2019 Paul J Stevens, The Netherlands, support@nfg.nl # Copyright (c) 2020-2026 Alan Hicks, Persistent Objects Ltd support@p-o.co.uk # [DBMAIL] ################### # # # (URI) # # : # database://[user:password@][host][:port]/database[?name=value][&name=value]... # # : # dburi = mysql://user:password@db.example.com:3306/dbmail # dburi = postgresql://user:password@db.example.com:5432/dbmail dburi = sqlite:///var/tmp/dbmail.db # # # sql ldap # # openldap ldap # OpenLDAP Microsoft Active Directory # # ldap [LDAP] authdriver = sql # # # (worker threadpool) # # . # / # # (context-switching) . # #max_db_connections = 10 # # . "dbmail_" . # table_prefix = dbmail_ ################### # # # IPv4 / IPv6 (bind) . # * . # localhost 127.0.0.1 . # ( ) (,) . # bindip = 0.0.0.0 # IPv4 - IP #bindip = :: # IPv4 IPv6 - IP () #bindip = :: # IPv6 - IP (BSD) #bindip = 0.0.0.0,:: # IPv4 IPv6 - IP (BSD) # # . # listen(2) # # backlog = 128 # # . # timeout = 300 # # . # login_timeout = 60 # # yes IP DNS . # resolve_ip = no # # yes DBMail . # reuseport = no ################### # (TLS) # # SSL/TLS # # (CA) PEM tls_cafile = # PEM tls_cert = # ECDSA RSA PEM tls_key = # openssl-ciphers(1) # openssl tls_ciphers = ################### # # # / . # latin1 utf8 encoding = utf8 # # # default_msg_encoding # iso8859-1 utf8 default_msg_encoding = utf8 # # # allow_invalid_messages yes mime # dbmail allow_invalid_messages = no # # (Postmaster) (bounce). # #postmaster = DBMAIL-MAILER ################### # # # smtp sendmail mail_host # smtp_host = smtp://smtp.example.com:587 # # smtp_host # smtp_user # smtp_password # # Sendmail . # (|) : # dos2unix|/usr/sbin/sendmail Qmail . # (") . # sendmail = /usr/sbin/sendmail ################### # (Logging) # # (override) . # # # syslog : # emergency, alert, critical, error, warning, notice, info, debug, database, nothing # file_logging_levels = notice syslog_logging_levels = warning # # . docker systemd # "stderr" . # logfile = /var/log/dbmail/dbmail.log # # : # # . # Stderr/log stderr . # Syslog (facility) # . # Syslog . # # : # 1 = (Emergency) # 2 = (Alert) # 4 = (Critical) # 8 = (Error) # 16 = (Warning) # 32 = (Notice) # 64 = (Info) # 128 = (Debug) # 256 = -> # # : 0 = # 31 = Emergency + Alert + Critical + Error + Warning # 511 = # # # # . # query_time_info = 10 query_time_notice = 20 query_time_warning = 30 # # query_timeout query_timeout = 300 # (: 90). # ( : db_connect # ) # . # ( ) . 90 . connection_pool_timeout = 90 ################### # (Privileges) # # (root) # / . # effective_user = nobody effective_group = nobody ################### # (Statistics) # # yes authlog # authlog = no ################### # # # PID # pid_directory = /var/run/dbmail # # # ( ) # #library_directory = ################### # # # (). # . # # mhash(3) _MHASH . # # 'dbmail-util --rehash' # mime . # # : MD5, SHA1, SHA256, SHA512, TIGER, WHIRLPOOL # # hash_algorithm = SHA1 # header_cache # # header_cache_readonly 'yes' # . # # header_cache_readonly = yes # # # # 0 = # 1 = . sha1 # 2 = . #message_part_hash = 0 [LMTP] port = 24 #tls_port = [IMAP] # IMAP. DBMail # ( ) # 1 = () # 2 = () # # # mailbox_update_strategy = 1 # IMAP. # 1 = sql (). # sql . # 2 = sql (). # . # . # mailbox_search_strategy = 1 # IMAP ( mailbox_search_strategy = 2) # n . # . # -1 = # x = . ( IDLE) # : # mailbox_update_strategy_2_max_iterations * idle_timeout * idle_interval = s # # mailbox_update_strategy_2_max_iterations = 64 # UNSEEN SELECT. # RFC 3501 # # 1 = UNSEEN SELECT () # 0 = UNSEEN SELECT # command_select_allow_unseen = 1 # UID STORE xxxxx FLAGS.SILENT ( Outlook) # # 0 = .SILENT UID FETCH () # 1 = .SILENT FLAGS ( ) # # command_store_flags_silent_ignore_silent = 0 # (Sequence) . # 1 = # 2 = # mailbox_update_seq_strategy = 1 # (DELETE) . # deleted # 1 = # 2 = # mailbox_sync_deleted = 1 # mailbox_sync_deleted=2 (batch). # # # mailbox_sync_batch_size = 64 # # banner = imap 4r1 server (dbmail 3.4.x) # # () . # port = 143 #tls_port = 993 # # IMAP (timeout) . # timeout = 4000 # # yes SMTP IP IMAP . # MTA # imap_before_smtp = no # # IDLE # (: 30) # # idle_timeout = 30 # IDLE '* OK' # (: 10) # # idle_timeout * idle_interval # # # idle_interval = 10 # # TLS starttls # . login_disabled=no # # login_disabled = yes # # AUTH=CRAM-MD5 # # enable_cram_md5=no . # # enable_cram_md5 = yes # # CAPABILITY # # capability = IMAP4 IMAP4rev1 AUTH=LOGIN ACL RIGHTS=texk NAMESPACE CHILDREN SORT QUOTA THREAD=ORDEREDSUBJECT UNSELECT IDLE # . # IMAP APPEND . # # : # (decimal): 1000000 # (octal): 03777777 # (hex): 0xfffff # # max_message_size = [SIEVE] # # . # port = 4190 [LDAP] # LDAP ()ldap_initialize # DSN LDAP : # # URI = ldap://127.0.0.1:389 # URI = ldapi://%2fvar%2frun%2fopenldap%2fldapi uri = ldap://example.com # LDAP URI : #port = 389 #version = 3 #hostnam = ldap #base_dn = ou=People,dc=example,dc=com # # (anonymous bind) . # : cn=admin,dc=mydomain,dc=com # bind_dn = # # . # bind_pw = scope = SubTree # 'Operations errors' Active Directory # 'no' (referrals) ldap # referrals = yes user_objectclass = top,account,inetOrgPerson forw_objectclass = top,account,dbmailUser cn_string = uid field_passwd = userPassword field_uid = uid field_nid = uidNumber min_nid = 10000 max_nid = 15000 field_cid = gidNumber min_cid = 10000 max_cid = 15000 # # . # . field_mail = mail # (mail-quota) . field_quota = mailQuota # (forwarding) . field_fwdtarget = mailForwardingAddress # # . # query_string = (mail=%s) [DELIVERY] # # Sieve . # SIEVE = yes # # 'user+mailbox@domain' . # SUBADDRESS = yes # # / (Vacation) Sieve. # SIEVE_VACATION = yes # # / (Notify) Sieve # SIEVE_NOTIFY = no # # / Sieve. # SIEVE_DEBUG = no # auto_notify . # AUTO_NOTIFY = no # # auto_reply (away messages). # AUTO_REPLY = no # # "NEW MAIL NOTIFICATION" # #AUTO_NOTIFY_SUBJECT = # # POSTMASTER DBMAIL . # #AUTO_NOTIFY_SENDER = # 'yes' dbmail # # Message-ID # suppress_duplicates = no # # (soft) (hard) (over-quota) # quota_failure = hard [POP] port = 110 #tls_port = 995 # # banner = DBMAIL pop3 server ready to rock # TLS starttls # . login_disabled=yes # # login_disabled = no # # yes SMTP IP POP3 . # MTA # pop_before_smtp = no [HTTP] port = 41380 # # httpd # . ! bindip = 127.0.0.1 admin = admin:secret # (SEE ALSO) dbmail(1), dbmail.conf(5), dbmail-deliver(1), dbmail-export(8), dbmail-httpd(8), dbmail-imapd(8), dbmail-lmtpd(8), dbmail-pop3d(8), dbmail-sieved(8), dbmail-sievecmd(8), dbmail-users(8), dbmail-util(8) (BUGS) DBMail[1] . DBMail[2] . DBMail DBMail[3] . (debug log) . (LICENSE) (DBMail) << >> (GNU GPL v2) . . (AUTHORS) DBMail AUTHORS THANKS DBMail . Alan Hicks Persistent Objects Ltd https://p-o.co.uk Eelco van Beek Aaron Stone Paul J Stevens Roel Rozendaal Open Source Engineer NFG Net Facilities Group BV Ilja Booij Palo Alto, CA USA http://www.nfg.nl IC&S http://www.ic-s.nl (AUTHOR) Alan Hicks . (NOTES) 1. DBMail https://dbmail.org/wws/info/dbmail-announce 2. DBMail https://dbmail.org/wws/info/dbmail-general 3. DBMail https://github.com/dbmail/dbmail/issues 08/28/2026 DBMAIL.CONF(5)