1 (edited by hainan 2016-09-23 05:26:39)

Topic: Can't send or receive email [SOLVED]

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: FreeBSD 64bit Jail
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No.
- Related log if you're reporting an issue:

root@mail.xxx.xxx.xx
(host 190.168.2.228[190.168.2.228] said: 421 4.3.2 Service shutting down, closing channel (in reply to MAIL FROM command))
                                         root@mail.xxx.xxx.xx

I also check maillog. Now i'm gettin some error.

relay=190.168.2.228[190.168.2.228]:10024, delay=2249, delays=2246/2.2/0.23/0.01, dsn=4.3.2, status=deferred (host 190.168.2.228[190.168.2.228] said: 421 4.3.2 Service shutting down, closing channel (in reply to MAIL FROM command))
Sep 22 22:51:06 mail amavis[92134]: (92134-01) (!!)TROUBLE in process_request: Error in tempdir() using /var/amavis/tmp/amavis-20160922T225106-92134-XXXXXXXX: Could not create directory /var/amavis/tmp/amavis-20160922T225106-92134-p_vpJvI6: Too many links at /usr/local/sbin/amavisd line 7361.
Sep 22 22:51:06 mail amavis[92134]: (92134-01) (!)Requesting process rundown after fatal error
Sep 22 22:51:06 mail amavis[92135]: (92135-01) (!!)TROUBLE in process_request: Error in tempdir() using /var/amavis/tmp/amavis-20160922T225106-92135-XXXXXXXX: Could not create directory /var/amavis/tmp/amavis-20160922T225106-92135-G2K_yKhr: Too many links at /usr/local/sbin/amavisd line 7361.
Sep 22 22:51:06 mail amavis[92135]: (92135-01) (!)Requesting process rundown after fatal error


Sep 22 22:25:17 mail postfix/smtpd[90044]: connect from queen.sibername.com[67.212.91.61]
Sep 22 22:25:17 mail postfix/smtpd[90386]: connect from sharonkuhn.com[104.131.73.224]
Sep 22 22:25:18 mail postfix/smtpd[90246]: warning: unknown[208.112.85.150]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Sep 22 22:25:18 mail postfix/smtpd[90246]: disconnect from unknown[208.112.85.150] ehlo=2 starttls=1 auth=0/1 quit=1 commands=4/5
Sep 22 22:25:19 mail postfix/smtpd[90388]: warning: unknown[193.218.152.31]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Sep 22 22:25:19 mail postfix/smtpd[90037]: warning: cl-02.atm.binero.net[195.74.38.63]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Sep 22 22:25:19 mail postfix/smtpd[90064]: warning: uscentral31.myserverhosts.com[174.136.12.155]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Sep 22 22:25:19 mail postfix/smtpd[90037]: disconnect from cl-02.atm.binero.net[195.74.38.63] ehlo=2 starttls=1 auth=0/1 quit=1 commands=4/5
Sep 22 22:25:19 mail postfix/smtpd[90388]: disconnect from unknown[193.218.152.31] ehlo=2 starttls=1 auth=0/1 quit=1 commands=4/5
Sep 22 22:25:19 mail postfix/smtpd[90064]: disconnect from uscentral31.myserverhosts.com[174.136.12.155] ehlo=2 starttls=1 auth=0/1 quit=1 commands=4/5
Sep 22 22:25:20 mail postfix/smtpd[90150]: connect from guillaume1.hix.nl[83.137.194.150]
Sep 22 22:25:20 mail postfix/smtpd[90386]: warning: sharonkuhn.com[104.131.73.224]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Sep 22 22:25:20 mail postfix/smtpd[90044]: warning: queen.sibername.com[67.212.91.61]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Sep 22 22:25:20 mail postfix/smtpd[90387]: warning: ip-72-167-251-162.ip.secureserver.net[72.167.251.162]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Sep 22 22:25:20 mail postfix/smtpd[90150]: SSL_accept error from guillaume1.hix.nl[83.137.194.150]: lost connection
Sep 22 22:25:20 mail postfix/smtpd[90150]: lost connection after STARTTLS from guillaume1.hix.nl[83.137.194.150]
Sep 22 22:25:20 mail postfix/smtpd[90150]: disconnect from guillaume1.hix.nl[83.137.194.150] helo=1 ehlo=1 starttls=0/1 commands=2/3
Sep 22 22:25:20 mail postfix/smtpd[90386]: disconnect from sharonkuhn.com[104.131.73.224] ehlo=2 starttls=1 auth=0/1 quit=1 commands=4/5
Sep 22 22:25:20 mail postfix/smtpd[90044]: disconnect from queen.sibername.com[67.212.91.61] ehlo=2 starttls=1 auth=0/1 quit=1 commands=4/5
Sep 22 22:25:20 mail postfix/smtpd[90387]: disconnect from ip-72-167-251-162.ip.secureserver.net[72.167.251.162] ehlo=2 starttls=1 auth=0/1 quit=1 commands=4/5
Sep 22 22:25:24 mail postfix/smtpd[90270]: connect from hm9141.publiccloud.com.br[186.202.150.187]
Sep 22 22:25:24 mail postfix/smtpd[90034]: connect from cloudserver108510.home.net.pl[79.96.227.52]

====
Hi,

some of my users are using weak password; so someone use this accounts for spam email. today i changed all of these users password. But mail server can't send or receive email from inside and outside. yesterday everything is fine with this config. i need help.

Sorry about my english.

EDIT: Amavisd can't clean tmp directory. I was clean tmp directory and now i'm sending and receiveing email. But gmail already blacklist our mail server. Tomorrow i'll handle this.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Can't send or receive email [SOLVED]

Now i got strange error in mail.

Rejected by next-hop MTA on relaying, from
    MTA(smtp:[190.168.2.228]:10025): 554 5.4.0 Error: too many hops (in reply
    to end of DATA command)

3

Re: Can't send or receive email [SOLVED]

Please show us full, original error.

4

Re: Can't send or receive email [SOLVED]

ZhangHuangbin wrote:

Please show us full, original error.

Error log

Sep 22 23:22:24 mail postfix/smtp[96165]: 3E2FC1074D26: to=<xxx@xxx.xxx.xx>, relay=190.168.2.228[190.168.2.228]:10026, conn_use=13, delay=15, delays=0.1/13/0/2.5, dsn=5.4.0, status=bounced (host 190.168.2.228[190.168.2.228] said: 554 5.4.0 id=96070-05-13 - Rejected by next-hop MTA on relaying, from MTA(smtp:[190.168.2.228]:10025): 554 5.4.0 Error: too many hops (in reply to end of DATA command))

5

Re: Can't send or receive email [SOLVED]

hainan wrote:

Sep 22 23:22:24 mail postfix/smtp[96165]: 3E2FC1074D26: to=<xxx@xxx.xxx.xx>, relay=190.168.2.228[190.168.2.228]:10026, conn_use=13, delay=15, delays=0.1/13/0/2.5, dsn=5.4.0, status=bounced (host 190.168.2.228[190.168.2.228] said: 554 5.4.0 id=96070-05-13 - Rejected by next-hop MTA on relaying, from MTA(smtp:[190.168.2.228]:10025): 554 5.4.0 Error: too many hops (in reply to end of DATA command))

Port 10026 is used by Amavisd with default iRedMail settings, did you change this? And it should be '127.0.0.1:10026" by default, why yours is 190.168.2.228? What does this server (190.168.2.228) used for?

6

Re: Can't send or receive email [SOLVED]

Please help me regarding this case, i also encounter this issue even though i point the port of Amavis to 10026, 127.0.0.1:10026

7

Re: Can't send or receive email [SOLVED]

Negative SMTP response to data-dot (<mary.solis@roadie-mail.ubiquitygs.com>): 550 5.7.1 Command rejected
(!)FWD from <xxxx@@xxxx> -> <test@domain.com>,BODY=7BIT 550 5.7.1 from MTA(smtp:[127.0.0.1]:10025): 550 5.7.1 Command rejected

8

Re: Can't send or receive email [SOLVED]

Please post your issue in a new forum topic with detailed explanation and related log.