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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to use postmap to create a file to use for my virtual aliases for Postfix which I'm using Webmin to administer with. But whenever I issue the command postmap /etc/postfix/virtual I get the following error: -bash: /usr/sbin/postmap: Permission denied
I'm using Fedora 8 and logged in as root. Any ideas on this matter?
I'm stumped because I've tried this on another machine and it's worked perfect. I've installed Postfix via yum and also through the webmin interface itself (also uses the yum command), but also installed the Postfix module on the webmin website.
Are you somehow running the postmap command from webmin, or from a terminal session?
Trying to run this through SSH as I'm trying to setup the virtual db in order for Webmin to setup mailboxes in it's Virtualmin module when I create new sites. At the moment Virtualmin gives an error that it can't create the virtual mailboxes when I create a new site.
Mail for domain failed! : Failed to regenerate table /etc/postfix/virtual: at ../web-lib-funcs.pl line 982.
I just used the basic generated layout in the Fedora installation.
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
I appear to have solved this issue. I created a new basic install of Fedora 8, installed Postfix via Yum and still no luck with postmap, still getting permission errors. So I downloaded and installed Fedora 9 and success, it worked perfectly. Not sure why I received an error with a Fedora 8 install.