Posted about 1 year ago
My war with Postfix wages on. However I have resolved an issue that has been haunting my email server for quite some time now!
I constantly received a mail loop error when postmaster notifications were being sent to mail.skiblerspot.net. I knew it was something simple but never spent the time to track down what was missing. Perhaps I made the assumption that if Postfix knows to accept mail for skiblerspot.net it will automatically accept mail for mail.skiblerspot.net. This is an incorrect assumption and rightly so as this would be a terrible feature.
My problem was solved by simply changing:
mydestination = localhost, localhost.localdomain
to
mydestination = localhost, localhost.localdomain skiblerspot mail.skiblerspot.net
Adding skiblerspot was unnecessary to fix my immediate issue but I figured it doesn't hurt. Notice that I could have also added mail.skiblerspot.net to my virtual mail boxes database. I think in my case adding the hostname to mydestination is a better solution. Though if I were expecting mail for other users and wanted to create aliases for this domain I would then add it to virtual mail box database instead. Note that a domain should NEVER be in both places (mydestination and virtual mail box database).
This page notes on postfix configuration helped me realize my mistake.
Sean
Posted in Network Admin, Linux, Tech | no comments
Posted about 1 year ago
I had a little trouble installing lm_sensors on my Acer 5610 laptop running Gentoo 2.6.27-r8. I will describe what I did to successfully install lm_sensors and its dependencies.
Stuttering on read-edid
My main issue with installing lm_sensors is that one of its dependencies x11-misc/read-edid-1.4.1-r1 seems to be broken for my kernel version. I found a patch Gentoo Bug 252701 and downloaded it. After messing around for a little bit I figured out how to have ebuild patch the install for me so I can stay within the Gentoo packaging system.
Note that package ebuilds and other data are stored under /usr/portage directory. In this case if one were to look in /usr/portage/x11-misc/read-edid/ they would find an ebuild for each version of read-edid as well as a files directory. In that files directory might reside some patch files. I noticed that during an emerge these patches are applied. So I took the patch I downloaded and tossed it in /usr/portage/x11-misc/read-edid/files.
Confessing to ebuild
Now don't think ebuild is so stupid as to just let you be on your jolly way emerging this package with the new patch. It will be sure to let you know that the checksums are incorrect. So lets have ebuild regenerate the manifest for this ebuild.
sudo ebuild /usr/portage/x11-misc/read-edid/read-edid-1.4.1-r1.ebuild manifest
Now that ebuild has been appeased try to emerge read-edid alone or lm_sensors and ebuild should apply the patch to read-edid and the package should compile and install. Unlike Debian and Ubuntu lm_sensors for Gentoo seems to require not only that you load modules but also that a daemon be run so you will need to start that.
sudo /etc/init.d/lm_sensors start
Notes
One note, I actually rsync'ed the patch file from the link above over whatever patch was in the files directory. I don't think this is recommended but if you must do so at least make a backup of whatever patch file currently exists there.
If any instructions here weren't clear enough for you then you may contact me. Don't necessarily expect a response though, I'm a busy person!
Hope this helps someone
Sean
Posted in Linux, Tech | no comments