Comment out the lines at the end of the script so that the logs aren't deleted. You can then see what's happening. On my host, modwest.com, I see this error...
Error sending message, child exited 1 ().
./automysqlbackup.sh.2.5: line 675: 29585 Segmentation fault mutt -s "$ERRORNOTE MySQL Backup Log and SQL Files for $HOST - $DATE" $BACKUPFILES $MAILADDR <$LOGFILE
Google tells me that this is a bug in GCC that affects some optimized builds of mutt. So I'm thinking I can either ask my host to recompile mutt, or I can swap out the mutt code for a different mail sending method.
I hope this helps...
Chris.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay, this worked for me and it was easy. I'm using CentOS 4.5.
From root, I used yum to uninstall mutt.
[quote]yum remove mutt[/quote]
I typed "y" to accept. Mutt was removed.
Then I used yum to install mutt.
[quote]yum install mutt[/quote]
I typed "y" to accept. Mutt was installed.
Automysqlbackup is emailing again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have been using this amazing script for a long time in several shared hosting servers without any problem.
But now I am hosting several of my domains in a server where the script runs perfectly, but no email is sent to the specified address.
Is there any reason why this may be happening in this particular server, and is there something that can fix this ?
Comment out the lines at the end of the script so that the logs aren't deleted. You can then see what's happening. On my host, modwest.com, I see this error...
Error sending message, child exited 1 ().
./automysqlbackup.sh.2.5: line 675: 29585 Segmentation fault mutt -s "$ERRORNOTE MySQL Backup Log and SQL Files for $HOST - $DATE" $BACKUPFILES $MAILADDR <$LOGFILE
Google tells me that this is a bug in GCC that affects some optimized builds of mutt. So I'm thinking I can either ask my host to recompile mutt, or I can swap out the mutt code for a different mail sending method.
I hope this helps...
Chris.
I have been having the same problem lately. Any fixes or workarounds confirmed? Thanks.
Okay, this worked for me and it was easy. I'm using CentOS 4.5.
From root, I used yum to uninstall mutt.
[quote]yum remove mutt[/quote]
I typed "y" to accept. Mutt was removed.
Then I used yum to install mutt.
[quote]yum install mutt[/quote]
I typed "y" to accept. Mutt was installed.
Automysqlbackup is emailing again.
I thought that would show in a box. Don't type [quote][/quote]:)
Update: that was a coincidence--this didn't solve my problem. Marfa- is the specified address at gmail? Mine is, and I'm on Comcast.
For me, the issue was gmail suddenly stopped accepting mail from my IP address.
To solve this problem I had to set up postfix to use Comcast's SMTP server, then set sendmail to use postfix.
Everything seems to be working now. I'm routing all of my outgoing mail through my Comcast account so now I'm not blacklisted.
I'll post more if it becomes clear there are still more problems.