<<< Date Index >>>     <<< Thread Index >>>

empty attachment on arrival



I'm sending a message with a text file attached, and it is arriving
empty. I'd appreciate any help working out why. The test below
involves sending messages to myself, but the problem occurs with other
recipients.

Here is the screen prior to sending:

___________________________________________________________________

    From: Dan Davison <davison@xxxxxxxxxxxxxx>
      To: Dan Davison <davison@xxxxxxxxxxxxxx>
      Cc:
     Bcc:
 Subject: test attachment
Reply-To:
     Fcc: =out
Security: Clear


-- Attachments
   - I     1 /tmp/mutt-Tichodroma-1000-7496-228             [text/plain, 7bit, 
us-ascii, 0.1K]
->   A     2 ~/f10.txt                                      [text/plain, 7bit, 
us-ascii, 0.2K]


___________________________________________________________________

And here's what I'm receiving

___________________________________________________________________

Return-Path: unknown
Delivered-To: unknown
Received: from markov.stats.ox.ac.uk (163.1.210.1) by Tichodroma with IMAP4;
        13 Aug 2008 13:23:01 -0000
Received: from blackcap.stats.ox.ac.uk (blackcap.stats [163.1.210.5])
        by markov.stats.ox.ac.uk (8.13.6/8.13.6) with ESMTP id m7DDMF8X027191
        for <davison@xxxxxxxxxxxxxx>; Wed, 13 Aug 2008 14:22:15 +0100 (BST)
Received: by blackcap.stats.ox.ac.uk (Postfix, from userid 5158)
        id ADA4218084; Wed, 13 Aug 2008 14:22:15 +0100 (BST)
Date: Wed, 13 Aug 2008 14:22:16 +0100
From: Dan Davison <davison@xxxxxxxxxxxxxx>
To: Dan Davison <davison@xxxxxxxxxxxxxx>
Subject: test attachment
Message-ID: <20080813132216.GQ7496@xxxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="lbQeYSs6J2ITmUo7"
Content-Disposition: inline
User-Agent: Mutt/1.5.18 (2008-05-17)

[-- Attachment #1 --]
[-- Type: text/plain, Encoding: 7bit, Size: 0.1K --]
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

body of message here.
--
www.stats.ox.ac.uk/~davison

[-- Attachment #2: f10.txt --]
[-- Type: text/plain, Encoding: 7bit, Size: 0K --]
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="f10.txt"

___________________________________________________________________

However I can send the following file to myself without problems:

___________________________________________________________________
~> ls -l ftest.txt 
-rw-r--r-- 1 dan dan 21 2008-08-13 14:17 ftest.txt
~> cat -A ftest.txt 
1$
2$
3$
4$
5$
6$
7$
8$
9$
10$

___________________________________________________________________

Also I should point out that my sendmail procedure is odd, as
I couldn't get sendmail to work locally. Instead I have ssh pass
it on to a remote sendmail:

set sendmail="ssh davison@xxxxxxxxxxxxxxxxxxx /usr/sbin/sendmail $@"

However that's been working absolutely fine for months now.

The troublesome file contains names of music files and so did have
various (non-ascii) characters in it. However I've cleaned them
out, and now

perl -n -e '/[^\w.\-\n\/+&\!\[\]]/ and print' < ~/f10.txt ]] < ~/f10.txt

doesn't match anything, and cat -A shows
___________________________________________________________________

~> ls -l f10.txt 
-rw-r--r-- 1 dan dan 168 2008-08-13 14:15 f10.txt
~> cat -A f10.txt 
.$
./16_Horsepower$
./16_Horsepower/Hoarse$
./16_Horsepower/Secret_South$
./5ive$
./5ive/5ive$
./5ive/Telestic_Disfracture$
./Afghan_Whigs$
./Afghan_Whigs/Gentleman$
./Agalloch$

___________________________________________________________________


What's going wrong? I've been having this proble sporadically. I
thought it was something to do with encodings, but it seems that
this is recognised as us-ascii on dispatch, and received as such.

Thanks,

Dan

-- 
www.stats.ox.ac.uk/~davison