Dan,

Thanks for responding so quickly.... to reply to your responses:

1. Yes, the old mail server is 192.168.1.5
2.  The /etc/hosts file has only the following entries:

   127.0.0.1               localhost.localdomain localhost
   192.168.73.27           bacula bacula.crary.com

3. bacula-dir.conf contains the following bsmtp options:

   Messages {
     Name = Standard
     mailcommand = "/home/bacula/bacula/sbin/bsmtp -h 192.168.73.5 -f
   \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
     operatorcommand = "/home/bacula/bacula/sbin/bsmtp -h 192.168.73.5
   -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
     mail = [EMAIL PROTECTED] = all, !skipped
     operator = [EMAIL PROTECTED] = mount
     console = all, !skipped, !saved
     append = "/home/bacula/bacula/bin/working/log" = all, !skipped
   }


   Messages {
     Name = Daemon
     mailcommand = "/home/bacula/bacula/sbin/bsmtp -h 192.168.73.5 -f
   \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
     mail = [EMAIL PROTECTED] = all, !skipped
     console = all, !skipped, !saved
     append = "/home/bacula/bacula/bin/working/log" = all, !skipped
   }




Dan Langille wrote:

On 22 Aug 2005 at 10:02, Bradley D. Larson wrote:

Recently we changed our subnet and everything in bacula works great with the one exception... It is still trying to email the backup status to the old email server...

How do you know it's trying to email to the old email servers?

Is that 192.168.1.5?

I have changed all configuration files I can find and searched for others but can not find where bacula is getting this IP address. I'm almost of the opinion that it was compiled into the executable at install time! May it never be!!! About the only thing I have left is to un-install/re-install.

Have you checked /etc/hosts on the director?

As I mentioned before... everything works great other than this email notification.

Below is the actual error...

22-Aug 01:17 bacula-dir: BackupCatalog.2005-08-22_01.10.01 Error:
message.c:473 Mail program terminated in error.
CMD=/home/bacula/bacula/sbin/bsmtp -h 192.168.1.5 -f "(Bacula)
[EMAIL PROTECTED]" -s "Bacula: Backup OK of bacula-fd Full"
[EMAIL PROTECTED] ERR=Child died from signal 15: Termination

Does bacula-dir.conf have a line like this?

mailcommand = "/usr/local/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"

Perhaps you have put something else in place of localhost above?


--
Bradley Larson
Terramarc / Crary -- Manager of Information Systems
PO Box 849
NW 12th St
West Fargo  ND  58078  USA

voice: 701-282-5520  ext 352         fax: 701-282-9522
www.terramarc.com                    [EMAIL PROTECTED]




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to