Find the answer to your Linux question:
Results 1 to 5 of 5
Hi all... I'm new with linux and at my work place I have installed and working postfix so now I need to migrate that existing mail server to new HP ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2007
    Posts
    6

    Need help migrating postfix from older pc to new one


    Hi all...

    I'm new with linux and at my work place I have installed and working postfix so now I need to migrate that existing mail server to new HP server. I've installed debian 4.0 and post fix on my new server,can you please explain what conf or other files I need to copy to my new server to make postfix work with the same setting like older pc,not to configure it from scratch?

    thanx in advance

  2. #2
    Linux User infoshirish's Avatar
    Join Date
    May 2007
    Location
    Pune, India
    Posts
    397

    Cool

    Hey,
    Well in short i can say, you need to have backup all your mail related files / directories
    for i.e
    */etc/passwd
    */etc/shadow
    */etc/group
    *
    /etc/gshadow
    *
    /var/spool/mail
    *
    /home -

    Now make sure that your new machine is up and working with Postfix. Dump all your backup files / directories to there respective paths. Reboot the new machine and verify /cross check for all your mail server workings.
    Regards,

    who |grep -i blonde |
    date; cd~; unzip; touch;
    strip; finger; mount; gasp;
    yes; uptime; umount;
    sleep

    Newbie clicks
    http://www.linuxforums.org/forum/lin...ead-first.html

  3. #3
    Just Joined!
    Join Date
    Aug 2007
    Posts
    6
    Quote Originally Posted by infoshirish View Post
    Hey,
    Well in short i can say, you need to have backup all your mail related files / directories
    for i.e
    */etc/passwd
    */etc/shadow
    */etc/group
    *
    /etc/gshadow
    *
    /var/spool/mail
    *
    /home -

    Now make sure that your new machine is up and working with Postfix. Dump all your backup files / directories to there respective paths. Reboot the new machine and verify /cross check for all your mail server workings.
    First of all,thanx for replying...

    One friend of mine told me that clean installaton and settings is the best way, but this is the easyest, do you really think that this is gona work? I'll try any way,so many many thanx...

    Also, how can I know do I have postpix of pstpix with sql on my old mashine?
    I'm little bit confused cuz I'm starting with linux now and don't have any experiance...

    Thanx again

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User infoshirish's Avatar
    Join Date
    May 2007
    Location
    Pune, India
    Posts
    397
    Hey,
    Well clean installaton will remove all your user mails, user accounts and all information of users. That would be a long procedure and would not be a smart move. According to me the way i suggested is more simpler, it should work as its a normal and usual way that many companies /firms has appreciated. This would not make any diffrence to your data as you will already have backup of that.

    Anyways i could not get your second question regarding sql can you elaborate it more . Your always welcome , as i said Welcome to Open Source..
    Regards,

    who |grep -i blonde |
    date; cd~; unzip; touch;
    strip; finger; mount; gasp;
    yes; uptime; umount;
    sleep

    Newbie clicks
    http://www.linuxforums.org/forum/lin...ead-first.html

  6. #5
    Just Joined!
    Join Date
    Aug 2007
    Posts
    6
    OK buddy , if you really wanna help me than,but this is gonna be long one

    Our linux administrator has quit and now it's my job to install,configure and migrate our mail server from old to new hp's.
    I'm ccnp,ccip and mcse, so I really need to learn and linux now But I dont have time to wait for that so I really need help

    Ok,the problem is this

    I've installed debian 4.0 on my new hp without any problem

    I've done apt-get dist-upgrade
    apt-get update
    and upgraded my debian ,when i did apt-get install postfix I get this message:
    Reading package lists... Done
    Building dependency tree... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.

    Since you only requested a single operation it is extremely likely that
    the package is simply not installable and a bug report against
    that package should be filed.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    exim4-base: Depends: exim4-config (>= 4.30) but it is not going to be installed or
    exim4-config-2
    E: Broken packages

    than I've downloaded postfix_2.3.8-2+b1_i386.deb
    and run dpkg -i postfix_2.3.8-2+b1_i386.deb
    I get the following message:

    dpkg: regarding postfix_2.3.8-2+b1_i386.deb containing postfix:
    postfix conflicts with mail-transport-agent
    exim4-daemon-light provides mail-transport-agent and is installed.
    dpkg: error processing postfix_2.3.8-2+b1_i386.deb (--install):
    conflicting packages - not installing postfix
    Errors were encountered while processing:
    postfix_2.3.8-2+b1_i386.deb

    Than I downloaded postfix source code postfix-2.4.5.tar.gz latest stable
    and i did tar -xvf postfix-2.4.5.tar.gz and unpack it in the dir postfix-2.4.5 in my home dir

    than I did cd postfix-2.4.5
    cat postfix-install | more

    than sh postfix-install and get following message:
    postfix-install: Error: no bin/postconf file. Did you forget to run "make"?

    and now I'm very angry what am I doing wrong?

    Are you still willing to help me,is something wrong with my debian version or something? What meens that error when I try to install .deb package of postfix?
    The same error I get when I try to install package in gui with GDebi package installer :
    error conflict with the installed package "exim4-daemon-light"
    Do i need to remove that exim4-daemon-light" and how?

    I now that I'm pain in the a** but I really don't know what to do?

    Thank you in advance

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •