From: Tom C. <to...@to...> - 2003-07-18 19:23:46
|
Here's the script for converting Maildir-style aliases to address-style forwards. While I don't have hashed domain directories on my server, I was able to test it by crafting bogus .qmail-user files in some of my domains. I've tested it, and even used it on my production server, so I'm confident that it works properly. Please take advantage of the "dry run" option (you'll be prompted for it) to review the planned changes before letting alias2forward.pl run its course. <http://www.tomlogic.com/qmail/alias2forward.tar.gz> README.alias2forward: Use the alias2forward.pl program to go through your existing domains and convert the aliases in .qmail-user files to forwards. The newer versions of QmailAdmin have switched to using forwards for local and remote users, instead of Maildir delivery for local users. This allows for proper processing of the .qmail file in the user's directory. Note that you must run this script as root or the vpopmail user. We recommend that you do a dry run first and watch the output to ensure that all changes will be as expected. You will be prompted as to whether you want to do a dry run (YES=don't save changes), and for the qmail directory (if it is not /var/qmail). Please contact to...@to... with any questions, comments or suggestions for improvement. |