Fabio,

> I have recently reinstalled my home server, using a debian sarge as OS.
> I have used the same settings as in the old server, but now i have a
> little problem: in some mail i have that the message headers and body
> of the original mail are added at the end of the mail after it passed
> through amavisd.
> If the original headers are called H, the original body called B and
> the modified header after passed through amavisd called MH (for
> example) i have a final mail (that who is delivered to my maildir)
> like that: Headers = MH; Body = B + H + B
> postfix: 2.1.5-9, amavisd-new: 1:2.3.3-0 ( get from apt-get.org,
> but the original 20030616-p10 have the same problem)

Most strange. I don't see a way for amavisd-new to produce
two copies of the original body. The forwarding code takes the
original mail from the file and modifies the header on the fly,
it's pretty straightforward. I suspect some other part of your setup
is playing jokes with your mail.

As a start, you could examine the mail size as it enters Postfix
(reported in its log), then the size of the same mail as it enters
amavisd, reported in its log at log level 1:

  ESMTP:[127.0.0.1]:10024 /var/amavis/tmp/...: <...> -> <...>
     Received: SIZE=10016 from ... by localhost ...

then the size of the same mail as it re-enters Postfix on port 10025,
and finally its size when it lands in your mailbox. For any substantial
mail body size it should be pretty obvious where the mail size
bumps up by another copy of the body.

Another tool that can be handy is to capture TCP traffic
with tcpdump and analyze it later with ethereal, matching
events with log entries.

  Mark


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
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