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

Re: dovecot log: imap: Error: DETAIL: Key (username, domain) already exis

$
0
0
ZhangHuangbin wrote:
communque wrote:

re-imaging the server, re-installing iRedMail with postgreSQL and then re-doing the steps to get SpamAssassin.

What do you mean "get SpamAssassin"?

I cannot reproduce this issue locally.

get SpamAssassin: Refers to what my (possibly mistaken) understanding that setting up SpamAssassin learning via dragging to/from Junk folder requires additional installation.  Let me know if I misunderstood.  I was attempting to get it set up in postgreSQL.

But before getting into that: I re-imaged the OS again and re-installed iRedMail.
This time I did NOT attempt to set up bayes in postgres, so the only steps were those to install iRedMail + certbot for LetsEncrypt and then used iredmail's webmail UI to set up a single email user.

There's no additional customization of any kind.

Nonetheless I'm seeing the duplicate key error already, so it's definitely something coming from the installation process.

I am able to send/receive emails successfully, at least for a while.  After a day or emails stop sending/receiving, and I re-boot the iRedMail server to get things working again.  I don't know if that's related to the error.


oAuth / 2 Step Verfication Feature Request

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- 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.
====

Hi Devs,

I am wondering if you could add support for oAuth / 2 Step Verification for FIDO2 Support. I have found some Plugins for Roundcube but they don't seem to be maintained anymore.

Regards

Re: dovecot log: imap: Error: DETAIL: Key (username, domain) already exis

$
0
0
communque wrote:

Nonetheless I'm seeing the duplicate key error already

How did you trigger this issue? Login to webmail and refresh? Or refresh multiple MUA / webmail with same account at the same time?

I can not reproduce this issue locally.

Re: dovecot log: imap: Error: DETAIL: Key (username, domain) already exis

$
0
0
ZhangHuangbin wrote:

How did you trigger this issue? Login to webmail and refresh? Or refresh multiple MUA / webmail with same account at the same time?

Triggered by sending a single email from Apple Mail

Also triggered by sending a single email from iOS Mail

Also triggered by sending a single email via NodeMailerJS

Basically any and all attempts to send emails to this iRedMail account will trigger the 'duplicate key' error

Emails arriving on this server are few and far between at the moment, so it's very easy to distinguish what's sent when.  No emails are being sent simultaneously.  All emails are coming from external servers, none from the iRedMail server in question.

Also confirmed: This email server stops receiving emails at a certain point (TBD) every day.  At around 9am / 10am UTC a backlog of emails arrives -- as if the server machine falls asleep and then later wakes up.  The iRedMail server machine is a remotely-hosted using Ubuntu 24.04 LTS (Jammy), not a desktop machine.  No energy saver software has been installed, and I believe Ubuntu does not include energy savers by default.

Re: Using Nginx to host websites on the same server as iRedMail

Re: Debian 12 iredmail 1.7.0 iredapd issues

$
0
0
ZhangHuangbin wrote:

- iRedAPD (and mlmmjadmin, iRedAPD, iRedAdmin-Pro) uses Python v3, not v2.
- No similar report from other Debian 12 users so far. And i cannot reproduce this issue locally.


So why does my 1.7.0 try to use it?

DKIM header wrong help please

$
0
0

HI all

i have completed the dkim, dmarc and spf and all chekc out fine and pass using any dkim checker and mx toolbox

however gmail fails the dkim on the the line
"DKIM:    'FAIL' with domain tamsin.co.uk "
the actual fail line is
dkim=temperror (no key for signature) header.i=@tamsin.co.uk header.s=dkim header.b=LDkz4AJb;

so my domain is actually 4tamsin.co.uk. when i created the server i missed the 4 off and now i have no idea where this is coming from as i have removed all entries of tamsin.co.uk from dns/hostname/hosts. the domain does not exist in mysql or iredadmin.

is the some file somewhere that i should have changed but missed ?

thanks all

Re: dovecot log: imap: Error: DETAIL: Key (username, domain) already exis

$
0
0
ZhangHuangbin wrote:
communque wrote:

Nonetheless I'm seeing the duplicate key error already

How did you trigger this issue? Login to webmail and refresh? Or refresh multiple MUA / webmail with same account at the same time?

I can not reproduce this issue locally.

@ZhangHuangbin, in case this is helpful, I re-imaged the machine again, re-installed iRedMail and am pasting all the steps...

All executed as root

All commands under root user, in /root (home) directory

> lsb_release -a
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Ubuntu 22.04.4 LTS
    Release:    22.04
    Codename:    jammy

> apt-get update

> apt-get upgrade

> vi /etc/hostname
    mail
    [leave.whatver.install.created]

> vi /etc/hosts
    [added to the first line after 127.0.0.1]
    mail.mydomain.com mail localhost
    ['localhost' was already there]

> sudo apt-get install -y gzip dialog
  │ Newer kernel available                                                   │ 
  │                                                                          │ 
  │ The currently running kernel version is 5.15.0-97-generic which is not   │ 
  │ the expected kernel version 5.15.0-117-generic.                          │ 
  │                                                                          │ 
  │ Restarting the system to load the new kernel will not be handled         │ 
  │ automatically, so you should consider rebooting.
  <OK>

OK'd that
                     ┌────┤ Daemons using outdated libraries ├─────┐
                │                                             │ 
                │                                             │ 
                │ Which services should be restarted?         │ 
                │                                             │ 
                │    [*] cron.service                     ↑   │ 
                │    [ ] dbus.service                     ▮   │ 
                │    [ ] getty@tty1.service               ▒   │ 
                │    [*] haveged.service                  ▒   │ 
                │    [*] lw-telegraf.service              ▒   │ 
                │    [ ] ModemManager.service             ▒   │ 
                │    [*] multipathd.service               ▒   │ 
                │    [ ] networkd-dispatcher.service      ▒   │ 
                │    [*] packagekit.service               ▒   │ 
                │    [*] polkit.service                   ↓   │ 
                │                                             │ 
                │                                             │ 
                │          <Ok>              <Cancel>         │ 
                │                                             │ 
                └─────────────────────────────────────────────┘ 

[Ok'd the above, leaving starred default entries as they appeared, no changes]

    Restarting services...
     etc/needrestart/restart.d/systemd-manager
    systemctl restart cron.service haveged.service lw-telegraf.service multipathd.service packagekit.service polkit.service serial-getty@ttyS0.service systemd-journald.service systemd-networkd.service systemd-resolved.service systemd-udevd.service udisks2.service
    Service restarts being deferred:
    systemctl restart ModemManager.service
    /etc/needrestart/restart.d/dbus.service
    systemctl restart getty@tty1.service
    systemctl restart networkd-dispatcher.service
    systemctl restart systemd-logind.service
    systemctl restart unattended-upgrades.service
    systemctl restart user@0.service

    No containers need to be restarted.

    No user sessions are running outdated binaries.

    No VM guests are running outdated hypervisor (qemu) binaries on this host.

> reboot [to "load new kernel"]

> wget https://github.com/iredmail/iRedMail/archive/refs/tags/1.7.1.tar.gz

> tar zxf 1.7.1.tar.gz

> cd iRedMail-1.7.1

> bash iRedMail.sh

    Please specify a directory (in lowercase) used to store user mailboxes. [etc]
    > /var/vmail [default]

    Choose a web server you want to run
    > Nginx

    Choose a preferred backend used to store mail accounts
    > PostgreSQL

    Password for PostgreSQL administrator
    > ****

    Domain
    > mydomain.com

    Password for the mail domain administrator
    > ****

    Optional components
    [*] soundcubemail
    [ ] SOGo
    [*] netdata
    [*] iRedAdmin
    [*] Fail2ban
    <NEXT>

    Continue? [y|N]
    > y

    < Question > Would you like to use firewall rules provided by iRedMail?
    < Question > File: /etc/nftables.conf, with SSHD ports: 22. [Y|n]
    > y

    < Question > Restart firewall now (with ssh ports: 22)? [y|N]
    > y

    * Please reboot your system to enable all mail services.
> reboot

From https://docs.iredmail.org/letsencrypt.html

> apt install -y certbot

> certbot certonly --webroot --dry-run -w /var/www/html -d mail.mydomain.com
The dry run was successful.

> certbot certonly --webroot -w /var/www/html -d mail.mydomain.com
[install successful]

> mv /etc/ssl/certs/iRedMail.crt{,.bak}
> mv /etc/ssl/private/iRedMail.key{,.bak}
> ln -s /etc/letsencrypt/live/mail.mydomain.com/fullchain.pem /etc/ssl/certs/iRedMail.crt
> ln -s /etc/letsencrypt/live/mail.mydomain.com/privkey.pem /etc/ssl/private/iRedMail.key
> systemctl restart postfix dovecot nginx

Added new user at https://mail.mydomain.com/iredadmin/
myuser@mydomain.com

First incoming email immediately producers the duplicate key error, listed in imap.log and dovecot.log

I'm wondering if there's a bug in the iRedMail installer when it comes to postgreSQL?


Re: dovecot log: imap: Error: DETAIL: Key (username, domain) already exis

$
0
0

Weird, i cannot reproduce this issue locally.
Is it possible to give me direct ssh access with root privilege for troubleshooting?
Contact us via email: support _at_ iredmail.org

Re: DKIM header wrong help please

$
0
0

Please provide basic info of your iRedMail server:

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- 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.
====

Also:

- Did you modify any config files after iRedMail installation?
- Do you use one DKIM key for all email domains?

Re: Debian 12 iredmail 1.7.0 iredapd issues

$
0
0
maughanorama wrote:

So why does my 1.7.0 try to use it?

No clue at all.
Is it possible to give me direct ssh access with root privilege for troubleshooting?
Contact us via email: support _at_ iredmail.org

Re: Using Nginx to host websites on the same server as iRedMail

$
0
0
IRedMailForum wrote:

I am still at a loss as to why the original index.html is being called

Make sure you have correct "root" and "index" directive in your virtual web host config file.
Also, please create new forum topic for your own issue, do not hijack other's.

Re: oAuth / 2 Step Verfication Feature Request

$
0
0

We don't develop Roundcube plugins, so if there's no working one available, we cannot help either. sad

Re: oAuth / 2 Step Verfication Feature Request

$
0
0
ZhangHuangbin wrote:

We don't develop Roundcube plugins, so if there's no working one available, we cannot help either. sad

Hey ZhangHuangbin not seen you around much, hope your good.

I have noticed that some of the Plugins for Roundcube which are used for 2 Step Verification requires modifying Auth for Dovecot. I have found a Plugin that is still maintained so will try that.  https://git.kolab.org/diffusion/RPK/bro … kolab_2fa/

Regards

Re: DKIM header wrong help please

$
0
0

Iredmail 1.7.0
Debian 12

Yes managed via iredadmin
No have not re onfigured any configs

No both domains i have have seperate dkim spf and dmarc


Re: DKIM header wrong help please

$
0
0

Iredmail 1.7.0
Debian 12

Yes managed via iredadmin
No have not re onfigured any configs

Re: DKIM header wrong help please

$
0
0

i have just recreated my dkim keys with -d  correct domains yet its still the same

where does dkim temp error get the header.i info from ?

Re: DKIM header wrong help please

$
0
0

even on both my domains that have seperate keys, the header.i is the same domain for each.. is there something maybe in dovecote?

Re: DKIM header wrong help please

Re: oAuth / 2 Step Verfication Feature Request

Viewing all 43488 articles
Browse latest View live


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