1

Topic: Which port? amavis: Blocked MTA-BLOCKED {TempFailedInbound}

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

In mail.log

amavis[44101]: (44101-06) Blocked MTA-BLOCKED {TempFailedInbound}, [127.0.0.1] <www-data@domian.com> -> <root@domain.com>, Message-ID: <20160506082329
.2DE0580EB2@passat.lipetsk.ru>, mail_id: TyxUynCIDJCI, Hits: 0, size: 2000, 8625 ms                                                                                                       

====
Hi!


sudo netstat -plntu | grep 1002                                                                                                                                             

tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      44097/amavisd-new (
tcp        0      0 127.0.0.1:10026         0.0.0.0:*               LISTEN      44097/amavisd-new (


In master.cf

# Amavisd integration.                                                                                                                                                                     
smtp-amavis unix -  -   -   -   2  smtp                                                                                                                                                   
    -o smtp_data_done_timeout=1200                                                                                                                                                         
    -o smtp_send_xforward_command=yes                                                                                                                                                     
    -o disable_dns_lookups=yes                                                                                                                                                             
    -o max_use=20                                                                                                                                                                         
                                                                                                                                                                                           
127.0.0.1:10025 inet n  -   -   -   -  smtpd                                                                                                                                               
    -o content_filter=                                                                                                                                                                     
...


Which port master.sf need to adjust? 10024 or 100026 or or any other ?

----

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

2

Re: Which port? amavis: Blocked MTA-BLOCKED {TempFailedInbound}

Each time you want to report an issue, please show us FULL log related to this issue.

1) Try to send a testing email to reproduce this issue, show us FULL log related to this testing email in Postfix log file.
2) Turn on Amavisd debug mode, try #1 again.

FYI: http://www.iredmail.org/docs/debug.amavisd.html

3

Re: Which port? amavis: Blocked MTA-BLOCKED {TempFailedInbound}

1.

May  7 16:12:22 passat postfix/smtpd[41521]: connect from localhost[127.0.0.1]
May  7 16:12:23 passat postfix/smtpd[41521]: 0A36980A71: client=localhost[127.0.0.1]
May  7 16:12:23 passat postfix/cleanup[41511]: 0A36980A71: message-id=<20160507131220.DE4D78127D@domain.com>
May  7 16:12:23 passat postfix/smtpd[41521]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
May  7 16:12:23 passat postfix/qmgr[41510]: 0A36980A71: from=<user@domain.com>, size=805, nrcpt=1 (queue active)
May  7 16:12:23 passat amavis[24528]: (24528-03) Passed CLEAN {RelayedInbound}, [127.0.0.1] <user@domain.com> -> <user2@gmail.com>, Message-ID: <20160507131220.DE4D78127D@domain.com>, mail_id: M-EmMILOdqoq, Hits: -0.001, size: 339, queued_as: 0A36980A71, 984 ms
May  7 16:12:23 passat postfix/smtp[41514]: DE4D78127D: to=<user2@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=57, delays=56/0.33/0.01/1, 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 0A36980A71)
May  7 16:12:23 passat postfix/qmgr[41510]: DE4D78127D: removed
May  7 16:12:24 passat postfix/smtp[41522]: 0A36980A71: to=<user2@gmail.com>, relay=relay.relaydomain.com[195.34.224.68]:25, delay=1.5, delays=0.12/0.21/0.18/0.95, dsn=2.0.0, status=sent (250 OK id=1az21w-00035m-9Y)
May  7 16:12:24 passat postfix/qmgr[41510]: 0A36980A71: removed
May  7 16:13:04 passat postfix[41545]: Postfix is running with backwards-compatible default settings
May  7 16:13:04 passat postfix[41545]: See http://www.postfix.org/COMPATIBILITY_README.html for details
May  7 16:13:04 passat postfix[41545]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
May  7 16:13:05 passat postfix/master[41508]: terminating on signal 15

2.

May  7 16:50:07 passat postfix[42720]: Postfix is running with backwards-compatible default settings
May  7 16:50:07 passat postfix[42720]: See http://www.postfix.org/COMPATIBILITY_README.html for details
May  7 16:50:07 passat postfix[42720]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 13: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 14: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 15: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 16: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 40: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 41: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 44: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 45: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 46: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 47: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 48: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 49: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 50: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 53: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 54: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 56: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 57: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 58: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 59: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 62: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 63: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 64: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 138: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: /etc/postfix/master.cf: line 144: using backwards-compatible default setting chroot=y
May  7 16:50:11 passat postfix/master[42757]: daemon started -- version 3.1.0, configuration /etc/postfix
May  7 16:50:11 passat postfix/pickup[42758]: 91D9E81345: uid=1000 from=<user>
May  7 16:50:11 passat postfix/cleanup[42760]: 91D9E81345: message-id=<20160507135011.91D9E81345@domain.com>
May  7 16:50:12 passat postfix/qmgr[42759]: 91D9E81345: from=<user@domain.com>, size=339, nrcpt=1 (queue active)
May  7 16:50:12 passat amavis[42393]: (42393-01) Net::Server: 2016/05/07-16:50:12 CONNECT TCP Peer: "[127.0.0.1]:51279" Local: "[127.0.0.1]:10024"
May  7 16:50:12 passat amavis[42393]: idle_proc, hi : was idle, 173509.7 ms, total idle 173.526 s, busy 1.410 s
May  7 16:50:12 passat amavis[42393]: loaded base policy bank
May  7 16:50:12 passat amavis[42393]: lookup_ip_acl (inet_acl) arr.obj: key="127.0.0.1" matches "127.0.0.1", result=1
May  7 16:50:12 passat amavis[42393]: process_request: fileno sock=14, STDIN=0, STDOUT=1
May  7 16:50:12 passat amavis[42393]: get_deadline switch_to_my_time(new request) - deadline in 480.0 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: prolong_timer switch_to_my_time(new request): timer 288, was 0, deadline in 480.0 s
May  7 16:50:12 passat amavis[42393]: process_request: suggested_protocol="" on a TCP socket
May  7 16:50:12 passat amavis[42393]: (42393-02) SMTP> 220 [127.0.0.1] ESMTP amavisd-new service ready
May  7 16:50:12 passat amavis[42393]: (42393-02) switch_to_client_time 480 s, smtp response sent
May  7 16:50:12 passat amavis[42393]: (42393-02) idle_proc, 4: was busy, 4.4 ms, total idle 173.526 s, busy 1.414 s
May  7 16:50:12 passat amavis[42393]: (42393-02) smtp readline: read 24 bytes, new size: 24
May  7 16:50:12 passat amavis[42393]: (42393-02) idle_proc, 5: was idle, 1.5 ms, total idle 173.528 s, busy 1.414 s
May  7 16:50:12 passat amavis[42393]: (42393-02) SMTP< EHLO domain.com\r\n
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline switch_to_my_time(rx SMTP EHLO) - deadline in 480.0 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) prolong_timer switch_to_my_time(rx SMTP EHLO): timer 288, was 480, deadline in 480.0 s
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 250-[127.0.0.1]
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 250-VRFY
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 250-PIPELINING
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 250-SIZE
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 250-ENHANCEDSTATUSCODES
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 250-8BITMIME
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 250-SMTPUTF8
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 250-DSN
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 250 XFORWARD NAME ADDR PORT PROTO HELO IDENT SOURCE
May  7 16:50:12 passat amavis[42393]: (42393-02) switch_to_client_time 480 s, smtp response sent
May  7 16:50:12 passat amavis[42393]: (42393-02) idle_proc, 6: was busy, 2.4 ms, total idle 173.528 s, busy 1.416 s
May  7 16:50:12 passat amavis[42393]: (42393-02) smtp readline: read 138 bytes, new size: 138
May  7 16:50:12 passat amavis[42393]: (42393-02) idle_proc, 5: was idle, 0.7 ms, total idle 173.529 s, busy 1.416 s
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP< XFORWARD SOURCE=LOCAL\r\n
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline switch_to_my_time(rx SMTP XFORWARD) - deadline in 480.0 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) prolong_timer switch_to_my_time(rx SMTP XFORWARD): timer 288, was 480, deadline in 480.0 s
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 250 2.5.0 Ok XFORWARD
May  7 16:50:12 passat amavis[42393]: (42393-02) switch_to_client_time 480 s, smtp response sent
May  7 16:50:12 passat amavis[42393]: (42393-02) idle_proc, 6: was busy, 1.4 ms, total idle 173.529 s, busy 1.418 s
May  7 16:50:12 passat amavis[42393]: (42393-02) idle_proc, 5: was idle, 0.3 ms, total idle 173.529 s, busy 1.418 s
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP< MAIL FROM:<user@domain.com> SIZE=339\r\n
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline switch_to_my_time(rx SMTP MAIL) - deadline in 480.0 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) prolong_timer switch_to_my_time(rx SMTP MAIL): timer 288, was 480, deadline in 480.0 s
May  7 16:50:12 passat amavis[42393]: (42393-02) check_mail_begin_task: task_count=2
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_ip_acl (client_ipaddr_policy) arr.obj: key="0.0.0.0", no match
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [debug_sender] => undef, "user@domain.com" does not match
May  7 16:50:12 passat amavis[42393]: (42393-02) mesage size set to a declared size 339
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 250 2.1.0 Sender <user@domain.com> OK
May  7 16:50:12 passat amavis[42393]: (42393-02) switch_to_client_time 480 s, smtp response sent
May  7 16:50:12 passat amavis[42393]: (42393-02) idle_proc, 6: was busy, 4.0 ms, total idle 173.529 s, busy 1.422 s
May  7 16:50:12 passat amavis[42393]: (42393-02) idle_proc, 5: was idle, 0.2 ms, total idle 173.529 s, busy 1.422 s
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP< RCPT TO:<user2@gmail.com> ORCPT=rfc822;user2@gmail.com\r\n
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline switch_to_my_time(rx SMTP RCPT) - deadline in 480.0 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) prolong_timer switch_to_my_time(rx SMTP RCPT): timer 288, was 480, deadline in 480.0 s
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup => undef, "user2@gmail.com", no lookup tables
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup: (scalar) matches, result="1"
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [local_domains] => true,  "user2@gmail.com" matches, result="1", matching_key="(constant:1)"
May  7 16:50:12 passat amavis[42393]: (42393-02) query_keys: cached user2@gmail.com
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql sel_policy "user2@gmail.com", query args: [user2@gmail.com,-3], [lightmagi,-3], [@gmail.com,-3], [@.gmail.com,-3], [@.com,-3], [@.,-3]
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql select: SELECT users.*, policy.*, users.id FROM users LEFT JOIN policy ON users.policy_id=policy.id WHERE users.email IN (?,?,?,?,?,?) ORDER BY users.priority DESC
May  7 16:50:12 passat amavis[42393]: (42393-02) sql begin, nontransaction
May  7 16:50:12 passat amavis[42393]: (42393-02) sql: executing clause (6 args): SELECT users.*, policy.*, users.id FROM users LEFT JOIN policy ON users.policy_id=policy.id WHERE users.email IN (?,?,?,?,?,?) ORDER BY users.priority DESC
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql, "user2@gmail.com" no match
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql_field(message_size_limit), "user2@gmail.com" no matching records
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [message_size_limit] => undef, "user2@gmail.com" does not match
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 250 2.1.5 Recipient <user2@gmail.com> OK
May  7 16:50:12 passat amavis[42393]: (42393-02) switch_to_client_time 480 s, smtp response sent
May  7 16:50:12 passat amavis[42393]: (42393-02) idle_proc, 6: was busy, 8.6 ms, total idle 173.529 s, busy 1.430 s
May  7 16:50:12 passat amavis[42393]: (42393-02) idle_proc, 5: was idle, 0.2 ms, total idle 173.529 s, busy 1.430 s
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP< DATA\r\n
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline switch_to_my_time(rx SMTP DATA) - deadline in 480.0 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) prolong_timer switch_to_my_time(rx SMTP DATA): timer 288, was 480, deadline in 480.0 s
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP [127.0.0.1]:10024 /var/lib/amavis/tmp/amavis-20160507T164717-42393-befoAEDG: <user@domain.com> -> <user2@gmail.com> SIZE=339 Received: from domain.com ([127.0.0.1]) by domain.com (domain.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <user2@gmail.com>; Sat,  7 May 2016 16:50:12 +0300 (MSK)
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP> 354 End data with <CR><LF>.<CR><LF>
May  7 16:50:12 passat amavis[42393]: (42393-02) switch_to_client_time 480 s, smtp response sent
May  7 16:50:12 passat amavis[42393]: (42393-02) switch_to_client_time 480 s, receiving data
May  7 16:50:12 passat amavis[42393]: (42393-02) smtp copy: read 348 bytes into buffer, new size: 348
May  7 16:50:12 passat amavis[42393]: (42393-02) smtp copy: 6 bytes still buffered at end
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline switch_to_my_time(rx data-end) - deadline in 480.0 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) prolong_timer switch_to_my_time(rx data-end): timer 288, was 480, deadline in 480.0 s
May  7 16:50:12 passat amavis[42393]: (42393-02) ESMTP< .<CR><LF>
May  7 16:50:12 passat amavis[42393]: (42393-02) smtp connection cache, dt: 173.5, state: 0
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline get_body_digest - deadline in 480.0 s, set to 30.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline digest_pre - deadline in 480.0 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) prolong_timer digest_pre: timer 288, was 288, deadline in 480.0 s
May  7 16:50:12 passat amavis[42393]: (42393-02) get_body_digest: reading header section from memory
May  7 16:50:12 passat amavis[42393]: (42393-02) get_body_digest: feeding header section to DKIM verifier
May  7 16:50:12 passat amavis[42393]: (42393-02) get_body_digest: sending h/b separator to DKIM
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline digest_hdr - deadline in 480.0 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) prolong_timer digest_hdr: timer 288, was 288, deadline in 480.0 s
May  7 16:50:12 passat amavis[42393]: (42393-02) get_body_digest: reading mail body from memory, 0 DKIM signatures
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline digest_body - deadline in 480.0 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) prolong_timer digest_body: timer 288, was 288, deadline in 480.0 s
May  7 16:50:12 passat amavis[42393]: (42393-02) get_body_digest: message size 339, header+sep 313, body 26
May  7 16:50:12 passat amavis[42393]: (42393-02) body type (8bit-MIMEtransport): unlabeled, good (h=0, b=0)
May  7 16:50:12 passat amavis[42393]: (42393-02) body hash: c9fd7f10af34e15637a87b9cf841e252
May  7 16:50:12 passat amavis[42393]: (42393-02) ip_from_received: no IP address in:  by domain.com (Postfix, from userid 1000)\n\tid 91D9E81345; Sat,  7 May 2016 16:49:45 +0300 (MSK)\n
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_ip_acl (public_nets) arr.obj: key="127.0.0.1" matches "!127.0.0.0/8", result=0
May  7 16:50:12 passat amavis[42393]: (42393-02) trace: ESMTP://[127.0.0.1]:51279 < x
May  7 16:50:12 passat amavis[42393]: (42393-02) client IP address unknown, fetched from Received: 127.0.0.1
May  7 16:50:12 passat amavis[42393]: (42393-02) Original mail size: 339; quota set to: 169500 bytes (fmin=5, fmax=500, qmin=102400, qmax=314572800)
May  7 16:50:12 passat amavis[42393]: (42393-02) sql begin, nontransaction
May  7 16:50:12 passat amavis[42393]: (42393-02) sql: executing clause (2 args): SELECT id FROM maddr WHERE partition_tag=? AND email=?
May  7 16:50:12 passat amavis[42393]: (42393-02) save_info_preliminary O-lZ_MydgrY5, sender id: 3, user@domain.com, exists
May  7 16:50:12 passat amavis[42393]: (42393-02) sql begin, nontransaction
May  7 16:50:12 passat amavis[42393]: (42393-02) sql: executing clause (2 args): SELECT id FROM maddr WHERE partition_tag=? AND email=?
May  7 16:50:12 passat amavis[42393]: (42393-02) orcpt_encode rfc822, user2@gmail.com, smtputf8
May  7 16:50:12 passat amavis[42393]: (42393-02) save_info_preliminary O-lZ_MydgrY5, recip id: 4, user2@gmail.com (ORCPT rfc822;user2@gmail.com), exists
May  7 16:50:12 passat amavis[42393]: (42393-02) sql begin transaction
May  7 16:50:12 passat amavis[42393]: (42393-02) sql: executing clause (11 args): INSERT INTO msgs (partition_tag, mail_id, secret_id, am_id, time_num, time_iso, sid, policy, client_addr, size, host) VALUES (?,?,?,?,?,?,?,?,?,?,?)
May  7 16:50:12 passat amavis[42393]: (42393-02) sql commit
May  7 16:50:12 passat amavis[42393]: (42393-02) Checking: O-lZ_MydgrY5 [127.0.0.1] <user@domain.com> -> <user2@gmail.com>
May  7 16:50:12 passat amavis[42393]: (42393-02) 2822.From: <user@domain.com>
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql_field(local), "user2@gmail.com" no matching records
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup: (scalar) matches, result="1"
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [local_domains] => true,  "user2@gmail.com" matches, result="1", matching_key="(constant:1)"
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql_field(bypass_virus_checks), "user2@gmail.com" no matching records
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [bypass_virus_checks] => undef, "user2@gmail.com" does not match
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql_field(bypass_banned_checks), "user2@gmail.com" no matching records
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [bypass_banned_checks] => undef, "user2@gmail.com" does not match
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql_field(bypass_spam_checks), "user2@gmail.com" no matching records
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [bypass_spam_checks] => undef, "user2@gmail.com" does not match
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql_field(id), "user2@gmail.com" no matching records
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [users.id] => undef, "user2@gmail.com" does not match
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql_field(policy_id), "user2@gmail.com" no matching records
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [users.policy_id] => undef, "user2@gmail.com" does not match
May  7 16:50:12 passat amavis[42393]: (42393-02) Extracting mime components from a string
May  7 16:50:12 passat amavis[42393]: (42393-02) Issued a new file name: p001
May  7 16:50:12 passat amavis[42393]: (42393-02) Charging 25 bytes to remaining quota 169500 (out of 169500, (0%)) - by mime_decode
May  7 16:50:12 passat amavis[42393]: (42393-02) p001 1 Content-Type: text/plain, size: 25 B, name:
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline mime_decode - deadline in 480.0 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) prolong_timer mime_decode: timer 288, was 288, deadline in 480.0 s
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline mime_decode-1 - deadline in 480.0 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) prolong_timer mime_decode-1: timer 288, was 288, deadline in 480.0 s
May  7 16:50:12 passat amavis[42393]: (42393-02) decode_parts: level=1, #parts=1 : p001
May  7 16:50:12 passat amavis[42393]: (42393-02) running file(1) on 1 files, arglist size 18
May  7 16:50:12 passat amavis[42393]: (42393-02) run_command: [42765] /usr/bin/file p001 </dev/null 2>&1
May  7 16:50:12 passat amavis[42765]: (42393-02) open_on_specific_fd: target fd0 closing, to become < /dev/null
May  7 16:50:12 passat amavis[42765]: (42393-02) open_on_specific_fd: target fd1 closing, to become (65) &=20
May  7 16:50:12 passat amavis[42765]: (42393-02) open_on_specific_fd: target fd1 dup2 from fd20 (65) &=20
May  7 16:50:12 passat amavis[42765]: (42393-02) open_on_specific_fd: source fd20 closed
May  7 16:50:12 passat amavis[42765]: (42393-02) open_on_specific_fd: target fd2 closing, to become (65) &1
May  7 16:50:12 passat amavis[42765]: (42393-02) open_on_specific_fd: target fd2 dup2 from fd1 (65) &1
May  7 16:50:12 passat amavis[42393]: (42393-02) result line from file(1): p001: ASCII text\n
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_re("ASCII text") matches key "(?^i:^(ASCII|text)\\b)", result="asc"
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [map_full_type_to_short_type] => true,  "ASCII text" matches, result="asc", matching_key="(?^i:^(ASCII|text)\\b)"
May  7 16:50:12 passat amavis[42393]: (42393-02) File-type of p001: ASCII text; (asc)
May  7 16:50:12 passat amavis[42393]: (42393-02) decompose_part: p001 - atomic
May  7 16:50:12 passat amavis[42393]: (42393-02) get_deadline parts_decode - deadline in 479.9 s, set to 288.000 s
May  7 16:50:12 passat amavis[42393]: (42393-02) prolong_timer parts_decode: timer 288, was 288, deadline in 479.9 s
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql_field(bypass_header_checks), "user2@gmail.com" no matching records
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [bypass_header_checks] => undef, "user2@gmail.com" does not match
May  7 16:50:12 passat amavis[42393]: (42393-02) check_header: 0, OK
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql_field(bypass_header_checks), "user2@gmail.com" no matching records
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [bypass_header_checks] => undef, "user2@gmail.com" does not match
May  7 16:50:12 passat amavis[42393]: (42393-02) Checking for banned types and filenames
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_sql_field(banned_rulenames), "user2@gmail.com" no matching records
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup: (scalar) matches, result="DEFAULT"
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [banned_filename], 1 matches for "user2@gmail.com", results: "(constant:DEFAULT)"=>"DEFAULT"
May  7 16:50:12 passat amavis[42393]: (42393-02) collect banned table[0]: user2@gmail.com, tables: DEFAULT=>Amavis::Lookup::RE=ARRAY(0x1b295c0)
May  7 16:50:12 passat amavis[42393]: (42393-02) starting banned checks - traversing message structure tree
May  7 16:50:12 passat amavis[42393]: (42393-02) check_for_banned (p001) text/plain,.asc
May  7 16:50:12 passat amavis[42393]: (42393-02) doing banned check for user2@gmail.com on text/plain,.asc
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup_re(["text/plain",".asc"]), no matches
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [check_bann:user2@gmail.com] => undef, ["text/plain",".asc"] does not match
May  7 16:50:12 passat amavis[42393]: (42393-02) lookup [banned_namepath_re] => undef, "P=p001\tL=1\tM=text/plain\tT=asc" does not match
May  7 16:50:12 passat amavis[42393]: (42393-02) p.path user2@gmail.com: "P=p001,L=1,M=text/plain,T=asc"
May  7 16:50:13 passat amavis[42393]: (42393-02) banned check: any=0, all=N (1)
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_re("MAIL"), no matches
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [keep_decoded_original] => undef, "MAIL" does not match
May  7 16:50:13 passat amavis[42393]: (42393-02) Calling virus scanners, 1 files to scan in /var/lib/amavis/tmp/amavis-20160507T164717-42393-befoAEDG/parts
May  7 16:50:13 passat amavis[42393]: (42393-02) invoking av-scanner ClamAV-clamd
May  7 16:50:13 passat amavis[42393]: (42393-02) ask_daemon: proto=DFLT, spawn=0, (ClamAV-clamd) /var/run/clamav/clamd.ctl
May  7 16:50:13 passat amavis[42393]: (42393-02) run_av (ClamAV-clamd): query template(1,0): CONTSCAN {}\n
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline run_av_pre - deadline in 479.9 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer run_av_pre: timer 288, was 288, deadline in 479.9 s
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline run_av_scan - deadline in 479.9 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer run_av_scan: timer 288, was 288, deadline in 479.9 s
May  7 16:50:13 passat amavis[42393]: (42393-02) run_av Using (ClamAV-clamd): (code) CONTSCAN /var/lib/amavis/tmp/amavis-20160507T164717-42393-befoAEDG/parts\n
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline ask_daemon_internal_connect_pre - deadline in 479.9 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline ask_daemon_internal_connect - deadline in 479.9 s, set to 10.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer ask_daemon_internal_connect: timer 10, was 288, deadline in 479.9 s
May  7 16:50:13 passat amavis[42393]: (42393-02) ClamAV-clamd: Connecting to socket  /var/run/clamav/clamd.ctl
May  7 16:50:13 passat amavis[42393]: (42393-02) new socket by IO::Socket::UNIX to /var/run/clamav/clamd.ctl, timeout set to 10
May  7 16:50:13 passat amavis[42393]: (42393-02) connected to /var/run/clamav/clamd.ctl successfully
May  7 16:50:13 passat amavis[42393]: (42393-02) ClamAV-clamd: Sending CONTSCAN /var/lib/amavis/tmp/amavis-20160507T164717-42393-befoAEDG/parts\n to socket /var/run/clamav/clamd.ctl
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: needline=0, flush=1, wr=1, timeout=10
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: sending 73 chars
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop sent 73> CONTSCAN /var/lib/amavis/tmp/amavis-20160507T164717-42393-befoAEDG/parts\n
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline ask_daemon_internal_scan - deadline in 479.9 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer ask_daemon_internal_scan: timer 288, was 10, deadline in 479.9 s
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: needline=0, flush=0, wr=0, timeout=287.996
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: receiving
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop read 68 chars< /var/lib/amavis/tmp/amavis-20160507T164717-42393-befoAEDG/parts: OK\n
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: needline=0, flush=0, wr=0, timeout=287.996
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: receiving
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop read: got eof
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline ask_daemon_internal - deadline in 479.9 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer ask_daemon_internal: timer 288, was 288, deadline in 479.9 s
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline run_av_3 - deadline in 479.9 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer run_av_3: timer 288, was 288, deadline in 479.9 s
May  7 16:50:13 passat amavis[42393]: (42393-02) run_av (ClamAV-clamd) result: /var/lib/amavis/tmp/amavis-20160507T164717-42393-befoAEDG/parts: OK\n
May  7 16:50:13 passat amavis[42393]: (42393-02) run_av (ClamAV-clamd): CLEAN
May  7 16:50:13 passat amavis[42393]: (42393-02) run_av (ClamAV-clamd) result: clean
May  7 16:50:13 passat amavis[42393]: (42393-02) wbl: checking sender <user@domain.com>
May  7 16:50:13 passat amavis[42393]: (42393-02) wbl: (SQL) recip <user2@gmail.com>, 0 matches
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [blacklist_recip<user2@gmail.com>] => undef, "user2@gmail.com" does not match
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [blacklist_sender<user@domain.com>,blacklist_sender] => undef, "user@domain.com" does not match
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [whitelist_recip<user2@gmail.com>] => undef, "user2@gmail.com" does not match
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_acl(user@domain.com), no match
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [whitelist_sender<user@domain.com>,whitelist_sender] => undef, "user@domain.com" does not match
May  7 16:50:13 passat amavis[42393]: (42393-02) query_keys: cached user2@gmail.com
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_hash(user2@gmail.com) matches keys: "."=>ARRAY(0x1bd6d00)
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [score_recip<user2@gmail.com>,score_sender], 1 matches for "user2@gmail.com", results: "."=>[Amavis::Lookup::RE=ARRAY(0x1bc37c8),{}]
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_re("user@domain.com"), no matches
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [score_sender<user@domain.com>] => undef, "user@domain.com" does not match
May  7 16:50:13 passat amavis[42393]: (42393-02) SpamControl: calling spam scanner SpamAssassin
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline spam_scan_sa_pre - deadline in 479.9 s, set to 476.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer spam_scan_sa_pre: timer 476, was 288, deadline in 479.9 s
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_sql_field(sa_userconf), "user2@gmail.com" no matching records
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [sa_userconf] => undef, "user2@gmail.com" does not match
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_sql_field(sa_username), "user2@gmail.com" no matching records
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [sa_username] => undef, "user2@gmail.com" does not match
May  7 16:50:13 passat amavis[42393]: (42393-02) SA user config: "", username: "amavis", 0, (0)user2@gmail.com
May  7 16:50:13 passat amavis[42393]: (42393-02) calling SA parse (0), SA vers 3.4.1, 3.004001, data as STRING_REF, recips_ind [0], user: "amavis"
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline SA check - deadline in 479.9 s, set to 475.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) CALLING SA check (0)
May  7 16:50:13 passat amavis[42393]: (42393-02) DONE SA check (0)
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline spam_scan_sa - deadline in 479.5 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer spam_scan_sa: timer 288, was 476, deadline in 479.5 s
May  7 16:50:13 passat amavis[42393]: (42393-02) spam_scan: score=-0.001 autolearn=ham autolearn_force=no tests=[NO_RELAYS=-0.001] recips=0
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline spam_scan - deadline in 479.5 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer spam_scan: timer 288, was 288, deadline in 479.5 s
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_sql_field(spam_tag_level), "user2@gmail.com" no matching records
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup: (scalar) matches, result="2"
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [spam_tag_level] => true,  "user2@gmail.com" matches, result="2", matching_key="(constant:2)"
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_sql_field(spam_tag2_level), "user2@gmail.com" no matching records
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup: (scalar) matches, result="6.31"
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [spam_tag2_level] => true,  "user2@gmail.com" matches, result="6.31", matching_key="(constant:6.31)"
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_sql_field(spam_tag3_level), "user2@gmail.com" no matching records
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [spam_tag3_level] => undef, "user2@gmail.com" does not match
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_sql_field(spam_kill_level), "user2@gmail.com" no matching records
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup: (scalar) matches, result="6.31"
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [spam_kill_level] => true,  "user2@gmail.com" matches, result="6.31", matching_key="(constant:6.31)"
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_sql_field(message_size_limit), "user2@gmail.com" no matching records
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [message_size_limit] => undef, "user2@gmail.com" does not match
May  7 16:50:13 passat amavis[42393]: (42393-02) final_destiny (ccat=0) is PASS, recip user2@gmail.com
May  7 16:50:13 passat amavis[42393]: (42393-02) final_destiny PASS, recip user2@gmail.com
May  7 16:50:13 passat amavis[42393]: (42393-02) do_notify_and_quar: ccat=Clean (1,0) ("1":Clean, "0":CatchAll) ccat_block=(), qar_mth=
May  7 16:50:13 passat amavis[42393]: (42393-02) do_notify_and_quarantine: not quarantining, q_method off
May  7 16:50:13 passat amavis[42393]: (42393-02) skip admin notification, no administrators
May  7 16:50:13 passat amavis[42393]: (42393-02) do_notify_and_quarantine - done
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_sql_field(forward_method), "user2@gmail.com" no matching records
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup: (opaque) matches, result="smtp:[127.0.0.1]:10025"
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [forward_method] => true,  "user2@gmail.com" matches, result="smtp:[127.0.0.1]:10025", matching_key="(opaque:smtp:[127.0.0.1]:10025)"
May  7 16:50:13 passat amavis[42393]: (42393-02) delivery method is 1, recips: user2@gmail.com
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_sql_field(spam_tag_level), "user2@gmail.com" no matching records
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup: (scalar) matches, result="2"
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [spam_tag_level] => true,  "user2@gmail.com" matches, result="2", matching_key="(constant:2)"
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup_sql_field(spam_tag2_level), "user2@gmail.com" no matching records
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup: (scalar) matches, result="6.31"
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [spam_tag2_level] => true,  "user2@gmail.com" matches, result="6.31", matching_key="(constant:6.31)"
May  7 16:50:13 passat amavis[42393]: (42393-02) headers CLUSTERING: NEW CLUSTER <user2@gmail.com>: score=-0.001, tag=0, tag2=0, local=1, bl=, s=, mangle=
May  7 16:50:13 passat amavis[42393]: (42393-02) header encoded (all-ASCII): X-Virus-Scanned: Debian amavisd-new at domain.com
May  7 16:50:13 passat amavis[42393]: (42393-02) header: X-Virus-Scanned: Debian amavisd-new at domain.com\n
May  7 16:50:13 passat amavis[42393]: (42393-02) fwd: scanner provided a header field X-Spam-Checker-Version, inhibited by %allowed_added_header_fields
May  7 16:50:13 passat amavis[42393]: (42393-02) fwd: scanner provided a header field X-Spam-Level, but we preferred our own
May  7 16:50:13 passat amavis[42393]: (42393-02) fwd: scanner provided a header field X-Spam-Status, but we preferred our own
May  7 16:50:13 passat amavis[42393]: (42393-02) header encoded (all-ASCII): Received: from domain.com ([127.0.0.1])\n by domain.com (domain.com [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP\n id O-lZ_MydgrY5\n for <user2@gmail.com>;\n Sat,  7 May 2016 16:50:12 +0300 (MSK)
May  7 16:50:13 passat amavis[42393]: (42393-02) header: Received: from domain.com ([127.0.0.1])\n\tby domain.com (domain.com [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id O-lZ_MydgrY5 for <user2@gmail.com>;\n\tSat,  7 May 2016 16:50:12 +0300 (MSK)\n
May  7 16:50:13 passat amavis[42393]: (42393-02) headers CLUSTERING: done all 1 recips in one go
May  7 16:50:13 passat amavis[42393]: (42393-02) dkim: not signing mail which is not originating from our site
May  7 16:50:13 passat amavis[42393]: (42393-02) about to connect to smtp:[127.0.0.1]:10025, O-lZ_MydgrY5 FWD from <user@domain.com> -> <user2@gmail.com>
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline fwd_init - deadline in 479.5 s, set to 480.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp session: setting up a new session
May  7 16:50:13 passat amavis[42393]: (42393-02) establish_or_refresh, state: down
May  7 16:50:13 passat amavis[42393]: (42393-02) new socket using IO::Socket::IP to [127.0.0.1]:10025, timeout 35
May  7 16:50:13 passat amavis[42393]: (42393-02) connected to [127.0.0.1]:10025 successfully
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: needline=1, flush=0, wr=0, timeout=35
May  7 16:50:13 passat postfix/smtpd[42769]: connect from localhost[127.0.0.1]
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: receiving
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop read 37 chars< 220 domain.com ESMTP Postfix\r\n
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp greeting: 220 domain.com ESMTP Postfix, dt: 173.2 ms
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp cmd> EHLO domain.com
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: needline=0, flush=1, wr=1, timeout=300
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: sending 24 chars
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop sent 24> EHLO domain.com\r\n
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: needline=1, flush=0, wr=0, timeout=300
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: receiving
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop read 116 chars< 250-domain.com\r\n250-PIPELINING\r\n250-SIZE 15728640\r\n250-ETRN\r\n250-ENHANCEDSTATUSCODES\r\n250-8BITMIME\r\n250 DSN\r\n
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp resp to EHLO: 250 domain.com\nPIPELINING\nSIZE 15728640\nETRN\nENHANCEDSTATUSCODES\n8BITMIME\nDSN
May  7 16:50:13 passat amavis[42393]: (42393-02) tls active=0, capable=, sec_level=0
May  7 16:50:13 passat amavis[42393]: (42393-02) Remote host presents itself as: domain.com, handles DSN, PIPELINING, 8BITMIME
May  7 16:50:13 passat amavis[42393]: (42393-02) AUTH not needed, user='', MTA offers ''
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp cmd> MAIL FROM:<user@domain.com> BODY=7BIT
May  7 16:50:13 passat amavis[42393]: (42393-02) orcpt_encode rfc822, user2@gmail.com, encode_for_smtp
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp cmd> RCPT TO:<user2@gmail.com> ORCPT=rfc822;user2@gmail.com
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp cmd> DATA
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: needline=0, flush=1, wr=1, timeout=120
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: sending 116 chars
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop sent 116> MAIL FROM:<user@domain.com> BODY=7BIT\r\nRCPT TO:<user2@gmail.com> ORCPT=rfc822;user2@gmail.com\r\nDATA\r\n
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: needline=1, flush=0, wr=0, timeout=300
May  7 16:50:13 passat postfix/smtpd[42769]: D53648091A: client=localhost[127.0.0.1]
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: receiving
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop read 65 chars< 250 2.1.0 Ok\r\n250 2.1.5 Ok\r\n354 End data with <CR><LF>.<CR><LF>\r\n
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp resp to MAIL (pip): 250 2.1.0 Ok
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp resp to RCPT (pip) (<user2@gmail.com>): 250 2.1.5 Ok
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp resp to DATA: 354 End data with <CR><LF>.<CR><LF>
May  7 16:50:13 passat amavis[42393]: (42393-02) write_header: 1, Amavis::Out::SMTP::Protocol=HASH(0x76b1310)
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp connection_cache disabled, sending QUIT
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp cmd> QUIT
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: needline=0, flush=1, wr=1, timeout=479.495
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: sending 631 chars
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop sent 631> X-Virus-Scanned: Debian amavisd-new at domain.com\r\nReceived: from domain.com ([127.0.0.1])\r\n\tby domain.com (domain.com [127.0.0.1]) (amavisd-new, port 10024)\r\n\twith ESMTP i [...]
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: needline=1, flush=0, wr=0, timeout=479.495
May  7 16:50:13 passat postfix/cleanup[42760]: D53648091A: message-id=<20160507135011.91D9E81345@domain.com>
May  7 16:50:13 passat postfix/smtpd[42769]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop: receiving
May  7 16:50:13 passat postfix/qmgr[42759]: D53648091A: from=<user@domain.com>, size=805, nrcpt=1 (queue active)
May  7 16:50:13 passat amavis[42393]: (42393-02) rw_loop read 51 chars< 250 2.0.0 Ok: queued as D53648091A\r\n221 2.0.0 Bye\r\n
May  7 16:50:13 passat amavis[42393]: (42393-02) smtp resp to data-dot (<user2@gmail.com>): 250 2.0.0 Ok: queued as D53648091A, dt: 19.5 ms
May  7 16:50:13 passat amavis[42393]: (42393-02) Amavis::Out::SMTP::Session close, disconnecting
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline fwd-end-chkpnt - deadline in 479.0 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer fwd-end-chkpnt: timer 288, was 0, deadline in 479.0 s
May  7 16:50:13 passat amavis[42393]: (42393-02) O-lZ_MydgrY5 FWD from <user@domain.com> -> <user2@gmail.com>, BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as D53648091A
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline forwarding - deadline in 479.0 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer forwarding: timer 288, was 288, deadline in 479.0 s
May  7 16:50:13 passat amavis[42393]: (42393-02) DSN: sender NOT credible, SA: -0.001, <user@domain.com>
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup: (scalar) matches, result="10"
May  7 16:50:13 passat amavis[42393]: (42393-02) lookup [spam_dsn_cutoff_level_bysender] => true,  "user@domain.com" matches, result="10", matching_key="(constant:10)"
May  7 16:50:13 passat amavis[42393]: (42393-02) dsn: from MTA 250 NonBlocking:Clean <user@domain.com> -> <user2@gmail.com>: on_succ=0, on_dly=1, on_fail=1, never=0, warn_sender=, DSN_passed_on=1, destiny=1, mta_resp: "250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as D53648091A"
May  7 16:50:13 passat amavis[42393]: (42393-02) DSN: SUCC from MTA 250 NonBlocking:Clean, no DSN requested: <user@domain.com> -> <user2@gmail.com>
May  7 16:50:13 passat amavis[42393]: (42393-02) delivery_status_notification: notif 0 bytes, suppressed: no
May  7 16:50:13 passat amavis[42393]: (42393-02) one_response_for_all, per_recip_capable: N, suppressed: N
May  7 16:50:13 passat amavis[42393]: (42393-02) one_response_for_all <user@domain.com>: success, r=0,b=0,d=0, ndn_needed=0, '250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as D53648091A'
May  7 16:50:13 passat amavis[42393]: (42393-02) notif=N, suppressed=0, ndn_needed=0, exit=0, 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as D53648091A
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline delivery-notification - deadline in 479.0 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer delivery-notification: timer 288, was 288, deadline in 479.0 s
May  7 16:50:13 passat amavis[42393]: (42393-02) status counters: InMsgsStatus{Relayed,RelayedUntagged,RelayedUntaggedInbound}
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline snmp-counters - deadline in 479.0 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer snmp-counters: timer 288, was 288, deadline in 479.0 s
May  7 16:50:13 passat amavis[42393]: (42393-02) orcpt_encode rfc822, user2@gmail.com, smtputf8
May  7 16:50:13 passat amavis[42393]: (42393-02) Passed CLEAN {RelayedInbound}, [127.0.0.1] <user@domain.com> -> <user2@gmail.com>, Message-ID: <20160507135011.91D9E81345@domain.com>, mail_id: O-lZ_MydgrY5, Hits: -0.001, size: 339, queued_as: D53648091A, 1104 ms
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline main_log_entry - deadline in 478.9 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer main_log_entry: timer 288, was 288, deadline in 478.9 s
May  7 16:50:13 passat amavis[42393]: (42393-02) sql begin transaction
May  7 16:50:13 passat amavis[42393]: (42393-02) sql: executing clause (12 args): INSERT INTO msgrcpt (partition_tag, mail_id, rseqnum, rid, is_local, content, ds, rs, bl, wl, bspam_level, smtp_resp) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
May  7 16:50:13 passat amavis[42393]: (42393-02) save_info_final O-lZ_MydgrY5, orig=N, chks=VSHB, cont.ty=C, q.type= , q.to=, dsn=N, score=-0.001, Message-ID: <20160507135011.91D9E81345@domain.com>, From: 'user@domain.com (user)', Subject: 'This is the subject'
May  7 16:50:13 passat amavis[42393]: (42393-02) sql: executing clause (12 args): UPDATE msgs SET content=?, quar_type=?, quar_loc=?, dsn_sent=?, spam_level=?, message_id=?, from_addr=?, subject=?, client_addr=?, originating=? WHERE partition_tag=? AND mail_id=?
May  7 16:50:13 passat amavis[42393]: (42393-02) sql commit
May  7 16:50:13 passat amavis[42393]: (42393-02) TIMING-SA total 340 ms - parse: 3.1 (0.9%), extract_message_metadata: 6 (1.9%), get_uri_detail_list: 0.78 (0.2%), tests_pri_-1000: 9 (2.6%), tests_pri_-950: 4.3 (1.3%), tests_pri_-900: 6 (1.9%), tests_pri_-400: 3.8 (1.1%), tests_pri_0: 226 (66.5%), check_spf: 0.72 (0.2%), check_dkim_adsp: 151 (44.3%), check_pyzor: 0.30 (0.1%), tests_pri_500: 11 (3.2%), learn: 44 (12.9%), b_learn: 39 (11.4%), b_count_change: 6 (1.8%), get_report: 1.62 (0.5%)
May  7 16:50:13 passat amavis[42393]: (42393-02) updating snmp variables in BDB
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline check done - deadline in 478.9 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer check done: timer 288, was 288, deadline in 478.9 s
May  7 16:50:13 passat amavis[42393]: (42393-02) sending SMTP response: "250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as D53648091A"
May  7 16:50:13 passat amavis[42393]: (42393-02) ESMTP> 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as D53648091A
May  7 16:50:13 passat postfix/smtp[42763]: 91D9E81345: to=<user2@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=28, delays=27/0.31/0.01/1.1, 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 D53648091A)
May  7 16:50:13 passat amavis[42393]: (42393-02) switch_to_client_time 480 s, smtp response sent
May  7 16:50:13 passat postfix/qmgr[42759]: 91D9E81345: removed
May  7 16:50:13 passat amavis[42393]: (42393-02) TempDir::strip: /var/lib/amavis/tmp/amavis-20160507T164717-42393-befoAEDG
May  7 16:50:13 passat amavis[42393]: (42393-02) rmdir_recursively: /var/lib/amavis/tmp/amavis-20160507T164717-42393-befoAEDG/parts, excl=1
May  7 16:50:13 passat amavis[42393]: (42393-02) size: 339, TIMING [total 1144 ms] - SMTP greeting: 4.1 (0%)0, SMTP EHLO: 3.9 (0%)1, SMTP pre-MAIL: 2.9 (0%)1, lookup_sql: 11 (1%)2, SMTP pre-DATA-flush: 3.2 (0%)2, SMTP DATA: 25 (2%)4, check_init: 1.0 (0%)5, digest_hdr: 1.6 (0%)5, digest_body_dkim: 1.3 (0%)5, collect_info: 3.9 (0%)5, gen_mail_id: 13 (1%)6, mime_decode: 22 (2%)8, get-file-type1: 68 (6%)14, parts_decode: 0.5 (0%)14, check_header: 2.8 (0%)14, AV-scan-1: 18 (2%)16, spam-wb-list: 3.7 (0%)16, SA msg read: 1.5 (0%)16, SA parse: 7 (1%)17, SA check: 332 (29%)46, decide_mail_destiny: 12 (1%)47, notif-quar: 0.7 (0%)47, fwd-connect: 194 (17%)64, fwd-mail-pip: 321 (28%)92, fwd-rcpt-pip: 0.5 (0%)92, fwd-data-chkpnt: 0.1 (0%)92, write-header: 0.8 (0%)92, fwd-data-contents: 0.1 (0%)92, fwd-end-chkpnt: 23 (2%)94, prepare-dsn: 4.3 (0%)95, report: 5 (0%)95, main_log_entry: 17 (2%)97, sql-update: 18 (2%)98, update_snmp: 11 (1%)99, SMTP pre-response: 6 (1%)100, SMTP response: 1.3 (0%)100, unlink-1-files: 0...
May  7 16:50:13 passat amavis[42393]: (42393-02) ....6 (0%)100, rundown: 1.2 (0%)100
May  7 16:50:13 passat amavis[42393]: (42393-02) idle_proc, 6: was busy, 1126.5 ms, total idle 173.529 s, busy 2.557 s
May  7 16:50:13 passat amavis[42393]: (42393-02) idle_proc, 5: was idle, 0.3 ms, total idle 173.530 s, busy 2.557 s
May  7 16:50:13 passat amavis[42393]: (42393-02) ESMTP< QUIT\r\n
May  7 16:50:13 passat amavis[42393]: (42393-02) get_deadline switch_to_my_time(rx SMTP QUIT) - deadline in 480.0 s, set to 288.000 s
May  7 16:50:13 passat amavis[42393]: (42393-02) prolong_timer switch_to_my_time(rx SMTP QUIT): timer 288, was 480, deadline in 480.0 s
May  7 16:50:13 passat amavis[42393]: (42393-02) ESMTP> 221 2.0.0 [127.0.0.1] amavisd-new closing transmission channel
May  7 16:50:13 passat amavis[42393]: (42393-02) switch_to_client_time 480 s, smtp response sent
May  7 16:50:13 passat amavis[42393]: (42393-02) SMTP session over, timer stopped
May  7 16:50:13 passat amavis[42393]: (42393-02) exiting process_request
May  7 16:50:13 passat amavis[42393]: (42393-02) idle_proc, bye: was busy, 8.2 ms, total idle 173.530 s, busy 2.565 s
May  7 16:50:13 passat amavis[42393]: (42393-02) load: 1 %, total idle 173.530 s, busy 2.565 s
May  7 16:50:14 passat postfix/smtp[42771]: D53648091A: to=<user2@gmail.com>, relay=relay.relaydomain.com[195.34.224.68]:25, delay=0.78, delays=0.12/0.25/0.3/0.11, dsn=2.0.0, status=sent (250 OK id=1az2cY-0007FL-Ek)
May  7 16:50:14 passat postfix/qmgr[42759]: D53648091A: removed
May  7 16:51:08 passat postfix[42818]: Postfix is running with backwards-compatible default settings
May  7 16:51:08 passat postfix[42818]: See http://www.postfix.org/COMPATIBILITY_README.html for details
May  7 16:51:08 passat postfix[42818]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
May  7 16:51:09 passat postfix/master[42757]: terminating on signal 15

4

Re: Which port? amavis: Blocked MTA-BLOCKED {TempFailedInbound}

Pasted log doesn't contain MTA-BLOCK related info. Please try to reproduce the issue.

5

Re: Which port? amavis: Blocked MTA-BLOCKED {TempFailedInbound}

Perhaps the problem is not the point. After restarting Postfix sends a number of messages, and then closes with an error.

May  9 00:16:18 passat postfix/postscreen[6249]: DISCONNECT [202.53.11.83]:59688
May  9 00:17:06 passat postfix[6285]: Postfix is running with backwards-compatible default settings
May  9 00:17:06 passat postfix[6285]: See http://www.postfix.org/COMPATIBILITY_README.html for details
May  9 00:17:06 passat postfix[6285]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
May  9 00:17:06 passat postfix/master[6225]: terminating on signal 15

compatibility_level=2  does not change anything.

6

Re: Which port? amavis: Blocked MTA-BLOCKED {TempFailedInbound}

Do you mean Postfix cannot be started?

7

Re: Which port? amavis: Blocked MTA-BLOCKED {TempFailedInbound}

ZhangHuangbin wrote:

Do you mean Postfix cannot be started?

Yes. postfix  terminating on signal 15 and does not start.

8

Re: Which port? amavis: Blocked MTA-BLOCKED {TempFailedInbound}

Seems you have some incorrect Postfix settings. Did you modify any Postfix settings? does it report any error while restarting Postfix service?

9

Re: Which port? amavis: Blocked MTA-BLOCKED {TempFailedInbound}

ZhangHuangbin wrote:

Seems you have some incorrect Postfix settings. Did you modify any Postfix settings? does it report any error while restarting Postfix service?

No errors.
May  9 22:11:39 passat postfix/master[22778]: terminating on signal 15
May  9 22:12:49 passat postfix/master[23015]: daemon started -- version 3.1.0, configuration /etc/postfix
May  9 22:13:39 passat postfix/master[23015]: terminating on signal 15

postconf -n

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
allow_percent_hack = no
biff = no
body_checks = pcre:/etc/postfix/body_checks.pcre
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
compatibility_level = 2
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix/sbin
data_directory = /var/lib/postfix
debug_peer_level = 2
debug_peer_list = 127.0.0.1
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id &                                                                     sleep 5
disable_vrfy_command = yes
dovecot_destination_recipient_limit = 1
enable_original_recipient = no
header_checks = pcre:/etc/postfix/header_checks
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = ipv4
lmtp_tls_mandatory_protocols = !SSLv2 !SSLv3
lmtp_tls_protocols = !SSLv2 !SSLv3
mail_owner = postfix
mailbox_command = /usr/lib/dovecot/deliver
mailq_path = /usr/bin/mailq
message_size_limit = 15728640
mydestination = $myhostname, localhost, x-fil.es, localhost.localdomain
mydomain = domain.com
myhostname = domain.com
mynetworks = 127.0.0.1, 192.168.1.0/24
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
postscreen_access_list = permit_mynetworks, cidr:/etc/postfix/postscreen_access.cidr
postscreen_blacklist_action = enforce
postscreen_dnsbl_action = enforce
postscreen_dnsbl_reply_map = texthash:/etc/postfix/postscreen_dnsbl_reply
postscreen_dnsbl_sites = zen.spamhaus.org*3 b.barracudacentral.org*2 bl.spameatingmonkey.net*2 bl.spamcop.net dnsbl.s                                                                    orbs.net psbl.surriel.com bl.mailspike.net swl.spamhaus.org*-4 list.dnswl.org=127.[0..255].[0..255].0*-2 list.dnswl.o                                                                    rg=127.[0..255].[0..255].1*-3 list.dnswl.org=127.[0..255].[0..255].[2..255]*-4
postscreen_dnsbl_threshold = 2
postscreen_dnsbl_whitelist_threshold = -2
postscreen_greet_action = enforce
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_                                                                    maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonica                                                                    l_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtua                                                                    l_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions $sender_dependent_relayhost_maps
queue_directory = /var/spool/postfix
recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf proxy:mysql:/etc/postfix/mysql/recipie                                                                    nt_bcc_maps_domain.cf
recipient_delimiter = +
relay_domains = $mydestination proxy:mysql:/etc/postfix/mysql/relay_domains.cf
relayhost = relay.domain.com:25
sender_bcc_maps = proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf proxy:mysql:/etc/postfix/mysql/sender_bcc_ma                                                                    ps_domain.cf
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
shlib_directory = /usr/lib/postfix
smtp-amavis_destination_recipient_limit = 1
smtp_tls_CAfile = $smtpd_tls_CAfile
smtp_tls_loglevel = 0
smtp_tls_mandatory_protocols = !SSLv2 !SSLv3
smtp_tls_note_starttls_offer = yes
smtp_tls_protocols = !SSLv2 !SSLv3
smtp_tls_security_level = may
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks permit_sasl_authenticated reject_non_fqdn_helo_hostname reject_invalid_he                                                                    lo_hostname check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_recipient_domain reject_non_fqdn_recipient reject_unlisted_recipient ch                                                                    eck_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql/sender_login_maps.cf
smtpd_sender_restrictions = reject_unknown_sender_domain reject_non_fqdn_sender reject_unlisted_sender permit_mynetwo                                                                    rks reject_sender_login_mismatch permit_sasl_authenticated check_sender_access pcre:/etc/postfix/sender_access.pcre
smtpd_tls_CAfile = /etc/ssl/certs/iRedMail.crt
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/iRedMail.crt
smtpd_tls_dh1024_param_file = /etc/ssl/dhparams.pem
smtpd_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDC3-S                                                                    HA, KRB5-DE5, CBC3-SHA
smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
smtpd_tls_loglevel = 0
smtpd_tls_mandatory_protocols = !SSLv2 !SSLv3
smtpd_tls_protocols = !SSLv2 !SSLv3
smtpd_tls_security_level = may
swap_bangpath = no
tls_random_source = dev:/dev/urandom
transport_maps = proxy:mysql:/etc/postfix/mysql/transport_maps_user.cf proxy:mysql:/etc/postfix/mysql/transport_maps_                                                                    domain.cf
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf proxy:mysql:/etc/postfix/mysql/domain_alias                                                                    _maps.cf proxy:mysql:/etc/postfix/mysql/catchall_maps.cf proxy:mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf
virtual_gid_maps = static:2000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf
virtual_minimum_uid = 2000
virtual_transport = dovecot
virtual_uid_maps = static:2000

10

Re: Which port? amavis: Blocked MTA-BLOCKED {TempFailedInbound}

No idea at all.

*) Did you modify any Postfix settings?
*) Did you upgrade iRedMail from an old release? or a fresh iRedMail-0.9.5 installation?

11

Re: Which port? amavis: Blocked MTA-BLOCKED {TempFailedInbound}

ZhangHuangbin wrote:

No idea at all.

*) Did you modify any Postfix settings?
*) Did you upgrade iRedMail from an old release? or a fresh iRedMail-0.9.5 installation?

No.
Yes, from 0.9.3 -> .4 -> .5