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 |
Are there any log entries created when you try to start it?
|
why do I go to see log entries?
|
sorry, I meant "where" do I go to find log entries not "why!" thx
|
Try:
/var/log/maillog /var/log/messages oh - happy birthday by the way ;) |
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. |