LinuxQuestions.org
Register a domain and help support LQ
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 04-03-2004, 01:51 PM   #1
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Rep: Reputation: 15
Postfix setup


Can/will someone help me configure Postfix on my RedHat (Fedora Core 1)

ICQ: 191877201

Plz...


Ive have read this "HOW TO" - but im not quite sure if im doing it right and i dont want to make som Open Relay:
-----------------------------------------------------------------
http://www.redhat.com/support/resour...OWTO/x118.html

BTW i have installed it and ready to configure the "main.cf"
 
Old 04-03-2004, 02:53 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Configure it to do what? What kind of options are you looking to have, and what is desire for the final result? And since you have already configured the main.cf can you post up:
postconf -n
This will give us the information you have changed in your main.cf file and give us an idea of what we need to work on. And lastly, can you refrain from in the future tossing out your ICQ or any other info like "please email me for the answer" as it's really not the point of posting on the forums; rather, to post on the forums gives a complete discussion in a play b play format for those who are looking for similar help. Thanks!

Cool
 
Old 04-03-2004, 03:48 PM   #3
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Original Poster
Rep: Reputation: 15
Okay I'm sorry dont get mad at me... I posted my ICQ number because it a little bit easier to talk over ICQ than posting 1 million replies. But here we go then....

Configure it to do what? What kind of options are you looking to have, and what is desire for the final result? And since you have already configured the main.cf can you post up:

I'm planning on running one domain on the server and i should support POP3 and perhaps IMAP.
Im not finished with the "main.cf" yet.

Perhaps you can help me then i have some questions...

1. Do I have to set up a MySQL server to run Postfix ? Can it run with MySQL support (would rather do that) because im n00b?

2. shall i open port 25 and port 110 in my router ?

------------------------------------------------------
btw I tried to run the command "postconf -n" as you told me but i wouldn't work. Can i give some other information that can help you answering me... ?
 
Old 04-15-2004, 08:03 PM   #4
JoKeR0225
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Rep: Reputation: 0
Postfix

Ok, I run Postfix on my debian server. I dont use MySQL because there really is no need for it unless you are starting up your own ISP and dont want to add users to your server and want postfix-mysql to handle that. I also use the Maildir/ style mailboxes with IMAP. So here is what i recommend.

1. Do I have to set up a MySQL server to run Postfix ? No. Can it run with MySQL support (would rather do that) because im n00b? Dont do it that way as a n00b

2. shall i open port 25 and port 110 in my router ? Open port 25, 110 and 143 (for IMAP)

What else are you having problems with?
 
Old 04-17-2004, 05:54 AM   #5
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Original Poster
Rep: Reputation: 15
> What else are you having problems with?

I have setup Postfix. But i need something for my incoming mail also - perhaps MailCourier or something. Dont you think so ?
 
Old 04-17-2004, 01:56 PM   #6
JoKeR0225
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Rep: Reputation: 0
Incoming Mail

So, now that you have postfix working i take it you can send mail but not recieve it? Also, what type of mail client are you using to send and recieve mail with (mutt, pine, outlook). Would you rather use POP or IMAP? Also, what Linux platfform are you using? Like I said eariler, I use Debian and I am also running IMAP for my incomming mail. I recommed getting courier-imap installed. Once it is installed all you need to do is make sure it is running and you'll be able to recieve mail. Also, you wrote that you are using a firewall - you may want to open up port 143 if you run IMAP. If you have any more questions let me know.

--
AJ
 
Old 04-18-2004, 05:00 AM   #7
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Original Poster
Rep: Reputation: 15
I have 2 PC's

My Linux server:
P4 2,4 GHz
Fedora Core 1 (RedHat)
10.0.0.3

My workstation:
Windows XP
10.0.0.2
Mail client: Microsoft Outlook Express

I have a NAT firewall in my router. But i havnt tried to send mail yet. But right now i would like to set up Courier-IMAP to get the incoming mail working.

Do you know how to install Courier IMAP on redhat ? Which ffiles shall i use.?
 
Old 04-18-2004, 04:11 PM   #8
JoKeR0225
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Rep: Reputation: 0
Fedora

I never used Fedora. The last Time I even used Red hat was when version 7.0 came out. I am not a fan of RPM installations. I like SRC or .DEB pakcage installations. I am a big fan of Gentoo and Debian. If you want to install courier via RPm then you need to download the RPM from redhats mirror site and run the following to install it:

rpm -ivh courier-imap-version

It should install into /etc/courier or /ect/courier-imap

After it installs all you need to do is run /etc/init.d/courier start (this should start the courier-imap daemon for fedora, it does for debian)

after that if you run a ps -aux | grep courier you should see the daemon running.

Then configure you Outlook to use the following incomming and outgoing servers.

incoming use IMAP: 10.0.0.3
outgoing SMTP: 10.0.0.3

this points your incomming mail server (10.0.0.3) to your outlook client to recieve mail and allows you to send mail via SMTP from outlook to 10.0.0.3 (fedora linux smtp server 'Postfix')

you also want to make sure that when you send mail to a user on you box (10.0.0.3) and that their is a Maildir/ directory that gets created after you send it. If that doesnt happen then you need to make sure this line is in your /etc/postfix/main.cf file:

home_mailbox = Maildir/

you can also check you logs for postfix to see if there are any errors and if something looks wierd send it to me:

tail -25 /var/log/mail.log (for debian, not sure where for fedora, maybe the same)

or tail -f /var/log/mail.log to watch logs get written in realtime as you send mail

Good Luck

Let me know idf this works.
 
Old 04-19-2004, 12:50 PM   #9
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Original Poster
Rep: Reputation: 15
okay nice thank you for your answer!! Do you know where I can find the newest RPM-version of Courier-IMAP ?

Perhaps you cant post URL's yet
 
Old 04-20-2004, 08:56 PM   #10
JoKeR0225
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Rep: Reputation: 0
Courier-Imap Package

try the following:
http://rpm.nogin.org/random/rh72/cou....7.2.i386.html

it should also come with fedora on the CD.
 
  


Reply


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
Postfix setup help Charles Daniel Linux - Security 4 10-31-2004 12:24 PM
postfix setup problem deuce868 Linux - Networking 8 04-25-2004 09:40 PM
Postfix Setup Questions? frankd99 Linux - Newbie 1 01-24-2004 08:04 PM
Postfix Setup Help shaggystyle Linux - Networking 1 12-22-2003 01:21 PM
Postfix Setup Help shaggystyle Linux - Newbie 1 12-22-2003 12:49 PM


All times are GMT -5. The time now is 09:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration