Op maandag 23 oktober 2006 20:08, schreef Mark Martinec:
> Johan,
>
> > Lately very often our users complain that they have received an email
> > without an attachment.
> > When i check the logs i can't find any error/warning messages except for
> > a BAD-HEADER message (which i let pass by default).
> > In the beginning i told the users that the email arrived with a bad
> > header, but it now happens so often (and only at our server, other
> > recipients on other servers are ok) that they don't buy that anymore (and
> > nor do i when i think of it..:-)
>
> For starters you can look at reported mail sizes: by Postfix when the
> message comes in, then by amavisd in its log (in the main log entry if you
> have ", size: %z" in a log template), then in a Postfix log again when
> a message re-enters Postfix, and at last the size in a user's mailbox.
>
>   Mark

Thanks for your quick reply Mark!
Just checked the logs and it seems to be Postfix (see log below).
It arrives with a size of 817019 and later in the log (before it is handed 
over to Amavis) is has a size of 7298...!
I looks that my disclaimer script is screwing the mail.
What puzzles me also that there are the two different sizes in the postfix 
queue's (7298 and 7776).

I know it's not amavis by now but do you have any other tips / suggestions?
Thanks again!

Gr. Johan


Oct 23 16:06:07 alcatraz postfix/qmgr[16530]: DD594117725: 
from=<[EMAIL PROTECTED]>, size=817019, nrcpt=2 (queue active)
Oct 23 16:06:07 alcatraz DISCLAIMER: [4156] Mail from=<[EMAIL PROTECTED]>
Oct 23 16:06:07 alcatraz DISCLAIMER: [4156] This is local email - 
to=<[EMAIL PROTECTED]>
Oct 23 16:06:07 alcatraz DISCLAIMER: [4156] Disclaimer NOT added
Oct 23 16:06:08 alcatraz postfix/pickup[7109]: 1F72F1177B1: uid=102 
from=<[EMAIL PROTECTED]>
Oct 23 16:06:08 alcatraz postfix/pipe[25289]: DD594117725: 
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=dfilt, 
delay=76, status=sent (alcatraz.good-it.com)
Oct 23 16:06:08 alcatraz postfix/cleanup[20107]: 1F72F1177B1: 
message-id=<[EMAIL PROTECTED]>
Oct 23 16:06:08 alcatraz postfix/pipe[25289]: DD594117725: 
to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, 
relay=dfilt, delay=76, status=sent (alcatraz.good-it.com)
Oct 23 16:06:08 alcatraz postfix/qmgr[16530]: DD594117725: removed
Oct 23 16:06:08 alcatraz postfix/smtpd[20632]: disconnect from 
unknown[193.172.27.70]
Oct 23 16:06:08 alcatraz postfix/qmgr[16530]: 1F72F1177B1: 
from=<[EMAIL PROTECTED]>, size=7298, nrcpt=2 (queue active)
Oct 23 16:06:10 alcatraz postfix/smtpd[25483]: connect from 
localhost[127.0.0.1]
Oct 23 16:06:10 alcatraz postfix/smtpd[25483]: 4093A11770A: 
client=localhost[127.0.0.1]
Oct 23 16:06:10 alcatraz postfix/cleanup[25287]: 4093A11770A: 
message-id=<[EMAIL PROTECTED]>
Oct 23 16:06:10 alcatraz postfix/qmgr[16530]: 4093A11770A: 
from=<[EMAIL PROTECTED]>, size=7776, nrcpt=2 (queue active)
Oct 23 16:06:10 alcatraz postfix/smtpd[25483]: disconnect from 
localhost[127.0.0.1]
Oct 23 16:06:10 alcatraz amavis[3847]: (03847-02) Passed BAD-HEADER, 
[193.172.27.70] <[EMAIL PROTECTED]> -> 
<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>, Message-ID: 
<[EMAIL PROTECTED]>, mail_id: 
2fEpcNMW-UfK, Hits: -2.218, 2140 ms




-- 
Kind Regards / Met vriendelijke groet,

Johan Barelds           Good-IT!
Tel.+31(0)70-3296957    Martinus Nijhoffweg 42
Mob.+31(0)6-54253750    2548 EP  Den Haag
[EMAIL PROTECTED]       http://www.good-it.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to