johnbot Posted April 21, 2003 Report Share Posted April 21, 2003 I have added the default email notification script to the retrospect.exe folder and have edited the mail server and email address fiields. I can tell retrospect runs the script when starting and exiting but i fail to receive any mail. ugh. I have also tested the smtp im using from the backup server just to be sure. Why am i not receiving these notifications????? Here is the notification.bat config... (just the actual server and email settings). Does anyone have any idea about this? Thanks John ---- REM -------- Begin Email Group Properties ------------------------------------- REM You need to edit the following email group properties. REM Put your mail server here set kMailServer="smtp-server.domain.com" - this server does work from the backup machine REM Email address of the sender set kMailSender="sender name<jflilley@domain.com>" REM To send mail to more than one person, enter the addresses separated by REM semicolons, for example: REM "name one<jflilley@domain.com>;name two<jflilley@domain.com>" REM These recipients will get emails for all events set kMainGroup="name one<jflilley@domain.com>" REM These recipients will get emails only when fatal errors occur set kFatalErrorGroup="" REM These recipients will get emails when there is no fatal error set kSuccessGroup="" REM These recipients will get emails only when Retrospect needs new media set kMediaRequestGroup="" REM The following is the time at which the MediaRequest message is sent. REM The time unit must be in 5 minute increments and the minimum value is 5 minutes. set MediaRequestNotificationTime="5" REM -------- End of Email Group Properites ------------------------------------ Quote Link to comment Share on other sites More sharing options...
Mayoff Posted April 21, 2003 Report Share Posted April 21, 2003 Does your mail server require authentication? The Mail script does not work well with servers that require user's authenticate prior to sending mail. Quote Link to comment Share on other sites More sharing options...
johnbot Posted April 21, 2003 Author Report Share Posted April 21, 2003 no, no authentication needed with our smtp servers. any other ideas? any problems with my mail group setup? This is really making me crazy. Does the new 6 multiserv version come with integrated mail notification? Thanks John Quote Link to comment Share on other sites More sharing options...
AmyJ Posted April 22, 2003 Report Share Posted April 22, 2003 If you're using Exchange Server, try taking out "Sender Name" in the entries For example: Original: set kMailSender="sender name<jflilley@domain.com>" Revised: set kMailSender="<jflilley@domain.com>" and: Original: REM "name one<jflilley@domain.com>;name two<jflilley@domain.com>" Revised: REM "<jflilley@domain.com>;<jflilley@domain.com>" Etc. Quote Link to comment Share on other sites More sharing options...
johnbot Posted April 22, 2003 Author Report Share Posted April 22, 2003 Thanks for the info but it did not effect anything : ( ..... The has to be something up with the script because I ran the MAILSNDR.EXE via the command line with this info and it worked without a problem (received the email). mailsndr -p smtp-server.mydomain.edu testingmailsndr ee2_backup@domain.edu -t john@domain.edu testmail.txt this works and sends a message titled 'testingmailsndr' from ee2_backup to my account (john@domain.edu) including the text file testmail.txt. I've included my revised bat file below, which still does not work. (i've also tested this on two seperate backup servers, one running our backup server 5 and another running a trial version of 6). It hurts to think that ill have to live without email notifiication especially after having this same function in many other backup applications of the same price range. I've been looking at upgrading to multiserv 6 but I need to iron this issue out hopefully with your help? Anyone? Thanks John REM -------- Begin Email Group Properties ------------------------------------- REM You need to edit the following email group properties. REM Put your mail server here set kMailServer="smtp-server.domain.edu" REM Email address of the sender set kMailSender="ee2_backup@domain.edu>" REM To send mail to more than one person, enter the addresses separated by REM semicolons, for example: REM "john@domain.edu" REM These recipients will get emails for all events set kMainGroup="john@domain.edu" REM These recipients will get emails only when fatal errors occur set kFatalErrorGroup="" REM These recipients will get emails when there is no fatal error set kSuccessGroup="" REM These recipients will get emails only when Retrospect needs new media set kMediaRequestGroup="" REM The following is the time at which the MediaRequest message is sent. REM The time unit must be in 5 minute increments and the minimum value is 5 minutes. set MediaRequestNotificationTime="5" REM -------- End of Email Group Properites ------------------------------------ Quote Link to comment Share on other sites More sharing options...
AmyJ Posted April 22, 2003 Report Share Posted April 22, 2003 I just took the batch file and made the following three changes, then started Proactive Backup and then stopped Proactive Backup. An email popped into my mailbox. I'm not sure what's not working in your environment. You may want to delete the External Scripts folder and then do a custom install of Retrospect so the folder is replaced. Maybe the file is corrupted, or another line was changed somewhere. Are you putting the retroeventhandler in the Retrospect program folder? REM -------- Begin Email Group Properties ------------------------------------- REM You need to edit the following email group properties. REM Put your mail server here set kMailServer="mail.domain.com" REM Email address of the sender set kMailSender="<amy.lastname@domain.com>" REM To send mail to more than one person, enter the addresses separated by REM semicolons, for example: REM "name one<name_one@your_company.com>;name two<name_two@your_company.com>" REM These recipients will get emails for all events set kMainGroup="<amy.lastname@domain.com>" Quote Link to comment Share on other sites More sharing options...
johnbot Posted April 24, 2003 Author Report Share Posted April 24, 2003 Well, i got it working! , I just specified the IP address of the SMTP server instead of the dns name. Who knows why this was not working because the MAILSNDR.exe program had no problem with me specifying my smtp servers dns name. Maybe is because my dns name has a - in it? hmmmm. (smtp-server.domain.edu) . Anyhow I recieve successful and error msgs. QUESTION- does anyone know why the script wont email when starting and stopping retrospect? I can SEE the mailsndr app flash on the screen when i start or stop retrospect, so it is attempting to send me something, maybe retrospect is not passing any data to it? Thanks John Quote Link to comment Share on other sites More sharing options...
AmyJ Posted April 29, 2003 Report Share Posted April 29, 2003 The User's Guide should outline additional changes required when configuring the Event Handler to work with Backup Server scripts (starting Backup Server / stopping Backup Server) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.