Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Trying to configure postfix on a machine, following the postfix HOWTO on the website and after editing /etc/postfix/main.cf I get get an error from postfix reload. The error is as follows:
Quote:
postfix: fatal: file /etc/postfix/main.cf: parameter mail_owner: unknown user name value: postfix myorigin = toothlessrebel.org mydestination = toothlessrebel.org, brandontechclub.org
$myorigin should be fine, most mail leaving this machine is nothing and can be marked from that domain.
$mydestination I believe is correct, as the server should eventually expect mail from both of these domains.
mail_owner is a major problem. I believe the user exists, from /etc/passwd:
Quote:
postfix::5000:102:postfix user::/bin/bash
Also, I can su to the user from the root account.
This is what I believe to be the pertinent portion of /etc/postfix/main.cf:
Quote:
# QUEUE AND PROCESS OWNERSHIP
#
# The mail_owner parameter specifies the owner of the Postfix queue
# and of most Postfix daemon processes. Specify the name of a user
# account THAT DOES NOT SHARE ITS USER OR GROUP ID WITH OTHER ACCOUNTS
# AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM. In
# particular, don't specify nobody or daemon. PLEASE USE A DEDICATED
# USER.
#
mail_owner = postfix
Make sure there are no spaces and tabs following newlines, unless you want to continue a line. Looking at the error leads me to believe that your config looks something like
Yeah, that was what was causing the error when the script was read. postfix now runs, but not properly. Trying to see what it is and is not doing, then will re-post.
Don't recognize anything in the mentioned article, and reading it over and trying to gleen what I can from it. As a side note, that form of the usage mail worked before I screwed up sendmail and decided to use postfix. Also, my machine can send mail to an outsail receipiant.
Make sure postfix is even running. It may not be after changing mail_owner. Probably a good idea to run 'postfix set-permissions'. Also check the logs (might be /var/log/maillog).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.