-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with email notifications - subject and to fields #161
Comments
Thanks for your feedback. I have never used CentOS so I'm not sure what's happening here. The first thing to do would be identify exactly which package provides the For this my google-fu suggest something like Please update with the results to understand better what is going on here. |
Thank for you for help on this. Both Hope this helps you. |
Does it work if you run |
Running that command works absolutely fine. |
HI - I've been testing this on Centos7. |
I have very similar problem on Ubuntu. It started after recent update:
The correct address is among the ones it tries to send to but Switching branches from |
I'm running CentOS 8 and am using Postfix MTA. I can easily send a command using mail or mailx at the command line but when the script does it, I have the same issue as everyone else as outlined by this parent issue (e.g. no subject and multiple invalid TO: addresses). The fix for me was to change the mail command in the config file to sendmail. It worked after that. However, if you aren't using Postfix MTA then you may have different results. |
Using CentOS7 I've found that when using the master branch any email notification sent have issues for me. Below is settings taken from config.
#EMAIL_TO="[email protected]"
EMAIL_TO="[email protected]"
EMAIL_FROM=
EMAIL_SUBJECT="DML Backup Log"
EMAIL_FAILURE_ONLY="no" # send e-mail only if there was an error while creating backup
#command to use to send mail
MAIL="mailx" # default command for Linux mail
#MAIL="mail" # for CentOS, if "mailx" fails try this one
#MAIL="ssmtp"
#MAIL="sendmail"
#MAIL="msmtp"
Using mailx has the following behaviour. Mails received do not contain any subject, nor any backup status and a separate email is sent to [email protected], [email protected] and [email protected] in addition to [email protected].
Commented mailx and uncommented mail and tried again to get the same behaviour.
Using sendmail the to field seems to work as expected now and contains the subject but does not include the backup status in subject.
This is the same in dev branch. Issue not present in stable branch.
Is this intended, am I doing something wrong or is it a bug?
Thanks.
The text was updated successfully, but these errors were encountered: