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

Re: Shared folders not visible in LIST

$
0
0

[root@mail ~]# dovecot --version
2.2.32 (dfbe293d4)

I'll compare the configurations later today, thanks!


Re: Shared folders not visible in LIST

$
0
0

Checked.

The location in the shared namespace was different. I updated it, and restarted Dovecot, but that doesn't fix the problem:

[root@mail ~]# dovecot acl debug -u shared.to@example.org Shared/shared-from@example.com
doveadm(shared.to@example.org): Info: Mailbox 'INBOX' is in namespace 'Shared/shared-from@example.com/'
doveadm(shared.to@example.org): Info: Mailbox path: /data/vmail/vmail1/example.com/s/h/a/shared-from-2018.06.19.10.32.43//Maildir
doveadm(shared.to@example.org): Info: All message flags are shared across users in mailbox
doveadm(shared.to@example.org): Info: User shared.to@example.org has rights: lookup read write write-seen write-deleted expunge create delete
doveadm(shared.to@example.org): Info: Mailbox found from dovecot-acl-list
doveadm(shared.to@example.org): Info: User shared-from@example.com found from ACL shared dict
doveadm(shared.to@example.org): Info: Mailbox Shared/shared-from@example.com is visible in LIST

[root@mail ~]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
a login "shared.to@example.org" "password"
a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE QUOTA ACL RIGHTS=texk] Logged in
b LIST "" *
* LIST (\HasNoChildren \Drafts) "/" Drafts
* LIST (\HasNoChildren \Trash) "/" Trash
* LIST (\HasNoChildren \Sent) "/" Sent
* LIST (\HasNoChildren \Junk) "/" Junk
* LIST (\HasNoChildren) "/" INBOX
b OK List completed (0.011 + 0.000 + 0.010 secs).
c logout
* BYE Logging out
c OK Logout completed (0.001 + 0.000 secs).
Connection closed by foreign host.

The location is now defined as

 location = maildir:%%Lh/Maildir/:INDEX=%%Lh/Maildir/Shared/%%Ld/%%Ln

If I look on disk, it has created:

/data/vmail/vmail1/example.com/s/h/a/shared-from-2018.06.19.10.32.43/Maildir/Shared
/data/vmail/vmail1/example.com/s/h/a/shared-from-2018.06.19.10.32.43/Maildir/Shared/example.com
/data/vmail/vmail1/example.com/s/h/a/shared-from-2018.06.19.10.32.43/Maildir/Shared/example.com/shared-from

which strikes me as odd, I would have expected this to be created in the MailDir of the user the folder was shared to, not the user who shares the folder?

Re: Can't edit User > Advanced iRedAdmin Pro 3.1

$
0
0

i will try to reproduce this issue locally and come back with a fix.

Re: Cerbot SSL

$
0
0

buy viagra without a doctor prescription <a href=http://viagrawithoutdoctorprescr.today/>viagra without a doctor prescription canada</a> viagra without a doctor prescription australia

Re: Shared folders not visible in LIST

$
0
0

Also,

dovecot mailbox list -u shared.to@example.org

Gives:

Drafts
Trash
Sent
Junk
Shared
Shared/shared_from@example.com
Shared/shared_from@example.com/To-Do
INBOX

so that also sees the shared folders. So why does IMAP not see it?

Re: Mails don't get forwarded if sent via mlmmj

Re: Shared folders not visible in LIST

$
0
0

In Thunderbird or Evolution the shared folders are also not visible, so they can't be subscribed to.

It clearly seems to be a Dovecot issue.

Re: Cerbot SSL

$
0
0

Hello,
I'm I right to use this command with iRedmail?
certbot certonly --webroot -d mydomain.com -w /var/www/html

Thank you.


Re: Icelandic characters in password

$
0
0

Hi Peter,
Well, to stick to ASCII we need a proper validator, as we cant control all our users - they are changing passwords themselves. And thats the issue

p.schumacher wrote:
bigweb wrote:

Hi - we have very serious trouble - users can change password using icelandic characters (like Á, É, Í, Ó, Ö, Ú, Ý ), .

Hi,
From my experience,stick with good old lower ASCII codes, <= 128. Even using umlauts in the comments of config files renders them unusable, same with passwords.

Peter

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

$
0
0

When connecting to a website, if Google Chrome browser fails to fetch the website to the browser, it throws an error saying "This site can't be reached Error" – ERR_CONNECTION_TIMED_OUT. It means the server is taking too much time to replying. The main reason behind this error is your computer can’t be able to access the internet connection or maybe something blocking your network to establishing a connection.   Apart from the Network issue, there can be multiple reasons why this error shows up. Before going to any fix, please make sure the server you want to open is exist. If server exist,  there are numerous solutions which can be used to solve this error.

Clear your Chrome browsing data
Check your Network Cables, Restart your Router and Reconnect
Check your Windows Host File
Remove Proxy
Flush DNS and reset TCP/IP
Run Chrome Cleanup Tool

Postfix configuration - Hostname parameters

$
0
0

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

Hello

I wanted to ask your expert opinion about whether it is possible to set multiple myhostname, myorigin and mydomain parameters in Postfix main.cf so that when we send email messages from different domains hosted on iRedMail server the corresponding values are injected into the message header depending on the domain/mailserver?

Thank you in advance

iRedMail and GitLab smtp configuration

$
0
0

- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: FreeBSD
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
====

Hi,
I lost a few hours to configure GitLab to send e-mail via iRedMail server, correct configuration here.
Maybe someone will use it:

Gitlab config file: /etc/gitlab/gitlab.rb (ruby file)

### Email Settings
      gitlab_rails['smtp_enable'] = true
      gitlab_rails['smtp_address'] = "your.iRedMail.server"
      gitlab_rails['smtp_port'] = 587
      gitlab_rails['smtp_user_name'] = "gitlab@your.iRedMail.server"
      gitlab_rails['smtp_password'] = "SecretPass"
      gitlab_rails['gitlab_email_from'] = "gitlab@your.iRedMail.server"
      gitlab_rails['smtp_authentication'] = "login"
      gitlab_rails['smtp_enable_starttls_auto'] = true

i used Docker (https://docs.gitlab.com/omnibus/docker/) and change default docker-compose.yml file:

GITLAB_OMNIBUS_CONFIG: |
      ...
      external_url 'http://gitlab.server'
      gitlab_rails['smtp_enable'] = true
      gitlab_rails['smtp_address'] = "your.iRedMail.server"
      gitlab_rails['smtp_port'] = 587
      gitlab_rails['smtp_user_name'] = "gitlab@your.iRedMail.server"
      gitlab_rails['smtp_password'] = "SecretPass"
      gitlab_rails['gitlab_email_from'] = "gitlab@your.iRedMail.server"
      gitlab_rails['smtp_authentication'] = "login"
      gitlab_rails['smtp_enable_starttls_auto'] = true
      ...

Good luck

Re: Postfix configuration - Hostname parameters

$
0
0

what do you want to achieve?

please, read postfix documentation about myhostname:
http://www.postfix.org/BASIC_CONFIGURATION_README.html

I've never seen than postfix have two or more myhostname (I might be wrong)

do you want One Big iRedMail Serwer and change hostname when you send e-mail from different domain, example:

when domain A => hostname: mail-a.domain.a
when domain B => hostname: mail-b.domain.b

that you want?

Re: Postfix configuration - Hostname parameters

$
0
0

Yes, correct.  This is my question.

One iRedMail server with multiple domains.  Host name is mail.abc.com
Mail servers are:

mail.abc.com
mail.xyz.com

I was wondering whether it is possible to pass unique myorigin, mydomain and myhost for each server.
Thanks

Re: Password change error

$
0
0
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


Re: Password change error

$
0
0
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

Re: Password change error

$
0
0

On the other hand when I run upgrade on the OS I get this :

SOGo database schemas are _not_ automatically upgraded by
the packaging system.

Please check the list of database schema upgrade scripts
inside /usr/share/doc/sogo/ and apply them if needed.

Would these 2 have anything to do with the error I´m getting?

Re: Postfix configuration - Hostname parameters

$
0
0

Like i said before: I might be wrong
but I've never seen two or more myhostname in postfix config

postfix isn't like apache or nginx where you can set ServerName for each site.

BTW its normal that your domain is abc.com and you send email form host: mail.xyz.com

even if you buy email support in Gmail, Yahoo or something else, you will send email as host (eg.) mail-123454.gmail.com, hostname not changing for your domain.

We use iRedMail for thirty domains - no problem (someone use for hundred) but is only one myhostname no matter what domain.

Re: Cerbot SSL

$
0
0

Do you have congratulations from CertBot and correctly save cert files?

Do you change config files like Zhang write: https://docs.iredmail.org/use.a.bought. … icate.html

And the last one: do you restart your services (nginx, postfix, dovecot)? (certonly don't restart your services)

certbot looks ok, what is error: Date is in the past or not find CA?

Give a screen or error logs, anything.

Re: Problem with mlmmjadmin

$
0
0
ZhangHuangbin wrote:

Any uwsgi related error in log files?

No errors found, but after executing the script:
# python maillist_admin.py info list@mydomain.xxx
Traceback (most recent call last):
  File "maillist_admin.py", line 119, in <module>
    _json = r.json()
TypeError: 'dict' object is not callable

appears such an entry in the log:
# grep -r uwsgi /var/log/messages
Oct 29 20:23:45 mail uwsgi: mail.mydomain.xxx [pid: 17500|app: 0|req: 1/4] 127.0.0.1 () {28 vars in 426 bytes} [Mon Oct 29 20:23:45 2018] GET /api/list@mydomain.xxx => generated 1558 bytes in 426 msecs (HTTP/1.1 200) 1 headers in 51 bytes (2 switches on core 0)

Viewing all 45914 articles
Browse latest View live




Latest Images