Author Topic: Help Setting Up 'Email' In 'LuckyBackup. (Solved)  (Read 1352 times)

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 637
  • I Only 'Clean' Windows !.
Help Setting Up 'Email' In 'LuckyBackup. (Solved)
« on: May 09, 2012, 04:14:34 PM »
I have been working on a automatic backup of my daughters laptop for when she goes to uni, Using 'Luckybackup' it will send a backup to a server back at home .
I would like to get the 'send email' function working in luckybackup, I have installed 'Sendmail'.

I have followed the 'Help' file for luckybackup but get this error message when trying to send a test email.


"The specified command is probably not installed
command:   sendemail
exit code: 0
output:    No such file or directory"
« Last Edit: May 24, 2012, 07:29:39 AM by pclinmike »
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11589
  • ----IOFLU----
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #1 on: May 09, 2012, 08:22:11 PM »
I have been working on a automatic backup of my daughters laptop for when she goes to uni, Using 'Luckybackup' it will send a backup to a server back at home .
I would like to get the 'send email' function working in luckybackup, I have installed 'Sendmail'.

I have followed the 'Help' file for luckybackup but get this error message when trying to send a test email.


"The specified command is probably not installed
command:   sendemail
exit code: 0
output:    No such file or directory"


Maybe if the command was sendmail instead of sendemail?
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 637
  • I Only 'Clean' Windows !.
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #2 on: May 10, 2012, 03:18:18 AM »
I have been working on a automatic backup of my daughters laptop for when she goes to uni, Using 'Luckybackup' it will send a backup to a server back at home .
I would like to get the 'send email' function working in luckybackup, I have installed 'Sendmail'.

I have followed the 'Help' file for luckybackup but get this error message when trying to send a test email.


"The specified command is probably not installed
command:   sendemail
exit code: 0
output:    No such file or directory"


Maybe if the command was sendmail instead of sendemail?

Hello OP.
Yes I did notice.
But I copied and pasted that error message.!
This error was generated after I filled in the 'Luckybackup email GUI' and pressed 'Test' button .
Do you think it's an in-built faulty command ?
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11589
  • ----IOFLU----
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #3 on: May 10, 2012, 03:31:59 AM »
I have been working on a automatic backup of my daughters laptop for when she goes to uni, Using 'Luckybackup' it will send a backup to a server back at home .
I would like to get the 'send email' function working in luckybackup, I have installed 'Sendmail'.

I have followed the 'Help' file for luckybackup but get this error message when trying to send a test email.


"The specified command is probably not installed
command:   sendemail
exit code: 0
output:    No such file or directory"


Maybe if the command was sendmail instead of sendemail?

Hello OP.
Yes I did notice.
But I copied and pasted that error message.!
This error was generated after I filled in the 'Luckybackup email GUI' and pressed 'Test' button .
Do you think it's an in-built faulty command ?

I don't know. I don't use that application, so really don't know much about it other than it's basically a GUI front end to rsync, which I use from the command line. Have you checked the configuration files for it? It could be a typo somewhere.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 637
  • I Only 'Clean' Windows !.
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #4 on: May 10, 2012, 07:26:40 AM »
Just had a look again at the 'Help' file   http://luckybackup.sourceforge.net/manual.html#emailTest
If you look in the test box it does say sendemail
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 637
  • I Only 'Clean' Windows !.
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #5 on: May 10, 2012, 04:05:42 PM »
Trying to start 'sendmail' in a terminal


# sendmail
/etc/mail/submit.cf: line 556: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory


Any ideas please.
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5335
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #6 on: May 10, 2012, 11:45:54 PM »
Trying to start 'sendmail' in a terminal


# sendmail
/etc/mail/submit.cf: line 556: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory


Any ideas please.

It is telling you the permissions for the folder /etc/mail/trusted-users is wrong!  The permission for files/folders in /etc/mail should be rw-r--r (644) They must also have the gid:uid of root.  May I ask if there is some specific reason that you are using sendmail?




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #7 on: May 11, 2012, 02:39:19 AM »
pclinmike,

In the LuckyBackup GUI, click on Profile > Email. Change the command in the first dialog box to what you want it to be. I don't know of a sendemail command. I have LuckyBackup installed, and there's no script for it, either. The closest thing I can find on my system is /usr/share/vim/ftplugin/gitsendemail.vim, which is a Vim plugin, not related to LuckyBackup.

Note, I've never tried the email function in LuckyBackup.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 637
  • I Only 'Clean' Windows !.
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #8 on: May 11, 2012, 05:36:14 AM »
Trying to start 'sendmail' in a terminal


# sendmail
/etc/mail/submit.cf: line 556: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory


Any ideas please.

It is telling you the permissions for the folder /etc/mail/trusted-users is wrong!  The permission for files/folders in /etc/mail should be rw-r--r (644) They must also have the gid:uid of root.  May I ask if there is some specific reason that you are using sendmail?
Thanks I did think it was the 'permissions' and will try changing them later.
Sendmail is the default mail sender for Luckybackup


pclinmike,

In the LuckyBackup GUI, click on Profile > Email. Change the command in the first dialog box to what you want it to be. I don't know of a sendemail command. I have LuckyBackup installed, and there's no script for it, either. The closest thing I can find on my system is /usr/share/vim/ftplugin/gitsendemail.vim, which is a Vim plugin, not related to LuckyBackup.

Note, I've never tried the email function in LuckyBackup.



If you have a few minutes could you install the 'sendmail' package and try it for me being you use Luckybackup ! , I find the sendmail web site help hard going.
I have to get a working system for my daughters laptop before she goes to uni (she uses PCLinuxOS )  :).
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #9 on: May 11, 2012, 05:34:16 PM »

If you have a few minutes could you install the 'sendmail' package and try it for me being you use Luckybackup ! , I find the sendmail web site help hard going.
I have to get a working system for my daughters laptop before she goes to uni (she uses PCLinuxOS )  :).


Okay, but it will be a while before I get to it.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 637
  • I Only 'Clean' Windows !.
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #10 on: May 24, 2012, 07:28:35 AM »
Well I got in touch with the owner  http://sourceforge.net/projects/luckybackup/forums/forum/873564/topic/5279228
 I was going wrong by installing 'Sendmail' via the package manager because I must have had my wrong glasses on I wanted 'sendemail' which we do not have in synaptic PM (maybe we could include it !) .
With the correct mail sender it work spot on. ;)
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #11 on: May 24, 2012, 02:14:38 PM »
Well I got in touch with the owner  http://sourceforge.net/projects/luckybackup/forums/forum/873564/topic/5279228
 I was going wrong by installing 'Sendmail' via the package manager because I must have had my wrong glasses on I wanted 'sendemail' which we do not have in synaptic PM (maybe we could include it !) .
With the correct mail sender it work spot on. ;)

Thanks for posting the solution. Sendmail requires a running DNS, or a connection to a DNS, with MX records configured for your domain. It is a lot more complicated than I first thought, and entire books have been written on sendmail configuration and administration. I had been trying, on and off, to use different mail programs instead of sendmail. So far, with no success.

Persistence pays off. I'm glad you solved this. It's a load off my mind. Now, if I could figure out a pesky Postgres problem ...

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5335
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #12 on: May 24, 2012, 05:46:48 PM »
Well I got in touch with the owner  http://sourceforge.net/projects/luckybackup/forums/forum/873564/topic/5279228
 I was going wrong by installing 'Sendmail' via the package manager because I must have had my wrong glasses on I wanted 'sendemail' which we do not have in synaptic PM (maybe we could include it !) .
With the correct mail sender it work spot on. ;)

Thanks for posting the solution. Sendmail requires a running DNS, or a connection to a DNS, with MX records configured for your domain. It is a lot more complicated than I first thought, and entire books have been written on sendmail configuration and administration. I had been trying, on and off, to use different mail programs instead of sendmail. So far, with no success.


Try using Postfix!  It is super simple, compared to sendmail.  Perhaps I will do a write up for installing and using postfix sometime soon.

Quote
Persistence pays off. I'm glad you solved this. It's a load off my mind. Now, if I could figure out a pesky Postgres problem ...






Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Help Setting Up 'Email' In 'LuckyBackup.
« Reply #13 on: May 24, 2012, 08:33:23 PM »

Try using Postfix!  It is super simple, compared to sendmail.  Perhaps I will do a write up for installing and using postfix sometime soon.


Thanks. I will. I didn't think of that one.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline greywolf

  • Full Member
  • ***
  • Posts: 145
Re: Help Setting Up 'Email' In 'LuckyBackup. (Solved)
« Reply #14 on: May 24, 2012, 09:59:02 PM »
Or you can try Exim4 which is in the repos. More robust than Postfix, IMHO, and not too difficult to set up a simple server, see
http://www.exim.org/docs.html

cheers,
Greywolf.
Life isn't about waiting for the storm to pass...
it's about learning to dance in the rain.