At 7:40 AM +1000 7/11/02, Terry Allen imposed structure on a stream of electrons, yielding: >>At 8:36 PM +1000 7/10/02, Terry Allen imposed structure on a stream >>of electrons, yielding: >>>Hi again, >>> Well, I have finally got my OSX server up & running & sadly, my >>>SIMS server now is finally offline. I have a small amount of user mail >>>which I need to export from SIMS into a format that Sendmail can understand >>>- can anyone tell me the easiest way to do this, or perhaps provide me with >>>a link to some suitable information on how to do it. Thanks for any help. >> >> From the Unix command line: >> >>cat oldmailboxname | tr "\r" "\n" > newmailboxname >> >>The middle part will replace all the carriage returns (i.e. Mac line >>breaks) with linefeeds (i.e. Unix line breaks) while the rest is >>plumbing. I actually use this regularly with my Eudora mailboxes >>(which are also classic mbox format with a line break switch.) >> >Hi again, > Thanks Bill. As I just mentioned in my reply to Dmitry, with your >method there, I guess I just place the 'oldmailbox.name/ & pipe it into >'newmailbox.name' Will your method allow me to append it to the user's now >active sendmail box?
Yes, but there is a risk of mangling the mailbox if you are unlucky enough to do it while sendmail (or rather, whatever local delivery agent sendmail uses) is writing out a message. To be perfectly safe, you can turn off sendmail while doing this. To append rather than replace the file make sure you use >> instead of >. -- Bill Cole [EMAIL PROTECTED] ############################################################# This message is sent to you because you are subscribed to the mailing list <[EMAIL PROTECTED]>. To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]>
