Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SMTP log spamming?

Featured Replies

My log is being filled with the following, but I cannot find out what is generating it.  Any ideas?

 

In my notification settings, I have a gmail account setup.  But does the smtp notifier script create a SSL connection once every minute?

 

Jun  8 15:06:05 BrownBear sSMTP[32495]: SSL connection using ECDHE-RSA-AES128-GCM-SHA256
Jun  8 15:06:07 BrownBear sSMTP[32495]: Sent mail for [email protected] (221 2.0.0 closing connection n2sm10087417pgd.26 - gsmtp) uid=0 username=root outbytes=636
Jun  8 15:07:02 BrownBear sSMTP[406]: Creating SSL connection to host
Jun  8 15:07:03 BrownBear sSMTP[406]: SSL connection using ECDHE-RSA-AES128-GCM-SHA256
Jun  8 15:07:05 BrownBear sSMTP[406]: Sent mail for [email protected] (221 2.0.0 closing connection i186sm15558622pgc.4 - gsmtp) uid=0 username=root outbytes=636
Jun  8 15:08:02 BrownBear sSMTP[964]: Creating SSL connection to host
Jun  8 15:08:02 BrownBear sSMTP[964]: SSL connection using ECDHE-RSA-AES128-GCM-SHA256
Jun  8 15:08:05 BrownBear sSMTP[964]: Sent mail for [email protected] (221 2.0.0 closing connection 72sm12127236pfl.66 - gsmtp) uid=0 username=root outbytes=636

 

What does the email say that arrives?  If ones not arriving your email setting might not be working.  Test it

  • Author

The test button works and I receive the email fine.  But as for once a minute connects, I'm not seeing anything in any of my inboxes, or spam folders.

 

very odd.

  • Author

I was going to try a system restart once my parity rebuild is complete.  

  • 3 weeks later...
  • Author

I'm still seeing SMTP email attempt in my system log:

Jun 27 12:44:03 BrownBear sSMTP[5511]: Unable to locate 
Jun 27 12:44:03 BrownBear sSMTP[5511]: Cannot open :0

using a custom crontab entry that gets loaded at boot (via modified go script) to monitor and control my fanspeeds:

 

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &
# Fan speed control
cp /boot/config/unraid_array_fan.sh /root
crontab -l > /tmp/file
echo '#' >> /tmp/file
echo '# Start of Custom crontab entries' >> /tmp/file
echo '*/1 * * * * /root/unraid_array_fan.sh' >> /tmp/file
echo '# End of Custom crontab entries' >> /tmp/file
crontab /tmp/file
rm -f /tmp/file

 

I now have CA user scripts plug-in installed... perhaps I should move things over to that, and have the script launch "At first Array Start Only".

 

Or, is there an easier, more "appropriate" way of adding things to the unRAID crontab?

 

However, I'm still curious why I am getting an email notification attempt every time this cron job is being fired off, once per minute.

 

Thanks.

If the script exits with an error, then cron will fire off an email.

 

  • Author

ah... interesting.   Well, I changed the fanspeed script to fit your excellent CA User Scripts model, defining a custom cron of once per minute to update the fanspeed, and now things are running great!  The main system log errors are gone.

 

Any issues / concerns having a CA user script run once per minute?  i.e. is the script going to be read / logs written to/from the USB flash drive each time? Will that degrade the thumb drive at all being called so frequently?  Or, are the scripts running from RAM? 

 

Thanks.

Scripts will be copied every time from the flash. Logs are stored in ram so there won't be any issue

Sent from my LG-D852 using Tapatalk

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.