Please show us related Postfix log lines.
Also, ALWAYS show us basic info of your iRedMail server, otherwise i have no willing to reply, because i have to guess the answers and reply with many possible cases.
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.1
- Deployed with iRedMail Easy or the downloadable installer? downloaded & installed the package from github ( wget https://github.com/iredmail/iRedMail/archive/1.3.2.tar.gz )
- Linux/BSD distribution name and version: Linux
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mariadb/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.
When a mail is send with a zip file , no error messages is showed in roundecubemail but still the msg is not received at receivers end
Here is the log file
Nov 25 03:52:40 hello roundcube: <vfu5883i> User abhishek@technaureus.com [103.78.221.185]; Message
<ec6d052ca45d10bc61fa946c94807b52@technaureus.com> for abhishekms266@gmail.com; 250: 2.0.0 Ok: queued as
4Cgn600nB3z5pdg
Nov 25 03:52:40 hello postfix/submission/smtpd[44231]: disconnect from localhost[127.0.0.1] ehlo=2 starttls=1 auth=1
mail=1 rcpt=1 data=1 quit=1 commands=8
Nov 25 03:52:40 hello amavis[22792]: (22792-13) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't
connect to a UNIX socket /var/run/clamav/clamd.ctl: Connection refused
Nov 25 03:52:41 hello amavis[22792]: (22792-13) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't
connect to a UNIX socket /var/run/clamav/clamd.ctl: Connection refused
Nov 25 03:52:41 hello amavis[22792]: (22792-13) (!)clamav-socket: All attempts (1) failed connecting to
/var/run/clamav/clamd.ctl, retrying (2)
Nov 25 03:52:47 hello amavis[22792]: (22792-13) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't
connect to a UNIX socket /var/run/clamav/clamd.ctl: Connection refused
Nov 25 03:52:47 hello amavis[22792]: (22792-13) (!)clamav-socket 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
Nov 25 03:52:47 hello amavis[22792]: (22792-13) (!)WARN: all primary virus scanners failed, considering backups
Nov 25 03:53:23 hello postfix/10025/smtpd[44309]: connect from localhost[127.0.0.1]
Nov 25 03:53:23 hello postfix/10025/smtpd[44309]: 4Cgn6q1vbXz5pdn: client=localhost[127.0.0.1]
Nov 25 03:53:23 hello postfix/cleanup[44234]: 4Cgn6q1vbXz5pdn: message-
id=<VAFmOZ0xCr6kE6@hello.technaureus.com>
Nov 25 03:53:23 hello postfix/qmgr[4115]: 4Cgn6q1vbXz5pdn: from=<postmaster@hello.technaureus.com>,
size=2908, nrcpt=1 (queue active)
Nov 25 03:53:23 hello postfix/10025/smtpd[44309]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1
quit=1 commands=5
Nov 25 03:53:23 hello amavis[22792]: (22792-13) Blocked BANNED (.asc,tree_view.js)
{DiscardedInternal,Quarantined}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:41948 ESMTP/ESMTP
<abhishek@technaureus.com> -> <abhishekms266@gmail.com>, (), quarantine: FmOZ0xCr6kE6, Queue-ID:
4Cgn600nB3z5pdg, Message-ID: <ec6d052ca45d10bc61fa946c94807b52@technaureus.com>, mail_id:
FmOZ0xCr6kE6, b: 63yImRE69, Hits: -, size: 2278166, Subject: "zip test", From: <abhishek@technaureus.com>,
User-Agent: Roundcube_Webmail, helo=localhost, b.key=(?^mix:N=.*\\.(9|386|LeChiffre|aaa|abc|aepl|ani|aru|atm|aut|
b64|bat|bhx|bkd|blf|bll|bmw|boo|bps|bqf|breaking_bad|buk|bup|bxz|cc|ccc|ce0|ceo|cfxxe|chm|cih|cla|class|cmd|com|cpl|
crinf|crjoker|crypt|cryptolocker|cryptowall|ctbl|cxq|cyw|dbd|delf|dev|dlb|dli|dll|dllx|dom|drv|dx|dxz|dyv|dyz|ecc|exe|exe-
ms|exe1|exe_renamed|exx|ezt|ezz|fag|fjl|fnr|fuj|good|gzquar|hlp|hlw|hqx|hsq|hts|iva|iws|jar|js|kcd|keybtc@inbox_com|let|
lik|lkh|lnk|locky|lok|lol!|lpaq5|magic|mfu|micro|mim|mjg|mjz|nls|oar|ocx|osa|o...
Nov 25 03:53:23 hello amavis[22792]: (22792-13) ...zd|pcx|pgm|php2|php3|pid|pif|plc|pr|pzdc|qit|qrn|r5a|rhk|rna|
rsc_tmp|s7p|scr|shs|ska|smm|smtmp|sop|spam|ssy|swf|sys|tko|tps|tsa|tti|ttt|txs|upa|uu|uue|uzy|vb|vba|vbe|vbs|vbx|vexe|
vxd|vzr|wlpginstall|ws|wsc|wsf|wsh|wss|xdu|xir|xlm|xlv|xnt|xnxx|xtbl|xxe|xxx|xyz|zix|zvz|zzz)$), b.com=(?^mix:N=.*\\.
(9|386|LeChiffre|aaa|abc|aepl|ani|aru|atm|aut|b64|bat|bhx|bkd|blf|bll|bmw|boo|bps|bqf|breaking_bad|buk|bup|bxz|cc|ccc|
ce0|ceo|cfxxe|chm|cih|cla|class|cmd|com|cpl|crinf|crjoker|crypt|cryptolocker|cryptowall|ctbl|cxq|cyw|dbd|delf|dev|dlb|dli|
dll|dllx|dom|drv|dx|dxz|dyv|dyz|ecc|exe|exe-ms|exe1|exe_renamed|exx|ezt|ezz|fag|fjl|fnr|fuj|good|gzquar|hlp|hlw|hqx|hsq|
hts|iva|iws|jar|js|kcd|keybtc@inbox_com|let|lik|lkh|lnk|locky|lok|lol!|lpaq5|magic|mfu|micro|mim|mjg|mjz|nls|oar|ocx|
osa|ozd|pcx|pgm|php2|php3|pid|pif|plc|pr|pzdc|qit|qrn|r5a|rhk|rna|rsc_tmp|s7p|scr|shs|ska|smm|smtmp|sop|spam|ssy|swf|
sys|tko|tps|tsa|tti|ttt|txs|upa|uu|uue|uzy|vb|vba|vbe|vbs|vbx|vexe|vxd|vz...
Nov 25 03:53:23 hello amavis[22792]: (22792-13) ...r|wlpginstall|ws|wsc|wsf|wsh|wss|xdu|xir|xlm|xlv|xnt|xnxx|xtbl|xxe|
xxx|xyz|zix|zvz|zzz)$), b.rhs=DISCARD, b.parts=P=p003,L=1,M=multipart/mixed |
P=p002,L=1/2,M=application/zip,T=zip,N=arabic_numeric.zip | P=p017,L=1/2/14,T=asc,N=tree_view.js,
P=p003,L=1,M=multipart/mixed | P=p002,L=1/2,M=application/zip,T=zip,N=arabic_numeric.zip |
P=p018,L=1/2/15,T=asc,N=kanban_view.js, ..., 43105 msNov 25 03:53:23 hello postfix/amavis/smtp[44238]: 4Cgn600nB3z5pdg: to=<abhishekms266@gmail.com>,
relay=127.0.0.1[127.0.0.1]:10026, delay=43, delays=0.08/0.03/0.01/43, dsn=2.7.0, status=sent (250 2.7.0 Ok,
discarded, id=22792-13 - BANNED: .asc,tree_view.js)
Nov 25 03:53:23 hello postfix/qmgr[4115]: 4Cgn600nB3z5pdg: removed
Nov 25 03:53:23 hello postfix/cleanup[44234]: 4Cgn6q2FRFz5pdx: message-
id=<VAFmOZ0xCr6kE6@hello.technaureus.com>
Nov 25 03:53:23 hello postfix/qmgr[4115]: 4Cgn6q2FRFz5pdx: from=<postmaster@hello.technaureus.com>,
size=3056, nrcpt=1 (queue active)
Nov 25 03:53:23 hello postfix/local[44310]: 4Cgn6q1vbXz5pdn: to=<root@hello.technaureus.com>, relay=local,
delay=0.06, delays=0.02/0.03/0/0.01, dsn=2.0.0, status=sent (forwarded as 4Cgn6q2FRFz5pdx)
Nov 25 03:53:23 hello postfix/qmgr[4115]: 4Cgn6q1vbXz5pdn: removed
Nov 25 03:53:23 hello postfix/pipe[44311]: 4Cgn6q2FRFz5pdx: to=<postmaster@technaureus.com>,
orig_to=<root@hello.technaureus.com>, relay=dovecot, delay=0.12, delays=0.01/0.01/0/0.1, dsn=2.0.0, status=sent
(delivered via dovecot service)
Nov 25 03:53:23 hello postfix/qmgr[4115]: 4Cgn6q2FRFz5pdx: removed
====