1

Topic: Block attachament

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySql
- Linux/BSD distribution name and version: CentOS 6.4 - 64 bits
- Related log if you're reporting an issue:
====

Hello everybody,
I have installed the version 0.8.4 in my server with 150 users. Every month a company posts an email management with some users and some receive the attachment and other non receive. Eu already tried to find the reason why but I found so ask to help. any ideas where I can search ?
Best regards
Joe Bernardes

2

Re: Block attachament

I remember we discussed similar issue in this forum before, but i cannot find the thread. sad

I guess Amavisd causes this issue, but no idea what the problem is.

3

Re: Block attachament

Hi,
Sorry my insistence but, have you  any solution for this?
Best regards,
Joe Bernardes

4

Re: Block attachament

Can you extract related log of this mail in Postfix log file? Did it happen again?

5

Re: Block attachament

Hi,
This log file is exactly of message with attachment file blocked.
The user received the message without attachment.

cat maillog-20140515 |grep 'ibba-implantacaocash@itaubba.com'
May 14 16:07:28 web2 policyd: rcpt=90419, module=bypass, host=186.258.18.77 (unknown), from=ibba-implantacaocash@itaubba.com, to=patricia@mydomain.com, size=140313
May 14 16:07:37 web2 postfix/qmgr[28576]: 82E6B74AA9B: from=<ibba-implantacaocash@itaubba.com>, size=140516, nrcpt=1 (queue active)
May 14 16:09:49 web2 postfix/qmgr[28576]: 7650474AAEB: from=<ibba-implantacaocash@itaubba.com>, size=141012, nrcpt=1 (queue active)
May 14 16:09:49 web2 amavis[32023]: (32023-02) Passed CLEAN, LOCAL [186.258.18.77] [186.258.18.77] <ibba-implantacaocash@itaubba.com> -> <patricia@mydomain.com>, Message-ID: <12EE9DE91892484797AAE2191499C1C2317581C3@BBADAGN1.corp.bba.com.br>, mail_id: 5wn9lSVArvyD, Hits: 0.408, size: 140516, queued_as: 7650474AAEB, 14971 ms
May 14 16:30:01 web2 amavis[2791]: (02791-04) Passed CLEAN, MYNETS/MYUSERS LOCAL [192.168.0.115] [192.168.0.115] <patricia@mydomain.com> -> <ibba-implantacaocash@itaubba.com>, Message-ID: <AA04EEED5295441EBE4170D340426144@ferrari.agro>, mail_id: JzVasYcKyQSY, Hits: -, size: 5502, queued_as: 77F0974AAE7, 235 ms
May 14 16:30:01 web2 postfix/smtp[2485]: 39FDD74AAEB: to=<ibba-implantacaocash@itaubba.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=17, delays=0.22/16/0/0.3, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 77F0974AAE7)
May 14 16:30:04 web2 postfix/smtp[2844]: 77F0974AAE7: to=<ibba-implantacaocash@itaubba.com>, relay=mx1.itaubba.com[200.160.119.48]:25, delay=3.4, delays=0.1/0/2.1/1.2, dsn=2.0.0, status=sent (250 ok:  Message 33205782 accepted)
May 14 16:43:09 web2 policyd: rcpt=90666, module=bypass, host=186.258.18.77 (unknown), from=ibba-implantacaocash@itaubba.com, to=patricia@mydomain.com, size=145266
May 14 16:43:10 web2 postfix/qmgr[28576]: E23AD74AAF6: from=<ibba-implantacaocash@itaubba.com>, size=145468, nrcpt=1 (queue active)
May 14 16:43:53 web2 postfix/qmgr[28576]: 62FF574AAEB: from=<ibba-implantacaocash@itaubba.com>, size=145964, nrcpt=1 (queue active)
May 14 16:43:53 web2 amavis[4419]: (04419-10) Passed CLEAN, LOCAL [186.258.18.77] [186.258.18.77] <ibba-implantacaocash@itaubba.com> -> <patricia@mydomain.com>, Message-ID: <12EE9DE91892484797AAE2191499C1C2317583C9@BBADAGN1.corp.bba.com.br>, mail_id: JEmAL3JXGOVk, Hits: 0.408, size: 145468, queued_as: 62FF574AAEB, 13667 ms


Best regards,
Joe Bernardes

6

Re: Block attachament

joe_bernardes wrote:

cat maillog-20140515 |grep 'ibba-implantacaocash@itaubba.com'

Please, do not filter log with 'grep' or any other tools. We need FULL log of this smtp session.

7

Re: Block attachament

wow.. This is a big file log. I used the filter to show only e-mail with problem. Exist any other option to send you?

8

Re: Block attachament

Hi Joe,

We just need the full log of this smtp session (this email), not the whole log file.

9

Re: Block attachament

Hi ZhangHuangbin,
Attachment part of file log without filter.

TIA,
Joe Bernardes

10

Re: Block attachament

Cannot find any error message in attached log. No idea at all. sorry.

11

Re: Block attachament

Hi,
is there any possibility to disable the verification for Amavisd this account only?
TIA,
Joe Bernardes

12

Re: Block attachament

It's always a good idea to search this forum (or search this forum with Google):
http://www.iredmail.org/forum/topic4681 … nders.html
http://www200.pair.com/mecham/spam/bypassing.html

13

Re: Block attachament

Hi,
Thanks for your attention. I'll test end back with result.