Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.