CSF on Update send email notification to wrong email address so causing SPAM issue
-
- Junior Member
- Posts: 38
- Joined: 23 Feb 2014, 17:34
CSF when update send email to root address, how I can change that?
Hi,
when CSF run a cron for check for updates and find an update it send to me an email notification but is not sent to the email address I set in the config for receive notification but is sent to root address who generate Deliver Status Notification. How I can set a different email address to be alerted of the update process?
Thanks.
Maybe I have to set a valid email address in X_ARF_TO ="" ? Is this one the solution?
when CSF run a cron for check for updates and find an update it send to me an email notification but is not sent to the email address I set in the config for receive notification but is sent to root address who generate Deliver Status Notification. How I can set a different email address to be alerted of the update process?
Thanks.
Maybe I have to set a valid email address in X_ARF_TO ="" ? Is this one the solution?
-
- Junior Member
- Posts: 38
- Joined: 23 Feb 2014, 17:34
Re: CSF when update send email to root address, how I can change that?
X_ARF_TO ="" not resolve the issue so I will be grateful if some one can help me with this issue.
Thanks
Thanks
-
- Junior Member
- Posts: 38
- Joined: 23 Feb 2014, 17:34
Re: CSF when update send email to root address, how I can change that?
The strange things is:
If i try to send an email from gmail to my root address the mail is correctly delivered BUT when CSF do the update the alert email generate delivery status notification. In the email header I can read:
To: root@
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
So maybe I need correct root address with my full root address? But I don't know where do this.
Should I have to edit file etc/cron.d/csf_update or what?
In the csf_update there are this content:
SHELL=/bin/sh
50 8 * * * root /usr/sbin/csf -u
If i try to send an email from gmail to my root address the mail is correctly delivered BUT when CSF do the update the alert email generate delivery status notification. In the email header I can read:
To: root@
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
So maybe I need correct root address with my full root address? But I don't know where do this.
Should I have to edit file etc/cron.d/csf_update or what?
In the csf_update there are this content:
SHELL=/bin/sh
50 8 * * * root /usr/sbin/csf -u
-
- Junior Member
- Posts: 38
- Joined: 23 Feb 2014, 17:34
CSF on Update send email notification to wrong email address so causing SPAM issue
Hi,
I AM trying g to receive serious support about an important issue... but my topic is still unanswered so now I start to think this is a BUG or an Issue.
CSF allow to set email alert in the config file but when CSF is updated automatically because auto-update option is active is sent an email from my domain to root@ address. This cause a Delivery Status Notification and is not a god things because with time my email can be flagged in black list for spamming as is sending email to wrong email address.
If I try to send an email to my root email address all work fine so no error only issue with CSF Update email notification.
Here email should be the same I set in configuration or, below auto-update option should be a field, a config row where set the to email address.
I need fix this issue or all time seems my domain is sending email to an not existing email address.
Can this be fixed in future version or can I solve in my server this situation without disable auto-update?
Thanks!
I AM trying g to receive serious support about an important issue... but my topic is still unanswered so now I start to think this is a BUG or an Issue.
CSF allow to set email alert in the config file but when CSF is updated automatically because auto-update option is active is sent an email from my domain to root@ address. This cause a Delivery Status Notification and is not a god things because with time my email can be flagged in black list for spamming as is sending email to wrong email address.
If I try to send an email to my root email address all work fine so no error only issue with CSF Update email notification.
Here email should be the same I set in configuration or, below auto-update option should be a field, a config row where set the to email address.
I need fix this issue or all time seems my domain is sending email to an not existing email address.
Can this be fixed in future version or can I solve in my server this situation without disable auto-update?
Thanks!
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: CSF on Update send email notification to wrong email address so causing SPAM issue
This has nothing whatsoever to do with csf. It is entirely up to how you have configured your cron daemon and your cron jobs as to how they send email and help for that is outside of the scope of this forum. It is certainly not a bug with csf nor has it anything at all to do with spam. csf is simply sending output as a normal cron job and it is up to your cron daemon on how to whom it sends the output via email.
-
- Junior Member
- Posts: 38
- Joined: 23 Feb 2014, 17:34
Re: CSF on Update send email notification to wrong email address so causing SPAM issue
Thank you for let me know. So maybe is a Linux CronTab Issue. Finded that: http://www.cyberciti.biz/faq/linux-unix ... -settings/
Thanks. I Will try this solution and maybe works if I do not update this discussion.
Thanks. I Will try this solution and maybe works if I do not update this discussion.
-
- Junior Member
- Posts: 38
- Joined: 23 Feb 2014, 17:34
Re: CSF on Update send email notification to wrong email address so causing SPAM issue
When CSF update itself generate Mail Delivery Status Notification.
Exim log says this:
2016-07-04 14:32:07 1bK32g-0002nA-Mg ** root@: mail domain "" is syntactically invalid
Can be somthing of CSF block my email?
I found also a discussion here:
http://www.softaculous.com/board/index. ... printtopic
If you see the last topic valley of Webuzo are asking to the user if they use a Firewall.
If is CSF who is blocking ... how to FIX.
Hope to have a reply, I AM investigating on this issue with Webuzo, my provider and asking help here. Thanks.
Exim log says this:
2016-07-04 14:32:07 1bK32g-0002nA-Mg ** root@: mail domain "" is syntactically invalid
Can be somthing of CSF block my email?
I found also a discussion here:
http://www.softaculous.com/board/index. ... printtopic
If you see the last topic valley of Webuzo are asking to the user if they use a Firewall.
If is CSF who is blocking ... how to FIX.
Hope to have a reply, I AM investigating on this issue with Webuzo, my provider and asking help here. Thanks.
Re: CSF on Update send email notification to wrong email address so causing SPAM issue
Keep in mind that CSF is an IP FireWall, therefore CSF can not block emails.
CSF can not block the server own IP, then emails to root are not blocked by CSF.
If you are using WHM/cPanel, watch SERVER CONTACTS -> EDIT SYSTEM MAIL PREFERENCES and write your email into the box "Forward mail for “root” to:"
Also, check SERVER CONTACTS -> CONTACT MANAGER and check "Email" destination and write there your email address that you wrote on the "Forward mail for “root” to:" above.
CSF can not block the server own IP, then emails to root are not blocked by CSF.
If you are using WHM/cPanel, watch SERVER CONTACTS -> EDIT SYSTEM MAIL PREFERENCES and write your email into the box "Forward mail for “root” to:"
Also, check SERVER CONTACTS -> CONTACT MANAGER and check "Email" destination and write there your email address that you wrote on the "Forward mail for “root” to:" above.
-
- Junior Member
- Posts: 38
- Joined: 23 Feb 2014, 17:34
Re: CSF on Update send email notification to wrong email address so causing SPAM issue
Hi Sergio, thank you for your reply!
I AM using Webuzo control panel on CentOs.
I have already set in aliases a fowarder but seems somthing try to send an email to wrong email address root@
I AM investigating with Webuzo also with my provider. Now we are check if issue can be on aliases of CentOs.
I AM using Webuzo control panel on CentOs.
I have already set in aliases a fowarder but seems somthing try to send an email to wrong email address root@
I AM investigating with Webuzo also with my provider. Now we are check if issue can be on aliases of CentOs.
-
- Junior Member
- Posts: 38
- Joined: 23 Feb 2014, 17:34
Re: CSF on Update send email notification to wrong email address so causing SPAM issue
This issue is not realted to CSF
https://www.centos.org/forums/viewtopic ... 13&t=58192
The issue seems related to Exim or CentOs and can be easly reproduced with the command SSH:
echo test | mail -s "test message" root
who is generating in my case Delivery Status Notification email.
So the rule of this topic is ended, seems not to be an issue with CSF or CronJob
Thank you.
https://www.centos.org/forums/viewtopic ... 13&t=58192
The issue seems related to Exim or CentOs and can be easly reproduced with the command SSH:
echo test | mail -s "test message" root
who is generating in my case Delivery Status Notification email.
So the rule of this topic is ended, seems not to be an issue with CSF or CronJob
Thank you.