LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Mail Server Issue (https://www.linuxquestions.org/questions/linux-server-73/mail-server-issue-720856/)

madfed 04-22-2009 03:22 AM

Mail Server Issue
 
Hi everyone,
i have an issue with my mail server and i really need some advise from you guys,

SCENARIO;

the company i work for was recently taken over by another company and as a result we are in an integration process. we have an email server running on SUSE 10.2 Box, also running postfix dovecot and squirremail.
The guys that took us over want us to change the a couple of things:
they want us to change both our outgoing and incoming domains on the server, currently our email accounts are like
Quote:

nelly@stadegrop.co.ug
and they want us to change them n reflect
Quote:

nelly@syncate.com
.
they have already created the new accounts on the sever which is being hosted in a totally different country.
My request is, can i get some help and advice on this.
Hope it really makes sense to you guys.
Thx

datopdog 04-22-2009 04:47 AM

I do not understand if you are actually asking a question or its just me who is not picking it up.

If they are already creating accounts on another server why dont you just migrate the mail from the existing server to the new server and use it. You can use tools like imapsync to migrate the mail.

If you want some kind of coexistance in the mean time postfix provides the canonical and generics tables to handle rewriting of addresses you can find details at http://www.postfix.org/postfix-manuals.html

megerdin 04-22-2009 04:53 AM

Go to your postfix directory ....
Code:

cd /etc/postfix
open the file nem main.cf

Code:

vi main.cf
find and replace

Code:

myhostname = stadegrop.co.ug
mydomain = stadegrop.co.ug
myorigin = stadegrop.co.ug

with
Code:

myhostname = syncate.com
mydomain = syncate.com
myorigin = syncate.com

also replace server entry in transport file located in

Code:

/etc/postfix/transport

let me know what are you doing?

madfed 04-22-2009 06:51 AM

Hi Guys,
Thanks so much for the replies, i just spoke to the person in charge of the integration and he clarified a few things which i thought would be important.
The emails that leave the server heere are supposed 2 have the new domain
Quote:

syncate.com
in their addresses, but when someone replies, the reply should come through our originial domain
Quote:

@stadegrop.co.ug
All they want is for our email addresses to have the the new domain.

megerdin 05-06-2009 05:35 AM

sorry !

I didn't catch your problem. Anyone else may help you.

billymayday 05-06-2009 06:08 AM

This should help

http://www.postfix.org/ADDRESS_REWRITING_README.html


All times are GMT -5. The time now is 12:31 AM.