LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-09-2009, 10:56 PM   #1
crecker
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Postfix setup help - smoothwall fedora postfix godaddy


Hi folks I'm looking for some help, well to be honest probably some hand holding. I'm trying to get a home based web server and mail server up and running. The web server seems to be working fine, that is I can access the simple test page I created via my domain name. My real stumbling point is with Postfix. Just not sure of the next steps.

Here is my environment. I have Smoothwall running on a red-green network with a couple of Fedora 10 desktops and a Fedora 10 server(web and mail) on the green network. (Yes I know I should put the server in the DMZ, but please lets look past that for the time being.) I have a domain registered with godaddy, call it "cougar.com" and also and email address with the domain, call it "user@cougar.com". My server has a hostname of "oliver.cougar.com"

I want to be able to utilize smtp, TLS and POP3 to send and received email with Thunderbird through the Postfix server for various new mail accounts, call them "mark@cougar.com" and "ted@cougar.com" as well as "oliver@cougar.com"

What are my next steps to configure Postfix to process email for "user@cougar.com" "mark@cougar.com" "ted@cougar.com" and use Dovecot, spamassassin, and clamav? Please, I'm really looking for some step-by-step help here, not just "go read the documentation". I've done that along with various tutorials and they have left me looking crossed-eyed.
 
Old 01-10-2009, 12:02 AM   #2
nathacof
Member
 
Registered: Aug 2004
Location: Bear, DE, USA
Distribution: Slackware 11, CentOS 5.2, Ubuntu
Posts: 124

Rep: Reputation: 17
I've got a tutorial on setting up PostFix and Dovecot. Check it out, you may find it useful as a starting point.

Also see the Dovecot Wiki for some good examples.

See the Spammassassin Wiki for examples of integrating SA with PostFix,

Nathanial Coffield, Support Engineer, ncoffield@hostmysite.com, HostMySite.com

Last edited by nathacof; 01-10-2009 at 12:12 AM.
 
Old 01-10-2009, 12:06 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Two things you need for a start - the WAN needs to be able to access port 25 (if destination port 25 OK from outside), and you need an MX record on your nameserver(s) pointing to your server (similar to the A record you must have if your http is working).

What do you mean you have an email address set up? postfix by default will accept mail for valid Linux users, so if you have a user mark, it should receive mail for mark@cougar.com.

Edit /etc/postfix/main.cf to set mydomain to cougar.com, myhostname to whatever_your_hostname_is.cougar.com (these may not need to be set, since postfix will try and pick them up), and make sure mydestination includes cougar.com (again, this will probably be OK).

Make sure you start postfix (service postfix start) and starts on boot (chkconfig poastfix on).

Send yourself an email (try from the server first using:

Code:
mail -s test mark
type message, followed by control D
Make sure it gets delivered (use "tail /var/log/maillog")

Assuming that works, you need a pop/imap server. I'd suggest dovecot, and a simple "yum install dovecot" will sort that. It should work out of the box. Start it and make sure it starts on boot (see above).

You should now be be able to connect a mail client from a desktop and check mail (make sure ports 110 and 143 are open for pop/imap).

Now try sending a message from the WAN to yourself.

See how you go and come back with further questions.
 
  


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
How to setup Postfix and po3 server on Fedora 6 ? noborderman Linux - Networking 11 03-01-2012 11:45 PM
Postfix: postfix: fatal: chdir(/usr/libexec/postfix) Micro420 Ubuntu 2 07-13-2008 12:21 PM
Get Postfix to relay on 3535 to GoDaddy?? slozzy Linux - Newbie 3 03-18-2008 11:29 PM
Godaddy webmail & my postfix server hank43 Linux - General 3 10-10-2006 10:22 PM
How to setup postfix on Fedora BobC Linux - Networking 2 05-08-2004 12:19 PM

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

All times are GMT -5. The time now is 08:38 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