LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't start/stop Postfix/External mail (https://www.linuxquestions.org/questions/linux-newbie-8/cant-start-stop-postfix-external-mail-119921/)

JM_Fraser 11-25-2003 06:23 PM

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

david_ross 11-26-2003 02:05 PM

Are there any log entries created when you try to start it?

JM_Fraser 11-26-2003 02:11 PM

why do I go to see log entries?

JM_Fraser 11-26-2003 02:12 PM

sorry, I meant "where" do I go to find log entries not "why!" thx

david_ross 11-26-2003 02:31 PM

Try:
/var/log/maillog
/var/log/messages

oh - happy birthday by the way ;)

JM_Fraser 11-26-2003 02:47 PM

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?


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