On Mon, Mar 12, 2012 at 8:45 AM, Sorin Srbu <sorin.s...@orgfarm.uu.se> wrote: >> > I looked at the /var/log/maillog and found a problem with the domain name, > see excerpt below. I'm not quite sure where it picked up > localhost.localdomain from and where to change it to the proper name. Does it > look in /etc/hosts or /etc/BackupPC/config.pl?
The actual hostname is set in /etc/sysconfig/network. >And FWIW, I can't find an /etc/sendmail.cf for some reason. Has this been >removed and set somewhere else maybe? RHEL/Centos put this under /etc/mail - and normally you would edit the much simpler sendmail.mc file, setting MASQUERADE_AS if you want it to pretend to be some other host. > Further, I discovered a problem with the installdir-variable on this > particular machine. It was set to /usr. Checking the working email BPC-server > I discovered that it should be /usr/share/BackupPC and changed it accordingly > and then restarted the BPC daemon. In fact, this errant variable might be why > restores have failed as it can't find the right scripts to run. Is this from the EPEL rpm version? > 1. Removed any reference to localhost.domain and/or localhost in my > /etc/hosts file. That seems likely to break things. > 2. Added "ALL: 127.0.0.1" in /etc/hosts.allow. > 3. And for good measure (not necessarily required) added "sendmail: > localhost" in /etc/hosts.allow. That, or an equivalent, should have been there by default. -- Les Mikesell lesmikes...@gmail.com ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/