Quantcast
Channel: iRedMail — iRedMail Support
Viewing all 43316 articles
Browse latest View live

Re: Send mail from alias

$
0
0

It's allowed by default (in iRedAPD plugin `reject_sender_login_mismatch`).


Re: How to create a Noreply Address/Alias

$
0
0
ZhangHuangbin wrote:

Try to create noreply@ as a normal user, then remove "deliver" from "enabledService" values.

Good day.
I have an mailUser abc@example.com.
And have mailAlias noreply@example.com with forwarding to abc@example.com.
I can send email from account abc@example.com as a noreply@example.com.
To make it possible I add the following strings to iRedAPD:
ALLOWED_LOGIN_MISMATCH_LIST_MEMBER = True

Now i need to reject incoming emails to the mailAlias noreply@example.com.
But when I delete enableService=deliver from mailAlias noreply@example.com in LDAP, then i can not send emails from noreply@example.com

Also i found a solution to set the mtaTransport=discard option in account in LDAP, but it is only on mailUser, and not in mailAlias.

Can u suggest anything?

SSL not working

$
0
0

Hello,
I purchase a new certificate then replace the one here:

/etc/ssl/certs/iRedMail.crt
/etc/ssl/private/iRedMail.key

Restart all the services but, I still have an SSL issue in browsers....

====
iRedMail 1.1
Deployed with iRedMail Easy
Debian9
MySQL
Nginx

Thank you for the help.

Re: SSL not working

Amavis letting "Passed BANNED" email through

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 OPENLDAP edition (updated from 1.0)
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu (Server) 18.04.4 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I am using smtp relayhost in my Postfix configuration and I have the following settings in my /etc/amavis/conf.d/20-debian_defaults

$final_virus_destiny      = D_DISCARD;
$final_banned_destiny     = D_BOUNCE;
$final_spam_destiny       = D_BOUNCE;
$final_bad_header_destiny = D_PASS;

but Amavis is still letting "Passed BANNED" mails through. I read somewhere in the forum that policies are handled by SQL and in amavisd.policy and banned_files_lover has be set to N. So the related settings in 20-debian_defaults have no effect?

I also have a problem with bounce mails.

I have set warnbannedsender => 1 in $policy_bank{'ORIGINATING'} of my /etc/amavis/conf.d/50-user

If I send a banned file from an internal (within our domain) email address to another internal email address, I do receive the bounce notification from postmaster@domain.com and also a report from postmaster@mail.domain.com (why the mail. ?!) sent to postmaster@domain.com, however I do not receive any bounce notification nor a report to postmaster if I send a banned file from an external email address.

Re: iRedMail with SAML2

$
0
0

Yes because Dovecot try to authenticate against LDAP and the password is Encrypted
I know that I'm using correct credentials, because, I can connect to Sogo with SAML credentials, but after, Dovecot cannot connect.

Is anyone success iRedMail with SAML ?

Re: Amavis letting "Passed BANNED" email through

$
0
0

Global spam policy is also set in SQL table “amavisd.policy”, please update it too.

If you run iRedAdmin-Pro, please login to iRedAdmin-Pro as global admin, then go to “System -> Global Spam Policy” to manage it.

Re: Amavis letting "Passed BANNED" email through

$
0
0
ZhangHuangbin wrote:

Global spam policy is also set in SQL table “amavisd.policy”, please update it too.

If you run iRedAdmin-Pro, please login to iRedAdmin-Pro as global admin, then go to “System -> Global Spam Policy” to manage it.

What about the warnbannedsender ? As I said, currently it only works for internal email addresses and I don't have it in my mavisd.policy table. Do I have to add it manually? I only have warnvirusrecip, warnbannedrecip, warnbadhrecip.


iredadmin not running under Docker

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 OPENLDAP edition.
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Ubuntu 18.04.3 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,

i have problem on iredadmin, im using Docker Image Ubuntu 18.04.3 LTS, when i hit https://localhost/iredadmin i got error 502 Bad Gateway

this my /var/log/nginx/error.log

2020/03/04 10:41:38 [error] 30884#30884: *94 connect() failed (111: Connection refused) while connecting to upstream, client: 172.17.0.1, server: _, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "localhost"
2020/03/04 10:48:06 [error] 30884#30884: *106 connect() failed (111: Connection refused) while connecting to upstream, client: 172.17.0.1, server: _, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "localhost"
2020/03/04 10:48:07 [error] 30884#30884: *106 connect() failed (111: Connection refused) while connecting to upstream, client: 172.17.0.1, server: _, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "localhost"

i have been restart uwsgi

root@mx1:/# service uwsgi restart
* Restarting app server(s) uwsgi                                                                                              [ OK ]
root@mx1:/#

but i dont see in my process

root@mx1:/# ps -ef | grep uws
root      1668     6  0 10:54 pts/0    00:00:00 grep --color=auto uws
root@mx1:/#

can u help me for that error? thanks smile

Re: iredadmin not running under Docker

$
0
0

my installation config

root@mx1:~/iRedMail-1.1# cat config

export STORAGE_BASE_DIR='/var/vmail'
export WEB_SERVER='NGINX'
export BACKEND_ORIG='OPENLDAP'
export BACKEND='OPENLDAP'
export VMAIL_DB_BIND_PASSWD='my-secret-pwd'
export VMAIL_DB_ADMIN_PASSWD='my-secret-pwd'
export MLMMJADMIN_API_AUTH_TOKEN='my-secret-pwd'
export NETDATA_DB_PASSWD='my-secret-pwd'
export LDAP_SUFFIX='dc=domain,dc=com'
export LDAP_BINDPW='my-secret-pwd'
export LDAP_ADMIN_PW='my-secret-pwd'
export LDAP_ROOTPW='my-secret-pwd'
export MYSQL_ROOT_PASSWD='my-secret-pwd'
export FIRST_DOMAIN='domain.com'
export DOMAIN_ADMIN_PASSWD_PLAIN='password'
export USE_IREDADMIN='YES'
export USE_ROUNDCUBE='YES'
export USE_SOGO='NO'
export USE_NETDATA='YES'
export USE_FAIL2BAN='YES'
export AMAVISD_DB_PASSWD='my-secret-pwd'
export IREDADMIN_DB_PASSWD='my-secret-pwd'
export RCM_DB_PASSWD='my-secret-pwd'
export SOGO_DB_PASSWD='my-secret-pwd'
export SOGO_SIEVE_MASTER_PASSWD='my-secret-pwd'
export IREDAPD_DB_PASSWD='my-secret-pwd'
export USE_SYSTEMD='NO'
#EOF

=========================================================

root@mx1:~/iRedMail-1.1#  IREDMAIL_DEBUG='NO' \
CHECK_NEW_IREDMAIL='NO' \
AUTO_USE_EXISTING_CONFIG_FILE=y \
AUTO_INSTALL_WITHOUT_CONFIRM=y \
AUTO_CLEANUP_REMOVE_SENDMAIL=y \
AUTO_CLEANUP_REMOVE_MOD_PYTHON=y  \
AUTO_CLEANUP_REPLACE_FIREWALL_RULES=n \
AUTO_CLEANUP_RESTART_IPTABLES=n \
AUTO_CLEANUP_REPLACE_MYSQL_CONFIG=y \
bash iRedMail.sh

Re: iredadmin not running under Docker

Confirm updated to latest version?

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 MySQL
- Deployed with iRedMail Easy or the downloadable installer?  Downloaded
- Linux/BSD distribution name and version:  Ubuntu 16.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Is there a way to confirm that an install is at the latest version and nothing being used has been left behind?

Re: Confirm updated to latest version?

$
0
0

There is an install log named iRedMail.tips in the basefolder where u ran the installer.

If you got no errors during installation, you can asume that everything works.

Re: Missing mail from particular host

Re: Missing mail from particular host

$
0
0

You said "Strange, no more errors since this."

So this seems fixed?

The log you posted has a completly different timestamp, if it is just one mail missing, you should post the related log


Re: iredadmin not running under Docker

$
0
0

- Does restarting "iredadmin" service fix the issue?
- We don't support running iRedMail this way, you're on your own.

Re: Confirm updated to latest version?

Re: iredadmin not running under Docker

$
0
0

Hi Zhang,

thanks for your answer. i'll plan install it on baremetal..

Re: SSL not working

$
0
0

Hello, yes in this documentation is says to replace it here:
/etc/ssl/certs/iRedMail.crt
/etc/ssl/private/iRedMail.key

I did it, then restart the services but, still having the issue...

Thank you

Re: Disaster recovery

$
0
0

Fixed with support ticket. Ticket closed.

Viewing all 43316 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>