Well, login as bacula and run this command
   /etc/bacula/bin/bsmtp -h mail.tele.dk -f "(Bacula) [EMAIL PROTECTED]" -s  
"Bacula: Backup OK of epohost-fd Full" [EMAIL PROTECTED]

When this works, the problems in bacula will go away.

As for why it does a DNS query - it needs its own hostname for the  
SMTP transaction.  Edit /etc/hosts and be done with it.

On Aug 2, 2006, at 8:31 AM, Erik P. Olsen wrote:
> I don't understand how the bsmtp works. I thought I had found the  
> correct
> syntax, but I keep getting errors I don't understand. The following  
> is the error
> messages that I find in the console:
>
> 02-Aug 002:51 epo-dir: message.c:454 Mail prog: bsmtp: bsmtp.c:230  
> Fatal
> gethostbyname for myself failed "epohost": ERR=Success
> 02-Aug 02:51 epo-dir: BackupCatalog.2006-08-02_02.15.00 Error:  
> message.c:465
> Mail program terminated in error.
> CMD=/etc/bacula/bin/bsmtp -h mail.tele.dk -f "(Bacula) [EMAIL PROTECTED]"  
> -s "Bacula:
> Backup OK of epohost-fd Full" [EMAIL PROTECTED]
>
> What can possibly be wrong? mail.tele.dk is the normal smtp server  
> I use with
> all mail and should be correct. Why does bsmtp issue gethostbyname  
> for epohost?
> I see no need for that.

-- 
Jo Rhett
senior geek
Silicon Valley Colocation


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to