1

Topic: how to put background image to login

Hello everyone, I'm new to iredmail and I want to put a background image only at the login but I've searched where the login is and I can't find anything

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: how to put background image to login

tiki324 wrote:

I want to put a background image only at the login

Login page of which web application? webmail or iRedAdmin(-Pro)?

FYI https://docs.iredmail.org/webmail.customization.html

3

Re: how to put background image to login

tiki324 wrote:

Hello everyone, I'm new to iredmail and I want to put a background image only at the login but I've searched where the login is and I can't find anything

Depends on what you are talking about.
If you have multiple domains then make the changes in the nginx conf for that that domain .
for SOGO you can do that if a the nginx config file like below example and can be a per domain specific change:

#
# Note: This file must be loaded before other virtual host config files,
#
# HTTP
server {
    # Listen on ipv4
    listen 80;
    listen [::]:80;

    server_name mail.xxxx.com.au;

    # Redirect all insecure http:// requests to https://
    return 301 https://$host$request_uri;
}
#
# Note: This file must be loaded before other virtual host config files,
#
# HTTPS
server {
    listen 443 ssl;
    listen [::]:443 ssl;
    server_name mail.xxxx.com.au;

    root /var/www/html;
    index index.php index.html;

    location = /SOGo.woa/WebServerResources/img/sogo-full.svg {
       alias /var/www/html/img/ins.net/logo.svg;
    }

    location = /SOGo.woa/WebServerResources/img/sogo.ico {
       alias /var/www/html/img/ins.net/favicon.ico;
    }

    include /etc/nginx/templates/misc.tmpl;
    include /etc/nginx/templates/ssl.tmpl;
    include /etc/nginx/templates/iredadmin.tmpl;
    include /etc/nginx/templates/roundcube.tmpl;
    include /etc/nginx/templates/sogo.tmpl;
    include /etc/nginx/templates/netdata.tmpl;
    include /etc/nginx/templates/php-catchall.tmpl;
    include /etc/nginx/templates/stub_status.tmpl;

    ssl_certificate /etc/letsencrypt/live/mail.xxxx.com.au/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/mail.xxxx.com.au/privkey.pem;
}