King0770-Notes: Difference between revisions

 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Additional Articles by King0770==
==Articles by King0770==
 
https://wiki.zimbra.com/index.php?title=King0770-Notes-Merge_Two_Independent_Machines<br>
https://wiki.zimbra.com/index.php?title=King0770-Notes-Merge_Two_Independent_Machines<br>
https://wiki.zimbra.com/index.php?title=King0770-Notes-MovingUsers<br>
https://wiki.zimbra.com/index.php?title=King0770-Notes-MovingUsers<br>
Line 40: Line 41:
https://wiki.zimbra.com/wiki/King0770-Notes-Always_Bcc-Mishap<br>
https://wiki.zimbra.com/wiki/King0770-Notes-Always_Bcc-Mishap<br>
https://wiki.zimbra.com/wiki/King0770-Notes-Remove-Orphaned-Account<br>
https://wiki.zimbra.com/wiki/King0770-Notes-Remove-Orphaned-Account<br>
https://wiki.zimbra.com/wiki/King0770-Notes-Emulate-a-user-login-via-the-command-line
https://wiki.zimbra.com/wiki/King0770-Notes-Emulate-a-user-login-via-the-command-line<br>
https://wiki.zimbra.com/wiki/King0770-Notes-SSL<br>
https://wiki.zimbra.com/wiki/King0770-Notes-SSL<br>
https://wiki.zimbra.com/wiki/King0770-Notes-ldap-fragmentation<br>
https://wiki.zimbra.com/wiki/King0770-Notes-ldap-fragmentation<br>
Line 47: Line 48:
https://wiki.zimbra.com/wiki/King0770-Notes-Relocated-Maps<br>
https://wiki.zimbra.com/wiki/King0770-Notes-Relocated-Maps<br>
https://wiki.zimbra.com/wiki/King0770-Notes-Internal-False-Positives<br>
https://wiki.zimbra.com/wiki/King0770-Notes-Internal-False-Positives<br>
 
https://wiki.zimbra.com/wiki/King0770-Notes-Whitelist-Phishing-Service<br>
==Handy Commands==
https://wiki.zimbra.com/wiki/King0770-Notes-Lock-All-Accounts<br>
===LDAP - DB Status===
https://wiki.zimbra.com/wiki/King0770-Notes-Account-Organization<br>
<code><pre>/opt/zimbra/sleepycat/bin/db_stat -c -h /opt/zimbra/openldap-data</pre></code>
https://wiki.zimbra.com/wiki/King0770-Notes-Cannot-Start-ldap-ldap_starttls_supported-Enabled<br>
===LDAP - DB Recover===
https://wiki.zimbra.com/wiki/King0770-Notes-zmtrainsa_cleanup_host<br>
<code><pre>/opt/zimbra/sleepycat/bin/db_recover **make sure you are doing this as the zimbra user, and that slapd is not running**</pre></code>
https://wiki.zimbra.com/wiki/King0770-Notes-rsync-excludes<br>
===LDAP - Slapindex===
https://wiki.zimbra.com/wiki/King0770-Notes-Mass-Account-Removal<br>
<code><pre>/opt/zimbra/openldap/sbin/slapindex -f /opt/zimbra/conf/slapd.conf</pre></code>
https://wiki.zimbra.com/wiki/King0770-Notes-Export_And_Import_Spamassassin_Rules<br>
===LDAP - Export & Reimport===
https://wiki.zimbra.com/wiki/King0770-Notes-Outbound_SMTP_Authentication_Using_Port_465<br>
<code><pre>
https://wiki.zimbra.com/wiki/King0770-Notes-Force-Authentication-With-Full-Email-Address<br>
1) su - zimbra
https://wiki.zimbra.com/wiki/King0770-Notes-Quick-Guide-Setting-Up-ZCS-8.8.15_And_NextCloud17<br>
2) libexec/zmslapcat /tmp
https://wiki.zimbra.com/wiki/King0770-Notes-Zimbra-Connect<br>
3) mv /tmp/ldap.bak /tmp/ldap.ldif
https://wiki.zimbra.com/wiki/King0770-Notes-Prevent-Accounts-From-Sending-To-External-Domains-With-CBPOLICYD<br>
4) zmcontrol stop
https://wiki.zimbra.com/wiki/King0770-Notes-Setup-RateLimiting-with-CBPOLICYD<br>
5) ps -aux | grep slapd **If ldap is still running, kill it**
https://wiki.zimbra.com/wiki/King0770-Notes-MTA-ALLOW-HELO<br>
6) su - root
https://wiki.zimbra.com/wiki/King0770-Notes-NG_Modules<br>
7) mv /opt/zimbra/openldap-data /opt/zimbra/openldap-data.OLD
https://wiki.zimbra.com/wiki/King0770-Notes-import-SSL<br>
8) mkdir -p /opt/zimbra/openldap-data/logs && mkdir -p /opt/zimbra/openldap-data/accesslog/db
9) chown -R zimbra:zimbra /opt/zimbra/openldap-data/
10) su - zimbra
11) /opt/zimbra/openldap/sbin/slapadd -f /opt/zimbra/conf/slapd.conf -b "" -l /tmp/ldap.ldif
12) zmcontrol start
</pre></code>
 
===Clear SA DB===
This would be handy if you are getting a lot of false positives
<code><pre>
/opt/zimbra/libexec/sa-learn -p /opt/zimbra/conf/salocal.cf.in --dbpath /opt/zimbra/amavisd/.spamassassin/ --siteconfigpath /opt/zimbra/conf/spamassassin --clear
</pre></code>
or
<code><pre>
/opt/zimbra/libexec/sa-learn -p /opt/zimbra/conf/salocal.cf --dbpath /opt/zimbra/amavisd/.spamassassin --siteconfigpath \ /opt/zimbra/conf/spamassassin --force -expire –sync
</pre></code>
 
===KeyTool Commands===
<code><pre>
keytool -list -keystore /opt/zimbra/mailboxd/etc/keystore -storepass `zmlocalconfig -s -m nokey mailboxd_keystore_password`
 
keytool -delete -alias jetty or tomcat -keystore /opt/zimbra/mailboxd/etc/keystore -storepass `zmlocalconfig -s -m nokey mailboxd_keystore_password`
</pre></code>
 
==Upper Case Letters in the hostname in /etc/hosts will prevent the install from continuing==
Make sure the hostname in the /etc/hosts do not contain upper case letters. Or else the install will not continue.<br>
http://bugzilla.zimbra.com/show_bug.cgi?id=30413<br>
<code><pre>
Main menu
 
  1) Common Configuration:                                                
        +Hostname:                            KLAATU.blue.local
        +Ldap master host:                    klaatu.blue.local
        +Ldap port:                            389                         
        +Ldap Admin password:                  set                         
        +Require secure interprocess communications: yes                         
        +TimeZone:                            (GMT-08.00) Pacific Time (US & Canada)
 
  2) zimbra-ldap:                            Enabled                     
  3) zimbra-store:                            Enabled                     
  4) zimbra-mta:                              Enabled                     
  5) zimbra-snmp:                             Enabled                     
  6) zimbra-logger:                          Enabled                     
  7) zimbra-spell:                            Enabled                     
  8) Default Class of Service Configuration:                               
  9) Enable default backup schedule:          yes                         
  r) Start servers after configuration        yes                         
  s) Save config to file                                                   
  x) Expand menu                                                           
  q) Quit                                   
 
Address unconfigured (**) items or correct ldap configuration  (? - help)
</pre></code>
 
==Sending Attachments==
 
If you are having trouble sending attachments, and you *think* you've set the zimbraFileUploadMaxSize & zimbraMtaMaxMessageSize, correctly, then find out how much larger a MIME version of a file will be after base-64 encode. <br>
 
If you want to find out just how much larger a MIME version of a given file will be, run the file through UUDeview (windows app) - try 'base 64' in the encode settings. Won't wreck your current file, it creates a converted duplicate. This should give you an idea of what values to use if you don't want to use an arbitrary value. http://www.miken.com/uud/ <br>

Latest revision as of 16:49, 24 March 2021

Articles by King0770

https://wiki.zimbra.com/index.php?title=King0770-Notes-Merge_Two_Independent_Machines
https://wiki.zimbra.com/index.php?title=King0770-Notes-MovingUsers
https://wiki.zimbra.com/index.php?title=King0770-Notes-Change-LDAP-Log-Levels
https://wiki.zimbra.com/index.php?title=King0770-Notes-Postconf_or_localconfig
https://wiki.zimbra.com/index.php?title=King0770-Notes-Bulk_Upload_To_Briefcase
https://wiki.zimbra.com/index.php?title=King0770-Notes-Sieve_Rules_By_Proxy
https://wiki.zimbra.com/index.php?title=King0770-Notes-Find_Out_When_Message_Was_Read
https://wiki.zimbra.com/index.php?title=King0770-Notes-FireFox_MimeTypes
https://wiki.zimbra.com/index.php?title=King0770-Notes-SearchGal-Edit
https://wiki.zimbra.com/index.php?title=King0770-Notes-ZCO-Repair
https://wiki.zimbra.com/index.php?title=King0770-Notes-Download-JDK
https://wiki.zimbra.com/index.php?title=King0770-Notes-Drop-Single-Mboxgroup-and-Reimport
https://wiki.zimbra.com/index.php?title=King0770-Notes-When_innodb_force_recovery_Fails
https://wiki.zimbra.com/index.php?title=King0770-Notes-Removal_of_Bad_Contact_Address
https://wiki.zimbra.com/index.php?title=King0770-Notes-Access_GAL_from_Clients_6.0
https://wiki.zimbra.com/index.php?title=King0770-Notes-Nuking_everything_in_a_folder
https://wiki.zimbra.com/wiki/King0770-Notes-External-Authentication-with-LDAP
https://wiki.zimbra.com/wiki/King0770-Notes-Directory-Permissions-on-tmp
https://wiki.zimbra.com/wiki/King0770-Notes-Removing-Messages-with-zmmailbox-based-on-Subject
https://wiki.zimbra.com/wiki/King0770-Notes-Read-the-install-history-file-in-a-readable-format
https://wiki.zimbra.com/wiki/King0770-Notes-error-decoding-message
https://wiki.zimbra.com/wiki/King0770-Notes-YAMM
https://wiki.zimbra.com/wiki/King0770-Notes-Chameleon-Skin
https://wiki.zimbra.com/wiki/King0770-Notes-InnoDB_is_in_the_future
https://wiki.zimbra.com/wiki/King0770-Notes-Calendar-Notes
https://wiki.zimbra.com/wiki/King0770-Notes-Milter_And_DistributionLists
https://wiki.zimbra.com/wiki/King0770-Notes-Check-Submission-Port-587
https://wiki.zimbra.com/wiki/King0770-Notes-Header-Checks
https://wiki.zimbra.com/wiki/King0770-Notes-Verify-LDAP-Passwords
https://wiki.zimbra.com/wiki/King0770-Notes-SpamTitan
https://wiki.zimbra.com/wiki/King0770-Notes-Enable-webui-for-cbpolicyd-Unsupported
https://wiki.zimbra.com/wiki/King0770-Notes-Installing-Proxy-For-Single-Server
https://wiki.zimbra.com/wiki/King0770-Notes-ldapsearch-to-csv
https://wiki.zimbra.com/wiki/King0770-Notes-My-Github
https://wiki.zimbra.com/wiki/King0770-Notes-VNC-Safe
https://wiki.zimbra.com/wiki/King0770-Notes-Whitelist-Spamassassin-MTA
https://wiki.zimbra.com/wiki/King0770-Notes-Ultra-Restrictive-Sending-And-Receiving
https://wiki.zimbra.com/wiki/King0770-Notes-smtp_tls_policy_maps
https://wiki.zimbra.com/wiki/King0770-Notes-Always_Bcc-Mishap
https://wiki.zimbra.com/wiki/King0770-Notes-Remove-Orphaned-Account
https://wiki.zimbra.com/wiki/King0770-Notes-Emulate-a-user-login-via-the-command-line
https://wiki.zimbra.com/wiki/King0770-Notes-SSL
https://wiki.zimbra.com/wiki/King0770-Notes-ldap-fragmentation
https://wiki.zimbra.com/wiki/King0770-Notes-Disable-Zimbra-Desktop
https://wiki.zimbra.com/wiki/King0770-Notes-Rejecting-Nested-From-Addresses
https://wiki.zimbra.com/wiki/King0770-Notes-Relocated-Maps
https://wiki.zimbra.com/wiki/King0770-Notes-Internal-False-Positives
https://wiki.zimbra.com/wiki/King0770-Notes-Whitelist-Phishing-Service
https://wiki.zimbra.com/wiki/King0770-Notes-Lock-All-Accounts
https://wiki.zimbra.com/wiki/King0770-Notes-Account-Organization
https://wiki.zimbra.com/wiki/King0770-Notes-Cannot-Start-ldap-ldap_starttls_supported-Enabled
https://wiki.zimbra.com/wiki/King0770-Notes-zmtrainsa_cleanup_host
https://wiki.zimbra.com/wiki/King0770-Notes-rsync-excludes
https://wiki.zimbra.com/wiki/King0770-Notes-Mass-Account-Removal
https://wiki.zimbra.com/wiki/King0770-Notes-Export_And_Import_Spamassassin_Rules
https://wiki.zimbra.com/wiki/King0770-Notes-Outbound_SMTP_Authentication_Using_Port_465
https://wiki.zimbra.com/wiki/King0770-Notes-Force-Authentication-With-Full-Email-Address
https://wiki.zimbra.com/wiki/King0770-Notes-Quick-Guide-Setting-Up-ZCS-8.8.15_And_NextCloud17
https://wiki.zimbra.com/wiki/King0770-Notes-Zimbra-Connect
https://wiki.zimbra.com/wiki/King0770-Notes-Prevent-Accounts-From-Sending-To-External-Domains-With-CBPOLICYD
https://wiki.zimbra.com/wiki/King0770-Notes-Setup-RateLimiting-with-CBPOLICYD
https://wiki.zimbra.com/wiki/King0770-Notes-MTA-ALLOW-HELO
https://wiki.zimbra.com/wiki/King0770-Notes-NG_Modules
https://wiki.zimbra.com/wiki/King0770-Notes-import-SSL

Jump to: navigation, search