LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-25-2003, 06:23 PM   #1
JM_Fraser
Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: RH
Posts: 24

Rep: Reputation: 15
can't start/stop Postfix/External mail


Thank God I stumbled onto your website. I have installed Postfix because my ISP keeps screwing up with my mail server. I have my own domain name registration but whenever I try and start Postfix from: /sbin/service postfix start I get an error msg which states that the service has FAILED.

The main.cf file is listed below. I've reloaded the file but I cannot start Postfix. WHAT I need to be able to do is for mail sent to my domain name to end up in my new server. Do I need to download IMAP also? If so, where do I get a copy from, what version?

Any help would be much appreciated. I have removed Sendmail usring rpm -e and moved the configuration files somewhere else.

with much thanks. JM



# LOCAL PATHNAME INFORMATION
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix

# QUEUE AND PROCESS OWNERSHIP
mail_owner = postfix

# INTERNET HOST AND DOMAIN NAMES
myhostname = duda.yourdomain.com
mydomain = yourdomain.com


# SENDING MAIL
myorigin = $myhostname


# RECEIVING MAIL
inet_interfaces = all
mydestination = yourservershostname.yourdomain.com yourservershostname localhost localhost.$mydomain


# REJECTING UNKNOWN LOCAL USERS
#local_recipient_maps = $alias_maps unixasswd.byname


# ADDRESS REWRITING
allow_percent_hack = yes
append_at_myorigin = yes
append_dot_mydomain = yes
empty_address_recipient = MAILER-DAEMON
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = $myorigin
masquerade_exceptions = root


# ALIAS DATABASE
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases


# DELIVERY TO MAILBOX
mailbox_command = /usr/bin/procmail
#luser_relay = $user@yourdomain.com
 
Old 11-26-2003, 02:05 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Are there any log entries created when you try to start it?
 
Old 11-26-2003, 02:11 PM   #3
JM_Fraser
Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: RH
Posts: 24

Original Poster
Rep: Reputation: 15
why do I go to see log entries?
 
Old 11-26-2003, 02:12 PM   #4
JM_Fraser
Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: RH
Posts: 24

Original Poster
Rep: Reputation: 15
sorry, I meant "where" do I go to find log entries not "why!" thx
 
Old 11-26-2003, 02:31 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try:
/var/log/maillog
/var/log/messages

oh - happy birthday by the way
 
Old 11-26-2003, 02:47 PM   #6
JM_Fraser
Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: RH
Posts: 24

Original Poster
Rep: Reputation: 15
Within main.cf, I have specified my relayhost as my gateway/router ip addr. I am now guessing this is wrong because the log says "connection refused." What should this parameter be and how can I ensure that I am able to receive and send mail inside and out of my network?
 
  


Reply



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 - external mail reader doesn't get messages Danny Regan Debian 3 11-16-2005 07:30 AM
POSTFIX won't recieve external mail deviance99 Linux - Networking 2 10-16-2004 04:57 PM
Postfix can't receive external mail kantoboy Linux - Networking 4 09-03-2004 11:57 AM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 03:41 PM
can't start/stop postfix/external mail JM_Fraser Linux - Networking 0 11-25-2003 03:01 PM

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

All times are GMT -5. The time now is 03:59 PM.

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