LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-16-2009, 02:47 PM   #1
gn000we
Member
 
Registered: Jan 2003
Location: UK
Distribution: Ubuntu
Posts: 33

Rep: Reputation: 16
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

Last edited by gn000we; 11-16-2009 at 02:48 PM.
 
Old 11-16-2009, 08:19 PM   #2
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: Debian, Ubuntu
Posts: 400

Rep: Reputation: 39
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'
 
Old 11-27-2009, 03:33 AM   #3
gn000we
Member
 
Registered: Jan 2003
Location: UK
Distribution: Ubuntu
Posts: 33

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by DaveQB View Post
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.
 
  


Reply

Tags
courier, email, exchange, postfix, server, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Integration of Postfix with Microsoft Exchange Server 2003 blindmancries Linux - Newbie 3 08-24-2009 08:51 AM
Importing emails from microsoft exchange to postfix-courier bob808 Linux - Server 1 02-18-2009 11:29 AM
Postfix, Courier, Spamassassin, and Exchange jstephens84 Linux - Server 4 08-11-2008 08:38 PM
help with login to my email server, using postfix,mysql and courier golpemortal Linux - Server 1 07-11-2007 12:23 PM
POstfix not sending to a local exchange server hawkpaul Linux - Software 10 06-04-2003 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration