Quantcast
Channel: iRedMail
Viewing all 45920 articles
Browse latest View live

Re: Reviving Email Problem in Replication


Re: Run iRedMail on the same server as hosted websites?

$
0
0

iRedMail is quite picky and expects an empty system for install. Once it is spawned up you will be able to reconfigure all bits and pieces which you would need. So yes it is possible, but quite inconvenient.

I love separation and on my systems, everything runs in Jail (FreeBSD term sorry) so I would recommend containerization.

Re: ERROR: iredapd/tools/cleanup_db.py and iredadmin/tools/delete_mailboxe

$
0
0
ZhangHuangbin wrote:

- Did you get them frequently, or just once, or few times a day?
- Any error if you run the commands manually?

I get this error 2 or 3 times a day.
No error if I try to run the commands manually.

License certificate error

$
0
0

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

I am trying to upgrade iRedAdmin Pro to the current version but I can not access the download link. When I enter the "License" likeness I get the message "Error while getting license info: <url error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c: 579)>". I have tried some solutions from the forum, but without success. Does anyone have a solution?

Missing packages for installing mlmmh and uwsgi

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 upgrading to 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: RHEL
- 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.
====

# yum install mlmmj uwsgi uwsgi-plugin-python2 uwsgi-logger-syslog python-requests
Loaded plugins: priorities, protectbase, replace
Setting up Install Process
121 packages excluded due to repository priority protections
0 packages excluded due to repository protections
No package mlmmj available.
No package uwsgi available.
No package uwsgi-plugin-python2 available.
No package uwsgi-logger-syslog available.

Getting stuck on upgrading as my system did not have mlmmj installed which when trying to upgrade from 0.9.8 gave me this error:
# bash upgrade_iredadmin.sh
<<< ERROR >>> No mlmmjadmin installation found (/opt/mlmmjadmin).
<<< ERROR >>> Please follow iRedMail upgrade tutorials to the latest
<<< ERROR >>> stable release first, then come back to upgrade iRedAdmin-Pro.
<<< ERROR >>> mlmmj and mlmmjadmin was first introduced in iRedMail-0.9.8.
<<< ERROR >>> https://docs.iredmail.org/iredmail.releases.html

I've followed all tutorials for upgrading, but I'm thinking that because these packages were not available during install they were missed inadvertently in previous upgrades.  I have the iRedMail repository installed - do I need something else in order to add these missing packages?

Re: Run iRedMail on the same server as hosted websites?

$
0
0

Ar ok. Looking around at other solutions, it is starting to look like I will need to set up a dedicated server just for mail... More expense haha oh well...

Thank you for responding!

Re: Run iRedMail on the same server as hosted websites?

$
0
0

Adding to what you said, do you know you think the mail server can be run in a docker set up?

Re: Error: OperationalError(1054, "Unknown column 'disabled_mail_services

$
0
0

Hi

I upgraded iredmail from 0.9.5-1 (but I walk trought all middle step.. 0.9.6.. 0.9.7.. etc etc)

I upgraded iRedMail-Pro-SQL from iRedAdmin-Pro-SQL-2.4.1 to iRedAdmin-Pro-SQL-3.1

the db schema of vmail tables is correct (like https://bitbucket.org/zhb/iredmail/src/ … w-default)


it seem  fields setting of domain tables do not have correct value when I try to add new domain

How can I do to debug/search the issue?

kind regards


Re: Run iRedMail on the same server as hosted websites?

$
0
0
ckhatton wrote:

Adding to what you said, do you know you think the mail server can be run in a docker set up?

I never tried, but I think that there should not be any problem. It might be actually easier.

Re: Logs file Empty since IredAPD

$
0
0

Dear All,

It back normal after restarting rsyslogd.
Thanks You.

Re: iRedMail-0.9.9 has been released.

$
0
0
devedames wrote:

Hi Zhang,

Good Day!
I can't login to webmail after I have followed this guide.
https://docs.iredmail.org/upgrade.iredm … 0.9.9.html

I think I have problem w/ this part <dovecot-read-mailbox-format-from-sql>

Here are logs from dovecot.

Jan 08 00:04:39 auth-worker(1552): Warning: mysql: Query failed, retrying: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB serve
r version for the right syntax to use near 'CONCAT(mailbox.mailboxformat, ':~/', mailbox.mailboxfolder, '/') AS mail, FROM m' at line 1

Looking forward for your reply.

Best Regards,


Currently, I have commented this line and it is working fine at /etc/dovecot/dovecot-mysql.conf.
user_query = SELECT \
    '%u' AS master_user, \
    LOWER(CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir)) AS home, \
    CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule \
#  CONCAT(mailbox.mailboxformat, ':~/', mailbox.mailboxfolder, '/') AS mail, \

Re: License certificate error

$
0
0

Dear Edward,

Sorry about this trouble. I sent the download links manually moment ago, let me know if you didn't receive them.

Re: License certificate error

$
0
0
ZhangHuangbin wrote:

Dear Edward,

Sorry about this trouble. I sent the download links manually moment ago, let me know if you didn't receive them.

I Zhang,

I have already received, I will apply the update and post the result.

Thanks!

how to update ClamAV ?

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): latest
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: debian
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): N
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
ast ClamAV update process started at Tue Jan  8 23:27:39 2019

Last Status:
   WARNING: Your ClamAV installation is OUTDATED!
   WARNING: Local version: 0.99.4 Recommended version: 0.101.1
   DON'T PANIC! Read http://www.clamav.net/documents/upgrading-clamav
   main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
   daily.cld is up to date (version: 25280, sigs: 2201981, f-level: 63, builder: raynman)
   bytecode.cld is up to date (version: 328, sigs: 94, f-level: 63, builder: neo)
====


hi there,

how to update clamAV within iredmail? is it ok to follow their documentation or are there some custom steps involved?

thanks!

on user panel the maillist is not check even it is member of maillist

$
0
0

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

Dear Zhang,

when i create maillist, then i can select it as checkbox on the group list when i create user,
I found out that whenever i keep check on maillist, it does not show up when i get enter again or refresh the websites.
BUT when i click on maillist member, I can see the user in the maillist

I have iredadmin pro 3.3 also but it had bug also..
If i remove a user. On the maillist, i still can see the user which i remove.

I now fallen on this error that i need your help to fix.

Napoleon


Re: License certificate error

$
0
0
edward.toledo wrote:
ZhangHuangbin wrote:

Dear Edward,

Sorry about this trouble. I sent the download links manually moment ago, let me know if you didn't receive them.

I Zhang,

I have already received, I will apply the update and post the result.

Thanks!

The update occurred without any problems, but the certificate error continues. We have another server that is perfect. Is there any way to solve this problem?

Re: Error: OperationalError(1054, "Unknown column 'disabled_mail_services

$
0
0

from mysql query log (when I add a new "test.it" domain)
I see:

           73 Query    SELECT domain FROM domain WHERE domain='test.it' LIMIT 1
           73 Query    SELECT alias_domain FROM alias_domain WHERE alias_domain='test.it' LIMIT 1
           73 Query    INSERT INTO domain (domain, disabled_mail_services, description, created, maxquota, settings, mailboxes, active, aliases) VALUES ('test.it', ('throttle'), '', '2019-01-09 12:05:32', 0, 'default_user_quota:1024;default_language:it_IT;', 0, 1, 0)

but it returns

#1054 - Unknown column 'disabled_mail_services' in 'field list'

but disabled_mail_services is missing from this 0.9.9 sql
https://bitbucket.org/zhb/iredmail/src/ … ew-default

is it an issue?

Per-user alias addresses have stopped working after 0.9.9 update

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Debian Stretch
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- 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.
====

Problem: Per-user alias addresses on my system have stopped working, possibly as a result of 0.9.9 update. Messages to the target mailbox are working normally, but messages to any associated aliases are being refused with 'user unknown'.

Background: I had been running on 0.9.8 for about six months and per-user alias addresses had been working normally. However recently messages to any per-user alias addresses has been failing with a 'user unknown' bounce.

Looking at the dovecot log the problem appears to be a database lookup failure however I do not know why the lookup is now failing since nothing has changed in the SQL forwardings table since the prior working config, and furthermore non-forwarded mailboxes are receiving mail normally (only forwards to aliases are failing.)

This is possibly coincident with my recent update to 0.9.9 but not absolutely certain. All (manual) update steps during the update were performed without any problems, and I have confirmed that the two new fields in the SQL vmail database table are present, and the dovecot.conf file was modified as instructed (I do not know if these are a factor in the problem, but are the only things that I can see that would be related to the upgrade.)

Any ideas as to why per-user alias forwarding is now failing after working properly since the initial installation?

Thanks in advance.


(In all examples primary mailbox is 'target@mydomain.com' and alias is 'alias_address@mydomain.com')




Relevant data from logs:

Postfix:

Jan 10 03:05:33 mx1 postfix/pipe[25684]: D63CE425FE: to=<alias_address@mydomain.com>, relay=dovecot, delay=0.05, delays=0/0.02/0/0.02, dsn=5.1.1, status=bounced (user unknown)

Dovecot:

Jan 10 03:05:33 mx1 dovecot: lda(alias_address@mydomain.com): Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jan 10 03:05:33 mx1 dovecot: lda(alias_address@mydomain.com): Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Jan 10 03:05:33 mx1 dovecot: lda(alias_address@mydomain.com): Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Jan 10 03:05:33 mx1 dovecot: lda(alias_address@mydomain.com: Debug: Module loaded: /usr/lib/dovecot/modules/lib15_notify_plugin.so
Jan 10 03:05:33 mx1 dovecot: lda(alias_address@mydomain.com): Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mail_log_plugin.so
Jan 10 03:05:33 mx1 dovecot: lda(alias_address@mydomain.com): Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Jan 10 03:05:33 mx1 dovecot: lda(alias_address@mydomain.com): Debug: Module loaded: /usr/lib/dovecot/modules/lib90_sieve_plugin.so
Jan 10 03:05:33 mx1 dovecot: lda(alias_address@mydomain.com): Debug: Module loaded: /usr/lib/dovecot/modules/lib90_stats_plugin.so
Jan 10 03:05:33 mx1 dovecot: auth: Debug: master in: USER#0111#011alias_address@mydomain.com#011service=lda
Jan 10 03:05:33 mx1 dovecot: auth-worker(25651): Debug: sql(alias_address@mydomain.com): SELECT 'alias_address@mydomain.com' AS master_user, LOWER(CONCAT(mailbox.storagebasedirectory, '/', mailbox.$
Jan 10 03:05:33 mx1 dovecot: auth-worker(25651): sql(alias_address@mydomain.com): unknown user
Jan 10 03:05:33 mx1 dovecot: auth: Debug: userdb out: NOTFOUND#0111

Jan 10 03:05:33 mx1 dovecot: lda(alias_address@mydomain.com): Debug: auth USER input:


Contents of dovecot-mysql.conf:

driver = mysql
default_pass_scheme = CRYPT
connect = host=127.0.0.1 port=3306 dbname=vmail user=vmail password=sql_password

# Required by doveadm tools which require to list all mail users.
iterate_query = SELECT username AS user FROM mailbox

password_query = SELECT mailbox.password, mailbox.allow_nets \
        FROM mailbox,domain \
       WHERE mailbox.username='%u' \
             AND mailbox.`enable%Ls%Lc`=1 \
             AND mailbox.active=1 \
             AND mailbox.domain=domain.domain \
             AND domain.backupmx=0 \
             AND domain.active=1

user_query = SELECT \
            '%u' AS master_user, \
            LOWER(CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir)) AS home, \
            CONCAT(mailbox.mailboxformat, ':~/', mailbox.mailboxfolder, '/') AS mail, \
            CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule \
        FROM mailbox,domain \
       WHERE mailbox.username='%u' \
             AND mailbox.`enable%Ls%Lc`=1 \
             AND mailbox.active=1 \
             AND mailbox.domain=domain.domain \
             AND domain.backupmx=0 \
             AND domain.active=1


SQL database entries:

MariaDB [vmail]> SELECT * FROM forwardings;
+----+---------------------------+-------------------------+----------------+----------------+-------------+---------+---------------+----------+--------+
| id | address                   | forwarding              | domain         | dest_domain    | is_maillist | is_list | is_forwarding | is_alias | active |
+----+---------------------------+-------------------------+----------------+----------------+-------------+---------+---------------+----------+--------+
|  4 | target@mydomain.com       | target@mydomain.com     | mydomain.com   | mydomain.com   |           0 |       0 |             1 |        0 |      1 |
|  5 | info@mydomain.com         | target@mydomain.com     | mydomain.com   | mydomain.com   |           0 |       0 |             1 |        1 |      1 |
|  6 | contact@mydomain.com      | target@mydomain.com     | mydomain.com   | mydomain.com   |           0 |       0 |             1 |        1 |      1 |
|  7 | postmaster@mydomain.com   | target@mydomain.com     | mydomain.com   | mydomain.com   |           0 |       0 |             1 |        1 |      1 |
|+----+-------------------------+-------------------------+----------------+----------------+-------------+---------+---------------+----------+--------+

Mail to the target mailbox (target@mydomain.com) is working but forwards to all aliases have stopped working.

Re: Per-user alias addresses have stopped working after 0.9.9 update

$
0
0
smiller50 wrote:

Jan 10 03:05:33 mx1 dovecot: auth-worker(25651): Debug: sql(alias_address@mydomain.com): SELECT 'alias_address@mydomain.com' AS master_user, LOWER(CONCAT(mailbox.storagebasedirectory, '/', mailbox.$

Try to run this SQL command manually, if you believe it should return a record but doesn't, please compare the SQL statements with the value in SQL table carefully.

Re: Reviving Email Problem in Replication

$
0
0
arshambh9 wrote:

does Dovecot Replication support my senario ?

Yes. Dovecot is the POP3/IMAP/SMTP AUTH/SIEVE/... server running in iRedMail, Dovecot replication supports real-time two way mailbox sync, it's much easier than GlusterFS i guess.

FYI: https://wiki.dovecot.org/Replication

Viewing all 45920 articles
Browse latest View live




Latest Images