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
|