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

SMTP Error (454): Authentication failed.

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail1.0-beta1
- Store mail accounts in which backend (PGSQL):
- Web server (Nginx):
- Manage mail accounts with iRedAdmin
-
Dec 20 19:09:37 mail postfix/anvil[11787]: statistics: max cache size 1 at Dec 20 19:03:32
Dec 20 19:13:02 mail postfix/submission/smtpd[12078]: connect from localhost[127.0.0.1]
Dec 20 19:13:02 mail postfix/submission/smtpd[12078]: warning: connect to Milter service inet:127.0.0.1:8893: Connection refused
Dec 20 19:13:02 mail postfix/submission/smtpd[12078]: NOQUEUE: milter-reject: CONNECT from localhost[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
Dec 20 19:13:02 mail postfix/submission/smtpd[12078]: NOQUEUE: milter-reject: EHLO from localhost[127.0.0.1]: 451 4.7.1 Service unavailable - try again later; proto=SMTP helo=<_>
Dec 20 19:13:02 mail roundcube: ERROR: Invalid response code received from server (454)
Dec 20 19:13:02 mail roundcube: ERROR: Invalid response code received from server (530)
Dec 20 19:13:02 mail postfix/submission/smtpd[12078]: disconnect from localhost[127.0.0.1]
Dec 20 19:13:02 mail roundcube: <fl6daqo6> SMTP Error: Authentication failure: Invalid response code received from server (Code: 454) in /opt/www/roundcubemail-1.3.10/program/lib/Roundcube/rcube.php on line 1667 (POST /mail/?_task=mail&_unlock=loading1576849414703&_lang=en_US&_framed=1&_action=send)
Dec 20 19:13:36 mail clamd[9359]: SelfCheck: Database status OK.


Re: SMTP Error (454): Authentication failed.

$
0
0

if you reconfigured then check where you tuned and if allowed in the firewall

SMTP service: port 587 over TLS.

Re: Why are you interested in iRedMail?

$
0
0

viet nam vs philippin
<a href=https://www.datanumen.com/outlook-repair/>
bong da onlineV</a>

Re: SMTP Error (454): Authentication failed.

$
0
0
CrashXRU wrote:

if you reconfigured then check where you tuned and if allowed in the firewall

SMTP service: port 587 over TLS.


i will check in firewall it will be enabled.

Re: Why are you interested in iRedMail?

$
0
0

tin seagame 29
<a href=https://www.datanumen.com/outlook-repair/>
tr?c ti?p asiad 2018V</a>

Re: errors in maillog after recent amavis update

Re: nginx default to /SOGo vs /mail

$
0
0

thanks @ZhangHuangbin as always your prompt response helped. sorry for the delay in getting back to you. Happy holidays and have a great new year!

DKIM Duplicate Signed

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.0
- Deployed with iRedMail offline
- Linux/BSD distribution name and version: Debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP -> Active Directory
- Web server: Nginx
- Manage mail accounts with iRedAdmin-Pro? NONE
====


emails do not pass verification on some servers

Bug

KIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=example.com;
     h=content-language:content-type:content-type:mime-version:date
    :date:message-id:organization:subject:subject:from:from:to
    :reply-to; s=dkim; t=1576719870; x=1579311871; bh=uwS3JSJ5eBu19g
    l5hkhn6Ec8x/gAOEFtq5Hu5sHC2nI=; b=OPN43Jf1/hCkGqq1Hj/WjFwyHExAxE
    yclqclq0DLRTnvoYUzztRKKsNgXCoasTetEZM8wtP3j2RzLixpwnVqQkIcv0Za9u
    SXOX+JCHvPQITxRkVbotfR33prixOfGcxTh1JhjTdpUQtC7WdEOSA+sIW+Q80P92
    zj7Btg/GpRgG8=

h=content-language:content-type:content-type:mime-version:date
    :date
:message-id:organization:subject:subject:from:from:to
    :reply-to;


Fine

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=example.com;
     h=content-language:content-type:mime-version:date:message-id
    :organization:subject:from:to:reply-to; s=dkim; t=1576720244; x=
    1579312245; bh=+pmCmcEsyRvDj8FjJAmvE8SiHasIBw0e1DsK/VV+Fmk=; b=k
    TnqG2a3xR32mPSdMciUgohOWTpAkfyaZQjf4i6Lzu9Ge4KRjfyE032RnFev7pC8F
    adf4Z8JIUQ+0taAF9egaAmzHAZlO47wpzLxPAvZVVLjhznZK6DULG446Pi9WRnpx
    dlHWtYQjvk1jDP2qFl1LJ7VBA49i2fYyoWGE+N19Gg=

HowTo
add rules $signed_header_fields to configuration amavis (/etc/amavis/conf.d/50-user)

$signed_header_fields{'to'} = 1;
$signed_header_fields{'from'} = 1;
$signed_header_fields{'received'} = 0;
$signed_header_fields{'subject'} = 1;
$signed_header_fields{'message-id'} = 1;
$signed_header_fields{'content-type'} = 1;
$signed_header_fields{'date'} = 1;
$signed_header_fields{'mime-version'} = 1;

Done


p.s. I think you should add similar rules by default


Re: Senderscore Exceptions?

$
0
0

Thank you all my all point is clear today. I really needed this information.
I am a developer in Canada if you want to develop a website with a dynamic way then visit: Web Development Services
I think you all appreciate my work.

Re: SMTP Error (454): Authentication failed.

$
0
0
akashp276 wrote:

Dec 20 19:13:02 mail postfix/submission/smtpd[12078]: warning: connect to Milter service inet:127.0.0.1:8893: Connection refused

Your Postfix milter (OpenDKIM?) was not running. Please start it and  try again.

Re: Since iRedMail 1.0 and Buster Mail delivery takes longer

$
0
0

The original problem as caused due to clamav service was not running.

Dec 19 17:37:28 XXXXXX amavis[31324]: (31324-01) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 113) line 659.\n

Topic closed due to issue solved. smile

Re: nftables rule no ping floods

$
0
0

Fixed in git repo, thanks for the feedback. smile

Re: DKIM Duplicate Signed

$
0
0

Fixed in git version. Thanks for the feedback. smile

Re: Cannot connect to mail server, following letsencrypt renewal

$
0
0

Please double check Postfix/Nginx/Dovecot config files, make sure they're loading correct ssl cert/key files.

Re: New iRedMail 1.0 install with 1 relay domain => "Relay access denied"?

$
0
0

The only one difference is "check_policy_service inet:127.0.0.1:12340".
Does the relay work if you remove this restriction rule in /etc/postfix/main.cf?


Re: New iRedMail 1.0 install with 1 relay domain => "Relay access denied"?

$
0
0

No change when removing that line.

Even when leaving

smtpd_recipient_restrictions =

empty, it does not work.

When adding example.com to "mydestination" the system reports "Recipient address rejected: User unknown in local recipient table"


Where do I need to enable debugging in order to get details about where the rejection occurs?


I found a difference in "mysql/virtual_mailbox_domains.cf":

Working box:

query       = SELECT domain FROM domain WHERE domain='%s' AND backupmx=0 AND active=1 UNION SELECT alias_domain.alias_domain FROM alias_domain,domain WHERE alias_domain.alias_domain='%s' AND alias_domain.active=1 AND alias_domain.target_domain=domain.domain AND domain.active=1 AND domain.backupmx=0

Non-Working box:

query       = (SELECT domain FROM domain WHERE domain='%s' AND backupmx=0 AND active=1 LIMIT 1) UNION (SELECT alias_domain.alias_domain FROM alias_domain,domain WHERE alias_domain.alias_domain='%s' AND alias_domain.active=1 AND alias_domain.target_domain=domain.domain AND domain.active=1 AND domain.backupmx=0 LIMIT 1)

Is that change documented in the upgrade guides? I can't remember.



I check mariadb query log. Following queries have been done when trying to send telnet email:

191223  8:38:28       37 Connect    vmail@localhost as anonymous on vmail
           37 Query    SELECT maillists.transport FROM maillists,domain WHERE maillists.address='*' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1
           38 Connect    vmail@localhost as anonymous on vmail
           38 Query    SELECT transport FROM domain WHERE domain='*' AND active=1 LIMIT 1
           37 Query    SELECT maillists.transport FROM maillists,domain WHERE maillists.address='*' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1
           38 Query    SELECT transport FROM domain WHERE domain='*' AND active=1 LIMIT 1
           39 Connect    vmail@localhost as anonymous on vmail
           39 Query    (SELECT domain FROM domain WHERE domain='senderdomain.com' AND backupmx=0 AND active=1 LIMIT 1) UNION (SELECT alias_domain.alias_domain FROM alias_domain,domain WHERE alias_domain.alias_domain='senderdomain.com' AND alias_domain.active=1 AND alias_domain.target_domain=domain.domain AND domain.active=1 AND domain.backupmx=0 LIMIT 1)
           40 Connect    vmail@localhost as anonymous on vmail
           40 Query    SELECT relayhost FROM sender_relayhost WHERE account='\"<>\"' LIMIT 1
           40 Query    SELECT relayhost FROM sender_relayhost WHERE account='<>' LIMIT 1
           41 Connect    vmail@localhost as anonymous on vmail
           41 Query    SELECT mailbox.transport FROM mailbox,domain WHERE mailbox.username='test@senderdomain.com' AND mailbox.domain='senderdomain.com' AND mailbox.domain=domain.domain AND mailbox.transport<>'' AND mailbox.active=1 AND mailbox.enabledeliver=1 AND domain.backupmx=0 AND domain.active=1
           37 Query    SELECT maillists.transport FROM maillists,domain WHERE maillists.address='test@senderdomain.com' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1
           38 Query    SELECT transport FROM domain WHERE domain='test@senderdomain.com' AND active=1 LIMIT 1
           37 Query    SELECT maillists.transport FROM maillists,domain WHERE maillists.address='senderdomain.com' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1
           38 Query    SELECT transport FROM domain WHERE domain='senderdomain.com' AND active=1 LIMIT 1
           37 Query    SELECT maillists.transport FROM maillists,domain WHERE maillists.address='.de' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1
           38 Query    SELECT transport FROM domain WHERE domain='.de' AND active=1 LIMIT 1
191223  8:38:29       39 Query    (SELECT domain FROM domain WHERE domain='example.com' AND backupmx=0 AND active=1 LIMIT 1) UNION (SELECT alias_domain.alias_domain FROM alias_domain,domain WHERE alias_domain.alias_domain='example.com' AND alias_domain.active=1 AND alias_domain.target_domain=domain.domain AND domain.active=1 AND domain.backupmx=0 LIMIT 1)
           40 Query    SELECT relayhost FROM sender_relayhost WHERE account='test@senderdomain.com' LIMIT 1
           40 Query    SELECT relayhost FROM sender_relayhost WHERE account='@senderdomain.com' LIMIT 1
           41 Query    SELECT mailbox.transport FROM mailbox,domain WHERE mailbox.username='test@example.com' AND mailbox.domain='example.com' AND mailbox.domain=domain.domain AND mailbox.transport<>'' AND mailbox.active=1 AND mailbox.enabledeliver=1 AND domain.backupmx=0 AND domain.active=1
           37 Query    SELECT maillists.transport FROM maillists,domain WHERE maillists.address='test@example.com' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1
           38 Query    SELECT transport FROM domain WHERE domain='test@example.com' AND active=1 LIMIT 1
           37 Query    SELECT maillists.transport FROM maillists,domain WHERE maillists.address='example.com' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1
           38 Query    SELECT transport FROM domain WHERE domain='example.com' AND active=1 LIMIT 1
           39 Query    (SELECT domain FROM domain WHERE domain='senderdomain.com' AND backupmx=0 AND active=1 LIMIT 1) UNION (SELECT alias_domain.alias_domain FROM alias_domain,domain WHERE alias_domain.alias_domain='senderdomain.com' AND alias_domain.active=1 AND alias_domain.target_domain=domain.domain AND domain.active=1 AND domain.backupmx=0 LIMIT 1)
           40 Query    SELECT relayhost FROM sender_relayhost WHERE account='test@example.com' LIMIT 1
           40 Query    SELECT relayhost FROM sender_relayhost WHERE account='@example.com' LIMIT 1
           41 Query    SELECT mailbox.transport FROM mailbox,domain WHERE mailbox.username='test@senderdomain.com' AND mailbox.domain='senderdomain.com' AND mailbox.domain=domain.domain AND mailbox.transport<>'' AND mailbox.active=1 AND mailbox.enabledeliver=1 AND domain.backupmx=0 AND domain.active=1
           37 Query    SELECT maillists.transport FROM maillists,domain WHERE maillists.address='test@senderdomain.com' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1
           38 Query    SELECT transport FROM domain WHERE domain='test@senderdomain.com' AND active=1 LIMIT 1
           37 Query    SELECT maillists.transport FROM maillists,domain WHERE maillists.address='senderdomain.com' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1
           38 Query    SELECT transport FROM domain WHERE domain='senderdomain.com' AND active=1 LIMIT 1
           37 Query    SELECT maillists.transport FROM maillists,domain WHERE maillists.address='.de' AND maillists.active=1 AND maillists.domain = domain.domain AND domain.active=1
           38 Query    SELECT transport FROM domain WHERE domain='.de' AND active=1 LIMIT 1
           42 Connect    vmail@localhost as anonymous on vmail
           42 Query    SELECT forwardings.forwarding FROM forwardings,domain WHERE forwardings.address='test@senderdomain.com' AND forwardings.domain=domain.domain AND forwardings.active=1 AND domain.backupmx=0 AND domain.active=1
           43 Connect    vmail@localhost as anonymous on vmail
           43 Query    SELECT forwardings.forwarding FROM forwardings,alias_domain,domain WHERE alias_domain.alias_domain='senderdomain.com' AND forwardings.address=CONCAT('test', '@', alias_domain.target_domain) AND alias_domain.target_domain=domain.domain AND forwardings.active=1 AND alias_domain.active=1 AND domain.backupmx=0
           44 Connect    vmail@localhost as anonymous on vmail
           44 Query    SELECT forwardings.forwarding FROM forwardings,domain WHERE forwardings.address='senderdomain.com' AND 'test' NOT LIKE '%+%' AND forwardings.address=domain.domain AND forwardings.active=1 AND domain.active=1 AND domain.backupmx=0
           45 Connect    vmail@localhost as anonymous on vmail
           45 Query    SELECT forwardings.forwarding FROM forwardings,alias_domain,domain WHERE alias_domain.alias_domain='senderdomain.com' AND forwardings.address=alias_domain.target_domain AND alias_domain.target_domain=domain.domain AND forwardings.active=1 AND alias_domain.active=1
           42 Query    SELECT forwardings.forwarding FROM forwardings,domain WHERE forwardings.address='@senderdomain.com' AND forwardings.domain=domain.domain AND forwardings.active=1 AND domain.backupmx=0 AND domain.active=1
           45 Query    SELECT forwardings.forwarding FROM forwardings,alias_domain,domain WHERE alias_domain.alias_domain='senderdomain.com' AND forwardings.address=alias_domain.target_domain AND alias_domain.target_domain=domain.domain AND forwardings.active=1 AND alias_domain.active=1

Re: Since iRedMail 1.0 and Buster Mail delivery takes longer

$
0
0
ZhangHuangbin wrote:

The original problem as caused due to clamav service was not running.

Dec 19 17:37:28 XXXXXX amavis[31324]: (31324-01) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 113) line 659.\n

Topic closed due to issue solved. smile

Yes, but it crashed with the 4 Stats..... Parameters. Seems to be important to comment out/remove them.

internal server error after iredadmin login

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  1.0
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Debian 10 Buster
- 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.
====
Hi,
when I login in iredadmin I only get an internal server error.

In /var/log/messages I found the following error:

Traceback (most recent call last):
#012  File "/usr/lib/python2.7/dist-packages/web/application.py", line 287, in process
#012    return p(lambda: process(processors))
#012  File "/usr/lib/python2.7/dist-packages/web/session.py", line 97, in _processor
#012    self._load()
#012  File "/usr/lib/python2.7/dist-packages/web/session.py", line 113, in _load
#012    self._check_expiry()
#012  File "/usr/lib/python2.7/dist-packages/web/session.py", line 136, in _check_expiry
#012    return self.expired()
#012  File "/usr/lib/python2.7/dist-packages/web/session.py", line 209, in expired
#012    self._save()
#012  File "/usr/lib/python2.7/dist-packages/web/session.py", line 147, in _save
#012    del current_values["ip"]
#012KeyError: 'ip'

Any idea what's the problem?

Re: Unable to connect to managesieve on 127.0.0.1:4190

$
0
0

I have no errors in IMAP debug.

How can I just change the sieve password please ?

Re: New iRedMail 1.0 install with 1 relay domain => "Relay access denied"?

$
0
0
broth wrote:

I found a difference in "mysql/virtual_mailbox_domains.cf":

Does it work if you revert this file to the one on old iRedMail release?

Viewing all 43369 articles
Browse latest View live


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