Main >> Email >> View Relayers showing a blank page / not updating.

Email relayer is  a list of users who have relayed mail. Relayed mail is mail forwarded to remote accounts by user accounts hosted on the server.

If View Relayers showing blank page, then there may be an issue with eximstats.

Check if eximstats is corrupted with the command
# mysqlcheck eximstats

If so repair the same with
# mysqlcheck –repair eximstats

Also you can update the eximstats with
# /usr/local/cpanel/bin/updateeximstats

This may help you to fix the issue.

Cronjob download redirection to different directory (cronjob+wget+redirect)

If you are running a cronjob  to download a file from some URL. It will download it the respective user’s home directory. If you are setting the cron for some 5 mins or something then your home directory will be full with these file downloads.

For example:
*/5 * * * * wget -q “http://domain.com/direcory/file.txt”

So to move these file downloads to some different directory, you need to add the directory prefix to the cronjob. As below.

*/5 * * * * wget -q  “http://domain.com/direcory/file.txt” –directory-prefix=/home/user_name/cron_dir

Once you add prefix, downloads will redirect to new directory.
Actually I was having the same requirement, I have googled a lot and finally came up with the above solution, also I have tested the same. Hope it may help somebody.

Installing ImageMagick-6.8.3-6 on centos 5/6 form source

Check the ImageMagick is installed or not with “identify -version

* Download the source

wget http://www.imagemagick.org/download/ImageMagick-6.8.3-6.tar.gz

* Un-tar and unzip it

tar -xzvf ImageMagick-6.8.3-6.tar.gz

* ./configure

make

make install

* Check with

Check the ImageMagick is installed or not with “identify -version

OpenSSL::SSL::SSLError (hostname does not match the server certificate) + Action mailer ssl error

sent mail to mail@domain.com (263ms)Completed 500 Internal Server Error in 566ms
OpenSSL::SSL::SSLError (hostname does not match the server certificate): app/models/profissional_observer.rb:12:in `after_update’ app/controllers/profissionais_controller.rb:36:in `update’
Solution

We have added the entry :o penssl_verify_mode  => ‘none’ in action mailer settings.  In the file  config/environments/production.rb

 

 

ActionController::RoutingError (No route matches [GET] “/assets/application-9738b5840556846307ad3ee6c778f142.css”):

In production mode, Rails will not be responsible for serving static assets. Therefore, you are getting this error. Thin won’t do it either, since it’s just a wrapper around Rails. This is controlled by this setting in config/environment/production.rb in your application:

config.serve_static_assets = true

You can either set to that true or use a real server like Apache or Nginx which will serve the static assets. I suspect Pow may also do it.