<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: moving mail from sendmail to another server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269131#M608907</link>
    <description>&amp;gt;I suppose I could write a script to parse out each message and send them individually.&lt;BR /&gt;&lt;BR /&gt;Why bother.  Simply attach the whole mailbox to a message and then send that.  Let them import the messages into their new mail format.</description>
    <pubDate>Mon, 10 Jan 2011 19:08:40 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-01-10T19:08:40Z</dc:date>
    <item>
      <title>moving mail from sendmail to another server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269125#M608901</link>
      <description>We recently sold a subsidiary company.  The users had email inboxes on my sendmail server, in /var/mail.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;As you'd expect the users may have more than one message in the /var/mail file.&lt;BR /&gt;&lt;BR /&gt;If I just do something like this:&lt;BR /&gt;&lt;BR /&gt;mailx newbox@newcompany.com &amp;lt; /var/mail/oldbox&lt;BR /&gt;&lt;BR /&gt;...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.&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;I've a suspicion that I should not be using mailx but probably sendmail in some mode that just transfers the mail.&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jan 2011 17:18:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269125#M608901</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2011-01-10T17:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: moving mail from sendmail to another server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269126#M608902</link>
      <description>How were the users downloading mail before the cut over?&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jan 2011 17:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269126#M608902</guid>
      <dc:creator>rleon</dc:creator>
      <dc:date>2011-01-10T17:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: moving mail from sendmail to another server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269127#M608903</link>
      <description>They were using pop3 to get mail before, but they were also a subnet on our network.  The physical network is no longer available, they're in a separate building and we only have the internet between us now.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jan 2011 17:34:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269127#M608903</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2011-01-10T17:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: moving mail from sendmail to another server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269128#M608904</link>
      <description>Ok so what mail is still left? If they were using pop3 they downloaded at lest a copy of their mail. &lt;BR /&gt;&lt;BR /&gt;If they flagged in outlook "keep copy on server" the email would still be their mailbox even if it was downloaded.&lt;BR /&gt;&lt;BR /&gt;You can also put the server online with a public ip and allow them to download their mail.</description>
      <pubDate>Mon, 10 Jan 2011 17:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269128#M608904</guid>
      <dc:creator>rleon</dc:creator>
      <dc:date>2011-01-10T17:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: moving mail from sendmail to another server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269129#M608905</link>
      <description>Our server was masquerading for their domain name up until the weekend.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Perhaps some better planning between us might have allowed this to be more smooth but there it is.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;I really am looking for a way for me to just bounce the stuff over there.&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jan 2011 17:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269129#M608905</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2011-01-10T17:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: moving mail from sendmail to another server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269130#M608906</link>
      <description>And actually, when there is only one email in the /var/mail file ("oldbox") this seems to work well:&lt;BR /&gt;&lt;BR /&gt;# sendmail -ba newbox@newcompany.com &amp;lt; /var/mail/oldbox&lt;BR /&gt;&lt;BR /&gt;But if there are multiple messages in there only appears to send the first.&lt;BR /&gt;&lt;BR /&gt;I suppose I could write a script to parse out each message and send them individually.&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jan 2011 18:03:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269130#M608906</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2011-01-10T18:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: moving mail from sendmail to another server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269131#M608907</link>
      <description>&amp;gt;I suppose I could write a script to parse out each message and send them individually.&lt;BR /&gt;&lt;BR /&gt;Why bother.  Simply attach the whole mailbox to a message and then send that.  Let them import the messages into their new mail format.</description>
      <pubDate>Mon, 10 Jan 2011 19:08:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269131#M608907</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-01-10T19:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: moving mail from sendmail to another server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269132#M608908</link>
      <description>Yeah .. it seems that there is no real elegant solution for this.&lt;BR /&gt;&lt;BR /&gt;Do a google search for mailstore .. it is a free email archiving program. &lt;BR /&gt;&lt;BR /&gt;You will have to download each users mailbox individually to break up the messages but it may get the job done.&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Tue, 11 Jan 2011 16:40:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269132#M608908</guid>
      <dc:creator>rleon</dc:creator>
      <dc:date>2011-01-11T16:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: moving mail from sendmail to another server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269133#M608909</link>
      <description>As it turns out, I did write a shell script, it's only 30 or so lines.  It parses a /var/mail/file into individual email messages, placing each into a temp file as it goes, and does a sendmail -ba on the temp file to the person's new address at the other company.&lt;BR /&gt;&lt;BR /&gt;All done.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jan 2011 18:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-mail-from-sendmail-to-another-server/m-p/5269133#M608909</guid>
      <dc:creator>Fred Martin_1</dc:creator>
      <dc:date>2011-01-11T18:10:29Z</dc:date>
    </item>
  </channel>
</rss>

