- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: moving mail from sendmail to another server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 09:18 AM
тАО01-10-2011 09:18 AM
moving mail from sendmail to another server
They've just set up their own mail server finally, an Exchange box apparently. Anyway I have no access to it; they're a different company now.
I do have some 'leftover' email on my server though, which I'd like to forward on to the users at the new place before it gets stale.
As you'd expect the users may have more than one message in the /var/mail file.
If I just do something like this:
mailx newbox@newcompany.com < /var/mail/oldbox
...it arrives alright, but not how you'd like. The whole previous header is part of the message body, etc. and I have to break the inbox down into individual messages and send each, and they're ugly to boot.
Is there a way to deliver this email inbox so that it arrives at the new server as individual emails for the user, in somwthing similar to what they'd see if they just pop'd into my box to get it?
I've a suspicion that I should not be using mailx but probably sendmail in some mode that just transfers the mail.
Fred
- Tags:
- sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 09:30 AM
тАО01-10-2011 09:30 AM
Re: moving mail from sendmail to another server
I am sure the domain no longer points to the old mailserver but they should still be able to access with an IP and download and archive all of their mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 09:34 AM
тАО01-10-2011 09:34 AM
Re: moving mail from sendmail to another server
In fact the admin over there spent the weekend setting up each user with a new Outlook config that points to their own (new) Exchange server.
Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 09:51 AM
тАО01-10-2011 09:51 AM
Re: moving mail from sendmail to another server
If they flagged in outlook "keep copy on server" the email would still be their mailbox even if it was downloaded.
You can also put the server online with a public ip and allow them to download their mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 09:59 AM
тАО01-10-2011 09:59 AM
Re: moving mail from sendmail to another server
The users went home at 4pm Friday. Over the weekend they got the new server and the network link between us was disconnected. The admin over their set them up on the new server and then set the public MX record to point to their domain, now a different IP than ours.
So, any email sent to those users between 4pm Friday and time that the MX record was finally propagated, landed on our server and not theirs.
Perhaps some better planning between us might have allowed this to be more smooth but there it is.
Anyway - expecting the users to change their Outlook settings to pop in to the old server would be a cluster I'm afraid, and I'd have to allow them in through our firewall to do it.
I really am looking for a way for me to just bounce the stuff over there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 10:03 AM
тАО01-10-2011 10:03 AM
Re: moving mail from sendmail to another server
# sendmail -ba newbox@newcompany.com < /var/mail/oldbox
But if there are multiple messages in there only appears to send the first.
I suppose I could write a script to parse out each message and send them individually.
Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2011 11:08 AM
тАО01-10-2011 11:08 AM
Re: moving mail from sendmail to another server
Why bother. Simply attach the whole mailbox to a message and then send that. Let them import the messages into their new mail format.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2011 08:40 AM
тАО01-11-2011 08:40 AM
Re: moving mail from sendmail to another server
Do a google search for mailstore .. it is a free email archiving program.
You will have to download each users mailbox individually to break up the messages but it may get the job done.
I did a google search for "read email on unix system" and "export email from unix" and several options came up. Looks like one of them may work for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2011 10:10 AM
тАО01-11-2011 10:10 AM
Re: moving mail from sendmail to another server
All done.
As regards whether or not to bother - in another case I'd agree the issue is theirs and I could have sent the inboxes to the new admin over there and let them deal with it. But as it turns out - we don't own them any more but we're now the biggest customer for their product so we still have to play nice.
Fred