Gmail wrote: > Hi all, > > I’ve installed qmailtoaster with vpopmail enable mysql. I assume that I > have a password file and a username file (each username is matched with > password in same line). How do to write a script to create mailbox with > username and password get from 2 files?. I think this is useful for > import user mail to vpopmail. > > Thanks so much. >
That's sorta tough. Having the names and passwords in separate files might be better for security, but it sure makes thing tricky bringing them together correctly. Here's one method: http://unstableme.blogspot.com/2008/03/merge-alternate-lines-of-files-bashawk.html I think in general that importing users would be more easily (and commonly) done with the username and password at least somewhere in the same file. How many accounts are you talking? It might be quicker to do it semi-manually. -- -Eric 'shubes' --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
