1 (edited by arneboeses 2018-06-23 03:34:32)

Topic: [solved] cannot send but receive

======== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: FreeBSD11.1 (Jail)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
====

Hi,

is set up a clean server in a jail and receive mails via haproxy. Don't know why, but I'm not able to send emails:

--------------------------------------------------------------------------------------
root@mail01:/ # tail -f /var/log/maillog
Jun 22 18:34:22 mail01 postfix/smtpd[26896]: connect from unknown[172.16.13.4]
Jun 22 18:34:22 mail01 postfix/smtpd[26896]: lost connection after CONNECT from unknown[172.16.13.4]
Jun 22 18:34:22 mail01 postfix/smtpd[26896]: disconnect from unknown[172.16.13.4] commands=0/0
Jun 22 18:34:27 mail01 postfix/qmgr[26698]: BCCB66D61C: from=<emma@donuts.com>, size=6398, nrcpt=1 (queue active)
Jun 22 18:34:27 mail01 postfix/qmgr[26698]: EA0646DCAE: from=<emma@donuts.com>, size=3848, nrcpt=1 (queue active)
Jun 22 18:34:27 mail01 postfix/qmgr[26698]: 52EA16CF1B: from=<emma@donuts.com>, size=2081, nrcpt=1 (queue active)
Jun 22 18:34:27 mail01 postfix/qmgr[26698]: DEFE16CED7: from=<emma@donuts.com>, size=3841, nrcpt=1 (queue active)
Jun 22 18:34:27 mail01 postfix/qmgr[26698]: CA1806CEAD: from=<emma@donuts.com>, size=3860, nrcpt=1 (queue active)
Jun 22 18:34:27 mail01 postfix/smtpd[26925]: connect from localhost[127.0.0.1]
Jun 22 18:34:27 mail01 postfix/smtpd[26926]: connect from localhost[127.0.0.1]
Jun 22 18:34:30 mail01 postfix/postscreen[26701]: CONNECT from [172.16.13.4]:20123 to [172.16.13.4]:2525
Jun 22 18:34:30 mail01 postfix/postscreen[26701]: WHITELISTED [172.16.13.4]:20123
Jun 22 18:34:30 mail01 postfix/smtpd[26708]: connect from unknown[172.16.13.4]
Jun 22 18:34:30 mail01 postfix/smtpd[26708]: lost connection after CONNECT from unknown[172.16.13.4]
Jun 22 18:34:30 mail01 postfix/smtpd[26708]: disconnect from unknown[172.16.13.4] commands=0/0
Jun 22 18:34:40 mail01 postfix/postscreen[26701]: CONNECT from [172.16.13.4]:20141 to [172.16.13.4]:2525
Jun 22 18:34:40 mail01 postfix/postscreen[26701]: WHITELISTED [172.16.13.4]:20141
Jun 22 18:34:40 mail01 postfix/smtpd[26896]: connect from unknown[172.16.13.4]
Jun 22 18:34:40 mail01 postfix/smtpd[26896]: lost connection after CONNECT from unknown[172.16.13.4]
Jun 22 18:34:40 mail01 postfix/smtpd[26896]: disconnect from unknown[172.16.13.4] commands=0/0
Jun 22 18:35:10 mail01 postfix/postscreen[26701]: CONNECT from [172.16.13.4]:50817 to [172.16.13.4]:2525
Jun 22 18:35:10 mail01 postfix/postscreen[26701]: WHITELISTED [172.16.13.4]:50817
Jun 22 18:35:10 mail01 postfix/smtpd[26708]: connect from unknown[172.16.13.4]
Jun 22 18:35:10 mail01 postfix/smtpd[26708]: lost connection after CONNECT from unknown[172.16.13.4]
Jun 22 18:35:10 mail01 postfix/smtpd[26708]: disconnect from unknown[172.16.13.4] commands=0/0
Jun 22 18:35:27 mail01 postfix/qmgr[26698]: warning: unexpected end-of-input from private/smtp socket while reading input attribute name
Jun 22 18:35:27 mail01 postfix/qmgr[26698]: warning: private/smtp socket: malformed response
Jun 22 18:35:27 mail01 postfix/smtpd[26925]: lost connection after CONNECT from localhost[127.0.0.1]
Jun 22 18:35:27 mail01 postfix/smtpd[26925]: disconnect from localhost[127.0.0.1] commands=0/0
Jun 22 18:36:05 mail01 postfix/postscreen[26701]: CONNECT from [172.16.13.4]:38336 to [172.16.13.4]:2525
Jun 22 18:36:05 mail01 postfix/postscreen[26701]: WHITELISTED [172.16.13.4]:38336
Jun 22 18:36:05 mail01 postfix/smtpd[26896]: connect from unknown[172.16.13.4]
Jun 22 18:36:05 mail01 postfix/smtpd[26896]: lost connection after CONNECT from unknown[172.16.13.4]
Jun 22 18:36:05 mail01 postfix/smtpd[26896]: disconnect from unknown[172.16.13.4] commands=0/0
Jun 22 18:36:15 mail01 postfix/postscreen[26701]: CONNECT from [172.16.13.4]:24960 to [172.16.13.4]:2525
Jun 22 18:36:15 mail01 postfix/postscreen[26701]: WHITELISTED [172.16.13.4]:24960
Jun 22 18:36:15 mail01 postfix/smtpd[26708]: connect from unknown[172.16.13.4]
Jun 22 18:36:15 mail01 postfix/smtpd[26708]: lost connection after CONNECT from unknown[172.16.13.4]
Jun 22 18:36:15 mail01 postfix/smtpd[26708]: disconnect from unknown[172.16.13.4] commands=0/0
Jun 22 18:36:27 mail01 postfix/qmgr[26698]: warning: unexpected end-of-input from private/smtp socket while reading input attribute name
Jun 22 18:36:27 mail01 postfix/qmgr[26698]: warning: private/smtp socket: malformed response
Jun 22 18:36:27 mail01 postfix/smtpd[26926]: lost connection after CONNECT from localhost[127.0.0.1]
Jun 22 18:36:27 mail01 postfix/smtpd[26926]: disconnect from localhost[127.0.0.1] commands=0/0
Jun 22 18:36:27 mail01 postfix/error[26976]: BCCB66D61C: to=<john.doe@doh.com>, relay=none, delay=5722, delays=5602/120/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Jun 22 18:36:27 mail01 postfix/error[26977]: EA0646DCAE: to=<john.doe@doh.com>, relay=none, delay=4000, delays=3880/120/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Jun 22 18:36:27 mail01 postfix/error[27009]: DEFE16CED7: to=<john.doe@doh.com>, relay=none, delay=9977, delays=9857/120/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
Jun 22 18:36:27 mail01 postfix/error[26976]: CA1806CEAD: to=<john.doe@doh.com>, relay=none, delay=10211, delays=10091/120/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
Jun 22 18:36:27 mail01 postfix/error[27011]: 52EA16CF1B: to=<ohn.doe@doh.com>, relay=none, delay=9331, delays=9211/120/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

[...]

Jun 22 18:44:10 mail01 postfix/10025/smtpd[27274]: connect from unknown[172.16.13.4]
Jun 22 18:44:10 mail01 postfix/10025/smtpd[27274]: 840B06EFE9: client=unknown[172.16.13.4]
Jun 22 18:44:10 mail01 postfix/cleanup[27265]: 840B06EFE9: message-id=<5e90-5b2d2780-1-53fb8680@221299687>
Jun 22 18:44:10 mail01 postfix/10025/smtpd[27274]: disconnect from unknown[172.16.13.4] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 22 18:44:10 mail01 postfix/qmgr[26698]: 840B06EFE9: from=<postmaster@xxx.yyy>, size=1534, nrcpt=1 (queue active)
Jun 22 18:44:10 mail01 amavis[25463]: (25463-01) Passed CLEAN {RelayedInbound}, [172.16.13.4]:10860 <postmaster@xxx.yyy> -> <emm@doh.com, Queue-ID: 993406EFB5, Message-ID: <5e90-5b2d2780-1-53fb8680@221299687>, mail_id: 2dT1imYuEwu0, Hits: 0.989, size: 1017, queued_as: 840B06EFE9, 1814 ms, Tests: [ALL_TRUSTED=-1,HTML_MESSAGE=0.001,PYZOR_CHECK=1.985,TVD_RCVD_IP4=0.001,TVD_RCVD_IP=0.001,TVD_SPACE_RATIO=0.001]
Jun 22 18:44:10 mail01 amavis[25463]: (25463-01) Passed CLEAN, <postmaster@xxx.yyy> -> <emm@doh.com, Hits: 0.989, tag=2, tag2=6.2, kill=6.9, queued_as: 840B06EFE9, L/0/0/0
Jun 22 18:44:10 mail01 postfix/amavis/smtp[27266]: 993406EFB5: to=<emm@doh.com, relay=172.16.13.4[172.16.13.4]:10024, delay=2.1, delays=0.32/0/0.01/1.8, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 840B06EFE9)
Jun 22 18:44:10 mail01 postfix/qmgr[26698]: 993406EFB5: removed

--------------------------------------------------------------------------------------

Best,
Arne

Post's attachments

main.cf 5.42 kb, file has never been downloaded. 

master.cf 8.19 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

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

2

Re: [solved] cannot send but receive

Fixed ...

changed in master.cf

smtp       unix  -       -       n       -       -       smtpd

into

smtp       unix  -       -       n       -       -       smtp