Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Auto-Backups not readable/usable

I've just noticed (after over a month) that the auto-backups are no longer readable on an installation I've done.

Firewall admin email address goes to a RedHat 7.1 mailserver running sendmail-8.11.2-14, the pop server ipop3d (ipop3d POP3 v2000.69rh), and Amavis-Perl with McAfee for Anti-Virus.

When the email is in /var/spool/mail on the mailserver, it appears that the ABF file is the right size (around 4k), but upon examining it  with PINE, it is not an attachment, but just binary in the body of the message.

When downloading the email via POP, Eudora thinks it is an attachment, but it is severely truncated (not more than a few hundred bytes) and is unusable.

believe everything was OK with the old RH6.1 mailserver without Amavis.

However, Amavis handles other attachments just fine, including gifs renamed to .abf, indicating that Amavis is working OK.

Therefore, ISTM that ASL is not correctly defining that this is a binary attachment.

In fact, it appears that Sendmail or Amavis is converting it to MIME from plaintext... Of course this is probably the problem, but if ASL isn't setting the MIME type correctly, Sendmail or Amavis must guess.
I believe it needs to be multipart or binary or something like that.

  
quote:

From: notify@fw.foo.com
Content-ID: 
Content-type: text/plain
Content-Description: 
Content-Disposition: attachment; filename="autobackup_27-Sep-01_fw.foo.com.abf"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mail.foo.com id f8R8EuI08717
X-Virus-Scanned: by AMaViS perl-11
Status:   




Also, I'm still having 
this problem on another mailserver.

This may be related.

First is ASL 2.000, second is 1.952.

Thank you,
Barry

[ 27 September 2001: Message edited by: barrygould ]


This thread was automatically locked due to age.
Parents Reply
  • Well, on RH, it's probably Amavis that is bringing the problem to light.

    However, on Sendmail NT 3.0, a similiar problem occurs, without Amavis or any other AV software installed.

    Regardless, the document encoding is set to text and I believe this is wrong. However, I'm not an expert on Mime or anything else here, but so far no one has said I'm wrong.

    This thread has been open for months with no resolution!

    Thanks,
    Barry
Children
  • I'm having the same problem.  Using several unix mailers, pine and sylpheed.  It appears that the message is "inserted" instead of "attached"..

    The attachment is fine with outlook.
  • hello,
    i was unable to restore the mail backup files.
    i used The Bat!, hotmail, akmail & outlook.
    all programs produce the same output and there is one thing wrong: all attachments have 0ah replaced by 0dh 0ah and sometime there is an extra 0dh 0ah sequence appended. if you replace 0dh 0ah by 0ah the restore of the backup file works. ok, i know i was somehow lucky because in my case all 0dh 0ah sequences were wrong. this might not be the case with other backup files.

    -rgvt-