Nvision.com, Inc. | Migrating from a FreeBSD Server to a FreeBSD v2 Server |
Migrating Sendmail and Mail programs
If you are using Procmail, Spamassassin, Majordomo, or any other mail program that needs to make modifications to the sendmail.cf file, you need to:
1.Do a vinstall of these programs first. To see a list of available vinstalls type the following at the shell command line:
%vinstall
2.If you have made any changes to the configuration files for any of these programs, make the same changes now.
3.Additionally, if you have made any changes to your .procmailrc files, copy those changes to the new .procmailrc file as well.
4.Run the migratesm script located at /.migrate/bin/migratesm. This will create your aliases, virtmaps, access, and
5.If you have any Majordomo mailing list in the default location of ~/usr/local/majordomo/Lists/, those lists will be copied over to the FreeBSD v2 Server default location of /usr/local/majordomo/lists/.
6.When the migratesm script has finished running, an ALIASES_TODO file is created with a list of mailing lists, programs, and other files that appear on the
7.When you have completed this, run the migratesm script a second time using the following sysntax:
%migratesm
This will interpret the input ALIASWS_TODO lines as follows
─Lines beginning with a pound sign (#) are ignored
─Lines of the form "alias: Y RHS" (where the "center" field is a literal "Y") are ignored. (The "Y" means that the file named in the RHS already exists on the FreeBSD v2 Server, and doesn't need to be copied from the FreeBSD Server location mentioned in the RHS.)
─Lines of the form "alias: N RHS" (where the "center" field is a literal "N") cause migratesm to attempt to copy the file mentioned in RHS to the same location in the FreeBSD v2 Server file system.
─If the copy succeeds, migratesm changes the "N" in the middle field to "Y" in the updated ALIASES_TODO.
─If the copy fails because the file does not exist in the FreeBSD Server directory structure, migratesm changes the "N" in the middle field to "N*".
─Lines of the form "alias: N* RHS" (where the "center" field is a literal "N" followed by an asterisk [*])) are ignored.
─Lines of the form
─Lines of the form
─All other lines are ignored.
Migrating Sendmail and Mail Programs | 3 |