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

Re: Demo/Evaluation version of iRedmail for Mobile App

$
0
0
ZhangHuangbin wrote:

Yes you can modify files under mailbox directly, default directory is /var/vmail/vmail1/<domain>/...

WARNING: MODIFYING MAIL MESSAGE DIRECTLY IS NOT RECOMMENDED, USE IMAP PROTOCOL INSTEAD PLEASE.

Hi Zhang,

Thanks for the information.  When i look at the structure, i see the account is created under 3 directories with first 3 letters of user name.
the user test is created under directory "t" then directory "e" and then directory "s".  Is that the standard?  If we need to look for a particular user, then we need to go into 3 directories with first 3 letters of username?  Also what if the username is less than 3 charecters?

Is there a standard naming convention used for the files as i see the the file name starts with username and end with probably time of account creation.  Can the naming be standard convention rather than variable with time of account created.

root@mail:~# cd /var/vmail/vmail1/domain.com/t/e/s
root@mail:/var/vmail/vmail1/domain.com/t/e/s# ls
test1-2017.12.19.04.23.50  test-2018.01.24.14.23.49   test3-2017.12.26.23.12.17
test1-2017.12.26.23.04.37  test2-2017.12.26.22.57.37  test4-2017.12.26.23.15.11
test-2017.12.19.04.09.54   test2-2017.12.26.23.09.10  test5-2017.12.27.22.13.27

Also if i go into the Maidir.  Which file i should be looking to view the contents of mail.

root@mail:/var/vmail/vmail1/domain.com/t/e/s/test-2018.01.24.14.23.49/Maildir# ls
cur                  dovecot.index.log     dovecot-uidvalidity           tmp
dovecot-acl-list     dovecot.index.thread  dovecot-uidvalidity.5a689712
dovecot.index        dovecot.mailbox.log   new
dovecot.index.cache  dovecot-uidlist       subscriptions


SSL cert for Admin panel (mail.domain.com)

$
0
0

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

I got a ssl cert from a vendor and installed it on the domain.com which is working fine.  However when i try to access the admin panel (mail.domain.com), the certificate does not verify because my certificate is not a wildcard certificate.  Do we need to use wildcard cert so that they can be applied for both mail.domain.com and domain.com? 

But i saw some posts where it said its better to use a single domain cert to have less issues.  Is that true?

Re: mlmmj subscription emails missing

$
0
0

Not sure what you mean by "reproduce it steadily". There are zombie processes that have been running steadily since I opened this support ticket a couple of weeks ago. If there's something you like me to do or test I'm happy to do so.

Re: SSL cert for Admin panel (mail.domain.com)

$
0
0

recommend use  wildcard cert,  like this *.domain.com. or you can get free cert  use letsencrypt.

Re: Password change error

$
0
0
nhapinde wrote:
nhapinde wrote:
ZhangHuangbin wrote:

What do you mean user cannot change password? Any error in sogo log file?

Oct 29 15:00:40 sogod [1716]: [ERROR] <0x0x55d89bc513b0[SQLSource]> could not ru                                                                                                             n SQL 'UPDATE users SET c_password = '{ssha512}8LJSD664SDV31SD21VS86eu34D6t7yno                                                                                                             4jRe2J91cy25hlgf1jsGmMi+z0irb2TcQZVdijmpkc/cNrKNDBfMX0GVqgM5xhX' WHERE c_uid = '                                                                                                             user@domain.com'': <PostgreSQL72Exception: 0x55d89e968d10> NAME:PostgreSQL72Fat                                                                                                             alError REASON:fatal pgsql error (channel=<0x0x55d89ea992d0[PostgreSQL72Channel]                                                                                                             : connection=<0x0x55d89df76d00[PGConnection]:  connection=0x0x55d89eaef5d0>>): E                                                                                                             RROR:  cannot update view "users"
DETAIL:  Views that do not select from a single table or view are not automatica                                                                                                             lly updatable.
HINT:  To enable updating the view, provide an INSTEAD OF UPDATE trigger or an u                                                                                                             nconditional ON UPDATE DO INSTEAD rule.

Oct 29 15:00:40 sogod [1716]: 41.94.117.3 "POST /SOGo/so/changePassword HTTP/1.0                                                                                                             " 403 34/24 0.073 - - 0
Oct 29 15:00:47 sogod [1641]: [WARN] <0x0x55d89b8b3020[WOWatchDogChild]> pid 1714 has been hanging in the same request for 8 minutes
Oct 29 15:00:50 sogod [1641]: [WARN] <0x0x55d89b8b30d0[WOWatchDogChild]> pid 1715 has been hanging in the same request for 4 minutes




THIS IS IS LOG FROM SOGO WHEN TRYING TO CHANGE THE PASSWORD


DB backend is postgresql ? postgreSQL cannot update view in iRedMail.

Amavis starts at boot time but not bind to tcp ports

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- 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.
====

Amavis starts at boot time but not bind to its tcp ports. When booted, if I restart the service, amavis runs and bind normally to tcp ports.

System booted, or after reboot:

1) Amavis processes are running

ps aux | grep amavis

amavis    1036  3.1  2.6 263472 132520 ?       Ss   10:57   0:00 /usr/sbin/amavisd-new (master)
amavis    1210  0.0  2.5 263472 127168 ?       S    10:57   0:00 /usr/sbin/amavisd-new (virgin child)
amavis    1211  0.0  2.5 263472 127168 ?       S    10:57   0:00 /usr/sbin/amavisd-new (virgin child)

2) But not binds to tcp ports

netstat -tlnp

tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      1808/master         
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      753/mysqld         
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      1808/master         
tcp        0      0 127.0.0.1:7790          0.0.0.0:*               LISTEN      458/uwsgi           
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      466/dovecot         
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      466/dovecot         
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      470/nginx: master p
tcp        0      0 127.0.0.1:24242         0.0.0.0:*               LISTEN      466/dovecot         
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      435/sshd           
tcp        0      0 127.0.0.1:24            0.0.0.0:*               LISTEN      466/dovecot         
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1808/master         
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      470/nginx: master p
tcp        0      0 127.0.0.1:8125          0.0.0.0:*               LISTEN      1818/netdata       
tcp        0      0 127.0.0.1:4190          0.0.0.0:*               LISTEN      466/dovecot         
tcp        0      0 127.0.0.1:19999         0.0.0.0:*               LISTEN      1818/netdata       
tcp        0      0 127.0.0.1:7777          0.0.0.0:*               LISTEN      736/python         
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      466/dovecot         
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      466/dovecot         
tcp6       0      0 :::587                  :::*                    LISTEN      1808/master         
tcp6       0      0 :::110                  :::*                    LISTEN      466/dovecot         
tcp6       0      0 :::143                  :::*                    LISTEN      466/dovecot         
tcp6       0      0 :::22                   :::*                    LISTEN      435/sshd           
tcp6       0      0 :::25                   :::*                    LISTEN      1808/master         
tcp6       0      0 ::1:8125                :::*                    LISTEN      1818/netdata       
tcp6       0      0 :::993                  :::*                    LISTEN      466/dovecot         
tcp6       0      0 :::995                  :::*                    LISTEN      466/dovecot

After I restart it manually

1) amavis processes are running
ps aux | grep amavis

amavis    2192  1.3  2.6 263624 132784 ?       Ss   11:00   0:00 /usr/sbin/amavisd-new (master)
amavis    2193  0.0  2.5 263624 127260 ?       S    11:00   0:00 /usr/sbin/amavisd-new (virgin child)
amavis    2194  0.0  2.5 263624 127260 ?       S    11:00   0:00 /usr/sbin/amavisd-new (virgin child)


2) amavis bind to its ports

netstat -tlnp

tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      2192/amavisd-new (m
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      1808/master         
tcp        0      0 127.0.0.1:10026         0.0.0.0:*               LISTEN      2192/amavisd-new (m
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      753/mysqld         
tcp        0      0 127.0.0.1:10027         0.0.0.0:*               LISTEN      2192/amavisd-new (m
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      1808/master         
tcp        0      0 127.0.0.1:9998          0.0.0.0:*               LISTEN      2192/amavisd-new (m
tcp        0      0 127.0.0.1:7790          0.0.0.0:*               LISTEN      458/uwsgi           
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      466/dovecot         
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      466/dovecot         
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      470/nginx: master p
tcp        0      0 127.0.0.1:24242         0.0.0.0:*               LISTEN      466/dovecot         
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      435/sshd           
tcp        0      0 127.0.0.1:24            0.0.0.0:*               LISTEN      466/dovecot         
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1808/master         
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      470/nginx: master p
tcp        0      0 127.0.0.1:8125          0.0.0.0:*               LISTEN      1818/netdata       
tcp        0      0 127.0.0.1:4190          0.0.0.0:*               LISTEN      466/dovecot         
tcp        0      0 127.0.0.1:19999         0.0.0.0:*               LISTEN      1818/netdata       
tcp        0      0 127.0.0.1:7777          0.0.0.0:*               LISTEN      736/python         
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      466/dovecot         
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      466/dovecot         
tcp6       0      0 :::587                  :::*                    LISTEN      1808/master         
tcp6       0      0 :::110                  :::*                    LISTEN      466/dovecot         
tcp6       0      0 :::143                  :::*                    LISTEN      466/dovecot         
tcp6       0      0 :::22                   :::*                    LISTEN      435/sshd           
tcp6       0      0 :::25                   :::*                    LISTEN      1808/master         
tcp6       0      0 ::1:8125                :::*                    LISTEN      1818/netdata       
tcp6       0      0 :::993                  :::*                    LISTEN      466/dovecot         
tcp6       0      0 :::995                  :::*                    LISTEN      466/dovecot

I have searched for infos about this problem and I saw in this forum that it can be something about order of services started at boot time, but when I saw amavis.service file everything it's ok in relationship to dependence from network services

amavis.service:

[Unit]
Documentation=man:systemd-sysv-generator(8)
SourcePath=/etc/init.d/amavis
Description=LSB: Starts amavisd-new mailfilter
Before=multi-user.target
Before=multi-user.target
Before=multi-user.target
Before=graphical.target
After=network-online.target
After=remote-fs.target
Wants=network-online.target

[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
SuccessExitStatus=5 6
ExecStart=/etc/init.d/amavis start
ExecStop=/etc/init.d/amavis stop



Obviously when amavis is not bound to its ports and I try to use it as content-filter every mail I send is queued but not sent because of refused connections messages following no amavis bound to ports.

I did a iRedMail install on a fresh installed Debain Stretch system and I have not modified any conf file for amavis and postfix.

Re: Password change error

$
0
0

Hi,
yes its Postgres. I used it for at least 3 months without any problem until suddenly it started showing this error when trying to change the password.
Is there a way I can solve this?

vzer.zhang wrote:
nhapinde wrote:
nhapinde wrote:

Oct 29 15:00:40 sogod [1716]: [ERROR] <0x0x55d89bc513b0[SQLSource]> could not ru                                                                                                             n SQL 'UPDATE users SET c_password = '{ssha512}8LJSD664SDV31SD21VS86eu34D6t7yno                                                                                                             4jRe2J91cy25hlgf1jsGmMi+z0irb2TcQZVdijmpkc/cNrKNDBfMX0GVqgM5xhX' WHERE c_uid = '                                                                                                             user@domain.com'': <PostgreSQL72Exception: 0x55d89e968d10> NAME:PostgreSQL72Fat                                                                                                             alError REASON:fatal pgsql error (channel=<0x0x55d89ea992d0[PostgreSQL72Channel]                                                                                                             : connection=<0x0x55d89df76d00[PGConnection]:  connection=0x0x55d89eaef5d0>>): E                                                                                                             RROR:  cannot update view "users"
DETAIL:  Views that do not select from a single table or view are not automatica                                                                                                             lly updatable.
HINT:  To enable updating the view, provide an INSTEAD OF UPDATE trigger or an u                                                                                                             nconditional ON UPDATE DO INSTEAD rule.

Oct 29 15:00:40 sogod [1716]: 41.94.117.3 "POST /SOGo/so/changePassword HTTP/1.0                                                                                                             " 403 34/24 0.073 - - 0
Oct 29 15:00:47 sogod [1641]: [WARN] <0x0x55d89b8b3020[WOWatchDogChild]> pid 1714 has been hanging in the same request for 8 minutes
Oct 29 15:00:50 sogod [1641]: [WARN] <0x0x55d89b8b30d0[WOWatchDogChild]> pid 1715 has been hanging in the same request for 4 minutes




THIS IS IS LOG FROM SOGO WHEN TRYING TO CHANGE THE PASSWORD


DB backend is postgresql ? postgreSQL cannot update view in iRedMail.

Re: Password change error

$
0
0

With PostgreSQL, SOGo cannot change user password.


Re: Amavis starts at boot time but not bind to tcp ports

$
0
0

Didn't have similar issue report before.

Did you see any error on console while booting Debian OS?

Re: Vacation null sender issues.

$
0
0

Sounds like a bug of Dovecot sieve or sieve rule.

- How did you generate the sieve filters?
- Please show us full sieve filters for troubleshooting.
- Also try to turn on debug mode in Dovecot and trigger the vacation again, maybe sieve log will have some useful info for troubleshooting. FYI: http://www.iredmail.org/docs/debug.dovecot.html

Re: mlmmj subscription emails missing

$
0
0

About "reproduce it steadily", i mean:

1: the system doesn't have any zombie process
2: do something
3: the system have zombie process after step 2. and you can also see zombie process after 1+2.

Re: Demo/Evaluation version of iRedmail for Mobile App

Re: Problem with mlmmjadmin

Re: Postfix configuration - Hostname parameters

$
0
0

The mail headers are mostly used by MTA, not read by end users.
Why do you want to insert different hostnames in mail?

Re: iRedMail and GitLab smtp configuration


Re: Shared folders not visible in LIST

$
0
0

I did a quick test with the latest iRedMail-0.9.8 and Roundcube 1.3.8, it works fine.
screenshot: https://imgur.com/a/d1js4j5

What i did:

- Enable Roundcube plugin "acl"
- Login to Roundcube, click "Settings -> Folders"
- Select the folder you want to share, add a new sharing, input the email address you want to share to, select privileges, save.
- Logout Roundcube, then login to the user you shared to, the shared folder is automatically subscribed.

Re: Icelandic characters in password

Re: Vacation problem

$
0
0

No idea, it seems Dovecot or pigeonhole bug.
Could you update ports tree and upgrade mail/dovecot and mail/dovecot-pigeonhole, then test again?

Re: Shared folders not visible in LIST

$
0
0

As I wrote before, I did exactly the same. And everything worked the same.

The only problem I have is that Dovecot doesn't show the folders on LIST or LIST-EXTENDED, so they are not visible in the client, any client (used Roundcube, Thunderbird and Outlook). And I have no clue why, I have already enabled all debugging, and there are no errors, not on creating the ACL and not on logging in and accessing the mailbox after that.

Re: Amavis starts at boot time but not bind to tcp ports

$
0
0

I found these similar issues: This and This other

I don't see any error on console while booting Debian

Viewing all 45920 articles
Browse latest View live


Latest Images