User Tools

Site Tools


migration_guide_from_v3_to_v4

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
migration_guide_from_v3_to_v4 [2019/02/03 00:14] – [v4 Commission] spammymigration_guide_from_v3_to_v4 [2019/12/03 02:11] (current) – [v4 Commission] spammy
Line 37: Line 37:
   - sudo chmod -R 775 /var/spool/MailScanner/quarantine (to loosen permissions for copy)   - sudo chmod -R 775 /var/spool/MailScanner/quarantine (to loosen permissions for copy)
   - sudo chmod -R 775 /var/EFA/backup/* (to loosen permissions for copy)   - sudo chmod -R 775 /var/EFA/backup/* (to loosen permissions for copy)
 +  - sudo sa-learn --backup > /root/backup.txt
  
 If you are using opendkim, do the following If you are using opendkim, do the following
Line 52: Line 53:
   - chmod 600 /var/eFa/backup/<nameofbackup>     (secure the backup file)   - chmod 600 /var/eFa/backup/<nameofbackup>     (secure the backup file)
   - chown root:root /var/eFa/backup/<nameofbackup>  (secure the backup file)   - chown root:root /var/eFa/backup/<nameofbackup>  (secure the backup file)
 +  - cp /mnt/root/backup.txt /root/backup.txt
  
 The following steps apply if you want to keep your quarantine The following steps apply if you want to keep your quarantine
Line 88: Line 90:
      * /var/www/html/mailscanner/      * /var/www/html/mailscanner/
      * /etc/postfix      * /etc/postfix
 +
 +If your bayes database is blank in the MailWatch GUI after migration, run this:
 +
 +  * sudo sa-learn --clear
 +  * sudo sa-learn --restore /root/backup.txt
  
 The following steps apply if you are using opendkim The following steps apply if you are using opendkim
Line 93: Line 100:
   * /etc/postfix/main.cf:     * /etc/postfix/main.cf:  
       * smtpd_milters = inet:127.0.0.1:8891 inet:127.0.0.1:33333       * smtpd_milters = inet:127.0.0.1:8891 inet:127.0.0.1:33333
-      * non_smtpd_miltersinet:127.0.0.1:8891+      * non_smtpd_milters inet:127.0.0.1:8891
   * sudo systemctl enable opendkim   * sudo systemctl enable opendkim
   * sudo systemctl start opendkim   * sudo systemctl start opendkim
   * sudo systemctl reload postfix   * sudo systemctl reload postfix
  
-If you use 3rd party virus scanners, those will need to be reinstalled.+If you use 3rd party virus scanners, those will need to be installed on the new appliance.
migration_guide_from_v3_to_v4.1549152872.txt.gz · Last modified: 2019/02/03 00:14 by spammy