LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wanting Postfix and Courier acting like an exchange server (http://www.linuxquestions.org/questions/linux-newbie-8/wanting-postfix-and-courier-acting-like-an-exchange-server-769503/)

gn000we 11-16-2009 02:47 PM

Wanting Postfix and Courier acting like an exchange server
 
Hello Linux geniuses!

I wanted to create an exchange email server using Linux.
I have setup Postfix and Courier sucessfully on Ubuntu Server.

Now, it's suppose to get all the mail from other pop3/smtp accounts and have them locate to one mail box, and then be downloadable and send via a single pop3 and smtp location i.e. my server.
I'm not too sure what else to do now.
It works as in I can send mail internally. How do I get it to download from other accounts, and from a Microsoft exchange server account?

Have I done the right thing? If not, what have I done wrong?
How does it work exactly?

It talks about a domain name. I have one registered on an external website.
Do I need to install a DNS server inorder to register the internet domain name? How do I register the domain name on the internet with my local server?
How's the domain name related internally?

Any guidance would be much appreciated.

gn000we

DaveQB 11-16-2009 08:19 PM

Ok lots to cover here.

So for grabbing external mailboxes, I would suggest fetchmail. Its the ideal program for this. I have never used it, so that's as far as I can help.

As for postfix and domain. For internal you don't need you domain pointing to your server externally.

So:

1. What is the domain name you want to use?
2. What is the output of this command
Code:

postconf  |egrep 'myhostname|mydestination'

gn000we 11-27-2009 03:33 AM

Quote:

Originally Posted by DaveQB (Post 3759438)
Ok lots to cover here.

So for grabbing external mailboxes, I would suggest fetchmail. Its the ideal program for this. I have never used it, so that's as far as I can help.

As for postfix and domain. For internal you don't need you domain pointing to your server externally.

So:

1. What is the domain name you want to use?
2. What is the output of this command
Code:

postconf  |egrep 'myhostname|mydestination'

Code:

lmtp_lhlo_name = $myhostname
local_transport = local:$myhostname
milter_macro_daemon_name = $myhostname
mydestination = localhost
myhostname = {my hostname}
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $sender_bcc_maps $recipient_bcc_maps $smtp_generic_maps $lmtp_generic_maps
relay_domains = $mydestination
smtp_helo_name = $myhostname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_proxy_ehlo = $myhostname

Dave, thanks for the reply! :)

That's what I got from the command you gave. I even sent it via postfix to myself (quite chuffed!). I have taken out my actual hostname for the server and replaced it with {my hostname}.

Forgive me for the late reply but I had other technical problems to deal with the server i.e. no internet connection!

I've installed fetchmail. In the process of configuration.
Many thanks on that one. :)


All times are GMT -5. The time now is 07:49 AM.