Please help with postfix configuration (also apt problem)
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Please help with postfix configuration (also apt problem)
So I am relatively new to Linux.
I have a VPS (Virtual Private Server) running Debian 4 etch and it is giving me some trouble - installing various packages and what not.
For example, I am trying to install webmin using apt-get and it bombs with:
W: Couldn't stat source package list cdrom://[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 CD Binary-1 20080102-13:35] etch/contrib Packages (/var/lib/apt/lists/Debian%20GNU_Linux%204.0%20r2%20%5fEtch%5f%20-%20Official%20i386%20CD%20Binary-1%2020080102-13:35_dists_etch_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list cdrom://[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 CD Binary-1 20080102-13:35] etch/main Packages (/var/lib/apt/lists/Debian%20GNU_Linux%204.0%20r2%20%5fEtch%5f%20-%20Official%20i386%20CD%20Binary-1%2020080102-13:35_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
Ironically, if I try to run apt-get update I receive the exact same error message.
That is one issue, and pardon me for digressing as I originally wanted to post looking for some help with configuring e-mail flow.
For the purposes of my post you can assume all DNS records are configured properly (MX, A, CNAME).
I scoured the forum and the best I could find was to edit the "configuration file" for postfix under etc/postfix to create user mailboxes.
Ok, great, so I VI'ed main.cf and master.cf, but I could not identify where or how to modify which one in order to create mail boxes
For right now I would be happy with just one mailbox for myself other than root.
Thanks in advance for indulging me!
Edit the /etc/apt/sources.list file and comment out hte CDROM line.. Update and try again. although I don't think webmin is in etch.. you ned to download the .deb from webmin.com and use dpkg to install it.
default@debianetch:~$ cat /etc/apt/sources.list# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 NETINST Binary-1 20070407-11:29]/ etch contrib main
deb http://ftp.uwsg.indiana.edu/linux/debian/ etch main contrib non-free
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ etch main contrib non-free
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free
I just use regular users with postfix.. nothing fancy. Create a normal user, postfix uses courier-maildrop to deliver mail to a Maildir folder in the users directory.. unfortunately it looks like how-to forge retired the how-to I used when I initially set it up..
Postfix doesn't use maildrop by default, but will deliver to either mbox or maildir directly, depending on setup.
That did sound like I was implying that maildrop was used by default with postfix, didn't it? Not my intention at all, I was only referring to my particular setup. Thanks for pointing out my poorly worded description to avoid confusion for the OP.
Thanks for your replies.
To be perfectly "Frank" <g> you guys are way over my head.
I want to thank you also for the instructions on retrieving and installing webmin.
Would you mind telling me whether or not I will be able to administer postfix once I have webmin installed?
If it is not obvious the majority of my experience has been in Windows.
For me, a graphical interface to administer my mail Server would be really helpful.
I checked out howtoforge.net (thanks for that too! wealth of knowledge and resources) but was unsuccesful in locating a "how to" on working with mbox and/or maildir. I am guessing these are "helper" tools to process incoming mail?
Would you please explain the process of what exactly each piece does? What I mean is, what exactly is the role of postfix? And then where do the other two fit in?
Thanks once again for your indulgence.
Your humble servant,
It depends what you mean by administer. postfix is jut a mail transfer agent (MTA) that eith recieves mail via smtp and delivers it locally or forwards it to another server (elsewhere on the net for instance).
Once set up, there's very little to administer. Adding users isn't a postfix issue necessarily - normally you would either add a user to the server (a unix user) or a virtual user (a postfix thing). Which yo do wil ldepend on what you are trying to acheive. The former is what farslayer means by normal users. If you only have two isers on your machine (root and yourself) then these shoudl both be able to receive email.
Why don't you let us know what you are trying to do and we can help you with that. i don't think we know enough from your original post.
Thanks for taking an interest...in my cause :-)
I intend to use this machine as a List Server, for my own purposes, and a Web Server as well.
I would like to create an alias e-mail address firstname.lastname@example.org, and have that directed to my own mailbox at example.com and be able to retrieve the e-mail from my Outlook client.
As far as the List Server goes, I am studying up on Mailman and will try to educate myself before looking for help here. But I must say, now that I have it installed and running, the web adminisration interface makes it relatively straightforward.