ZhangHuangbin wrote:I'm confused here. You mentioned that it's MySQL backend, but the iRedAPD shows it's using OpenLDAP backend. Could you please try this:
# cd /opt/iredapd/
# find . -name '*pyc' | xargs rm -f {}
# service iredapd restart
# service postfix restart
Then try to send email again.
Ok it sends the email; but i don't receive nothing and if i try to send an email from my gmail account to the iredmail account, this is the mail that i receive:
"Subject : Mail Delivery Subsystem
Technical details of permanent failure:
DNS Error: 11377551 DNS type 'mx' lookup of mail.confezioni.ddns.net responded with code NXDOMAIN
Domain name not found: mail.confezioni.ddns.net"
And this is mail.log
"Jan 28 08:21:34 mx postfix/master[1427]: terminating on signal 15
Jan 28 08:21:34 mx postfix/master[3002]: daemon started -- version 2.11.3, configuration /etc/postfix
Jan 28 08:21:37 mx postfix/submission/smtpd[3006]: connect from mx.confezioni.ddns.net[127.0.0.1]
Jan 28 08:21:37 mx postfix/submission/smtpd[3006]: 9F5A0711B7: client=mx.confezioni.ddns.net[127.0.0.1], sasl_method=LOGIN, sasl_username=aleprova@mail.confezioni.ddns.net
Jan 28 08:21:37 mx postfix/cleanup[3016]: 9F5A0711B7: message-id=<08b7b3eba14f47914650247a4e9f5400@mail.confezioni.ddns.net>
Jan 28 08:21:37 mx postfix/qmgr[3004]: 9F5A0711B7: from=<aleprova@mail.confezioni.ddns.net>, size=592, nrcpt=1 (queue active)
Jan 28 08:21:37 mx roundcube: <d8fehfj9> User aleprova@mail.confezioni.ddns.net [external_ipaddress]; Message for monny999@gmail.com; 250: 2.0.0 Ok: queued as 9F5A0711B7
Jan 28 08:21:37 mx postfix/submission/smtpd[3006]: disconnect from mx.confezioni.ddns.net[127.0.0.1]
Jan 28 08:21:38 mx postfix/smtpd[3033]: connect from mx.confezioni.ddns.net[127.0.0.1]
Jan 28 08:21:38 mx postfix/smtpd[3033]: 6615F711BE: client=mx.confezioni.ddns.net[127.0.0.1]
Jan 28 08:21:38 mx postfix/cleanup[3016]: 6615F711BE: message-id=<08b7b3eba14f47914650247a4e9f5400@mail.confezioni.ddns.net>
Jan 28 08:21:38 mx postfix/qmgr[3004]: 6615F711BE: from=<aleprova@mail.confezioni.ddns.net>, size=1747, nrcpt=1 (queue active)
Jan 28 08:21:38 mx amavis[2178]: (02178-01) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:51462 [127.0.0.1] <aleprova@mail.confezioni.ddns.net> -> <monny999@gmail.com>, Queue-ID: 9F5A0711B7, Message-ID: <08b7b3eba14f47914650247a4e9f5400@mail.confezioni.ddns.net>, mail_id: BdjaNtxslzW3, Hits: 0.169, size: 592, queued_as: 6615F711BE, dkim_new=dkim:mail.confezioni.ddns.net, 712 ms
Jan 28 08:21:38 mx postfix/smtpd[3033]: disconnect from mx.confezioni.ddns.net[127.0.0.1]
Jan 28 08:21:38 mx postfix/smtp[3021]: 9F5A0711B7: to=<monny999@gmail.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.91, delays=0.16/0.02/0.01/0.71, 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 6615F711BE)
Jan 28 08:21:38 mx postfix/qmgr[3004]: 9F5A0711B7: removed
Jan 28 08:21:39 mx postfix/smtp[3034]: connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c06::1b]:25: Network is unreachable
Jan 28 08:21:41 mx postfix/smtp[3034]: 6615F711BE: to=<monny999@gmail.com>, relay=gmail-smtp-in.l.google.com[64.233.184.26]:25, delay=3, delays=0.01/0.03/2/0.98, dsn=2.0.0, status=sent (250 2.0.0 OK 1453965701 gk3si13518580wjd.195 - gsmtp)
Jan 28 08:21:41 mx postfix/qmgr[3004]: 6615F711BE: removed"