This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Backup/Restore send via email doesn't work

Hi All


After updating to clean version of 7.500 I am unable to receive the backups via email. Smtp is not configured at the moment (I am a home user). The config is the same as 7.490(previous version had that functionality working)

I can't see anything on the smtp log and on the mail manager. I am getting other mail from ASG (executive reports etc etc). I've tried to send a test backup up but still I am unable to get it

Picture attached


This thread was automatically locked due to age.
  • Look into your confd.log file and look for time 01:15am - this is the  time when the automatic backups are created.

    YOu have to see lines like this:
    2009:10:10-01:15:03 asg confd[28403]: id="3106" severity="info" sys="System" sub="confd" name="authentication successful" client="backup" facility="system" user="system" srcip="1
    27.0.0.1"
    2009:10:10-01:15:05 asg confd[28403]: id="310i" severity="info" sys="System" sub="confd" name="snapshot created" client="backup" facility="system" user="system" srcip="127.0.0.1"
    2009:10:10-01:15:05 asg confd[28403]: id="310x" severity="info" sys="System" sub="confd" name="snapshot downloaded" client="backup" facility="system" user="system" srcip="127.0.0
    .1"
    2009:10:10-01:15:05 asg confd[28403]: Configuration Auto Backup
    2009:10:10-01:15:06 asg confd[28403]: id="3100" severity="info" sys="System" sub="confd" name="closing session OXeMRZEIizLZyZfpChPW: logout" client="backup" facility="system" use
    r="system" srcip="127.0.0.1"

    Do you? If now, post the log lines from confd.log from 01:15 -01:16

    Then look into smtp.log.

    You have to see log entries like this:

    2009:10:10-01:15:06 asg exim[15226]: 2009-10-10 01:15:06 SMTP connection from [127.0.0.1]:49683 (TCP/IP connection count = 1)
    2009:10:10-01:15:06 asg exim[28564]: 2009-10-10 01:15:06 H=localhost (localhost.localdomain) [127.0.0.1]:49683 Warning: ***xx.dyndns.org profile excludes greylisting: Skipping greylisting for this message
    2009:10:10-01:15:06 asg exim[28564]: 2009-10-10 01:15:06 [127.0.0.1] F= R= Accepted: from relay
    2009:10:10-01:15:07 asg exim[28564]: 2009-10-10 01:15:07 1MwOfy-0007Qi-2C myasg@******x.dyndns.org H=localhost (localhost.localdomain) [127.0.0.1]:49683 P=esmtp S=1158214 id=6015-03092-1255130106@asg.***xx.dyndns.org
    2009:10:10-01:15:07 asg exim[28564]: 2009-10-10 01:15:07 SMTP connection from localhost (localhost.localdomain) [127.0.0.1]:49683 closed by QUIT
    2009:10:10-01:15:08 asg smtpd[4206]: QMGR[4206]: 1MwOfy-0007Qi-2C moved to work queue
    2009:10:10-01:15:10 asg smtpd[28744]: SCANNER[28744]: id="1000" severity="info" sys="SecureMail" sub="smtp" name="email passed" srcip="127.0.0.1" from="myasg@***xx.dyndns.org" to="admin@yyyyy.dyndns.org" subject="[myasg.***xx.dyndns.org][INFO-010] Configuration Auto Backup" queueid="10wf3x-0007Qi-2C" size="1157515"


    Do you? If now, post the log lines from smtp.log from 01:15 -01:17
  • there is nothing either on the conf or the smtp (smtp proxy is turned off). The configuration for backups is ok though as per screenshot on initial email
    PS I've checked the logs by manually sending the backup to my email address. still nothing
  • Hi, do you have an SMTP smarthost setup? 
    You can set this in Notifications - Advanced (External SMTP server) or in the SMTP settings.

    Barry
  • there is nothing either on the conf or the smtp (smtp proxy is turned off). The configuration for backups is ok though as per screenshot on initial email


    Strange. if in the confd.log nothing is shown at the specific time, then the backup  isn´t even created on the ASG itself. Can you confirm this? Do you have the "automatic backups" in your list of backups?

    Please post the contents of /etc/crontab here.

    PS I've checked the logs by manually sending the backup to my email address. still nothing


    Strange. If you select an existing backup in webadmin, and press the "send" button, still nothing happens in smtp.log ?
  • Hi All

    Automatick backups are set Ölm

    I have smtp disabled cause I am a home user and I don't need it (option for setting smarthost is disabled since SMTP is disabled).

    I never had to set the external SMTP server for this to work

    I found that  all it needed was to select:

    Configuration Auto Backup
    Configuration Backup File

    to be send via email. 

    Looking at the smtp log:
    2009:10:11-10:41:56 *****  exim[6296]: 2009-10-11 10:41:56 SMTP connection from [127.0.0.1]:60955 (TCP/IP connection count = 1)
    
    2009:10:11-10:41:56 *****  exim[6481]: 2009-10-11 10:41:56 [127.0.0.1] F= R= Accepted: from relay
    2009:10:11-10:41:56 *****  exim[6481]: 2009-10-11 10:41:56 1Mwuw8-0001gX-25  *****  R=smarthost_route T=remote_smtp H=***** .gr [95.154.193.105]:25 X=TLSv1:AES256-SHA:256
    2009:10:11-10:42:22 *****  exim[6495]: 2009-10-11 10:42:22 117ur1-0001gX-25 Completed


    However, the configuration daemon log doesn't provide the information that Ölm suggested

    I think that for the automatic backups to be send via the send buton,the user shouldn't be required to check the relevant notification email.[more like a feature request]
  • What if you enable the smtp proxy, but you don't configure it?

    Cheers - Bob
  • What if you enable the smtp proxy, but you don't configure it?

    Cheers - Bob


    Hi Bob

    I've tried enabling the SMTP proxy but I found that the relevant notification boxes should be checked

    Configuration Auto Backup  (automatic backup)
    Configuration Backup File  (it is used for the send backup email)

    in order to work.

    At the moment I have not smtp proxy enabled and the relevant notification checked and backup email is sent/daily backup email works as well. I haven't enabled smtp smarthost [:)]
  • Great!  I just wanted to check that there wasn't a bug. 

    Cheers - Bob

  • Automatick backups are set Ölm


    That was not the answer to my question :-)
    I meant: if you go into the Backup/Restore menu, then you normally get a list of all the backup files that are on your ASG. All the "automatic backups" which you want to be sent to you via email, must be listed there, too (at least the last 10 ones), and they all have a comment like "Auto-backup".

    Are there any Backups with the comment "Auto-Backup" in your list? Can you provide a screenshoot of the "Backup - Backup/Restore" window.

    I have smtp disabled cause I am a home user and I don't need it (option for setting smarthost is disabled since SMTP is disabled).
    [QUOTE]
    Strange - it seems you HAVE indeed a smarthost set! So please check the smarthost setting respectively the need for this! See below.

    [QUOTE=wingman;124758]Looking at the smtp log:
    2009:10:11-10:42:22 *****  exim[6495]: 2009-10-11 10:42:22 117ur1-0001gX-25 => *****  R=smarthost_route T=remote_smtp H=***** .gr [95.154.193.105]:25 X=TLSv1:AES256-SHA:256
    2009:10:11-10:42:22 *****  exim[6495]: 2009-10-11 10:42:22 117ur1-0001gX-25 Completed[/CODE]

    This means: the backup file has been put in an email with the recipient ***** , and it has been successfully sent to the host 95.154.193.105, which is the MX for ***** .gr

    So you say that this mail never reached your inbox for *****  ? Then you have to check the logs of the mailserver, because the ASC has definetively sent it out successfully.

    Thrange enough, the smtp log shows "R=smarthost_route ", which menas that it hasn´t done DNS/MX resolution but sent it directly to the smarthost called ***** .gr - are you SURE you do not have a smarthost set?

    [QUOTE=wingman;124758]However, the configuration daemon log doesn't provide the information that Ölm suggested 


    Can you please post the content of yourt /etc/crontab file?
  • He solved the problem by checking the correct boxes.