• Resolved Okoth1

    (@okoth1)


    Hello,

    There are no problems receiving Alert emails like login notifications or log stats, but File Guard detection emails can’t be delivered.

    I noticed that the log stats send email address is different than the File Guard one, and I believe that’s the reason. The log stats emails are sent with the email address [email protected].
    The File Guard email address won’t pass the DMARC test. It looks like this: [email protected] (without the extension).

    I’m getting this message:

    Reporting-MTA: DNS; scanner02.mail.supportedns.com
    
    Action: failed
    Final-Recipient: rfc822;[email protected]
    Status: 5.0.0
    Remote-MTA: dns; gmail-smtp-in.l.google.com
    Diagnostic-Code: smtp; 550-5.7.26 Unauthenticated email from mydomainname.com is not accepted due to
     550-5.7.26 domain's DMARC policy. Please contact the administrator of
     550-5.7.26 mydomain.com domain if this was a legitimate mail. Please visit
     550-5.7.26  https://support.google.com/mail/answer/2451690 to learn about the
     550 5.7.26 DMARC initiative. b188-20020a0219c5000000b00374fc138a68si529328jab.152 - gsmtp
    Subject: 
    [NinjaFirewall] Alert: File Guard detection
    From: 
    "NinjaFirewall" <[email protected]>
    Date: 
    24/11/2022, 17:39
    To: 
    [email protected]
    Someone accessed a script that was modified or created less than 10 hour(s) ago:
    
    SERVER_NAME: www.mydomain.com
    USER IP: xxx.xxx.xxx.xxx
    SCRIPT_FILENAME: /home/server/public_html/mydomain.com/wp-admin/admin-ajax.php
    REQUEST_URI: /wp-admin/admin-ajax.php
    Last changed on: November 24, 2022 @ 03:05:23 (UTC -0500)

    I cannot configure the DMARC, dkim, and spf for [email protected]. Is it possible to send the File Guard detection emails also with the same email address as the other Alerts?

    Cheers

    • This topic was modified 1 year, 12 months ago by Okoth1.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author nintechnet

    (@nintechnet)

    File Guard works before WordPress loads, hence it can’t use your blog configuration.
    I was going to suggest the sendmail_from directive in your .user.ini, but that doesn’t work on Linux servers.

    If your server uses sendmail, you can try to add the sendmail_path directive to .user.ini :

    sendmail_path = /usr/sbin/sendmail -t -i -F'John Doe' -f'[email protected]'
    
    • This reply was modified 1 year, 12 months ago by nintechnet.
    • This reply was modified 1 year, 12 months ago by nintechnet.
    Thread Starter Okoth1

    (@okoth1)

    I am not sure if I am able to do this on a shared server, but I’ll try to figure it out.

    The problem would be solved for me as well if the www is removed from the [email protected] email address. Is there any way of doing that?

    Plugin Author nintechnet

    (@nintechnet)

    This is your hostname. Check in your hosting panel if you can change it to “mydomain.com” instead of “www.mydomain.com”.

    • This reply was modified 1 year, 12 months ago by nintechnet.
    Thread Starter Okoth1

    (@okoth1)

    I found some lines in the htaccess that might have caused it. Testing it now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘emails File Guard detection could not be delivered’ is closed to new replies.