[Mailman-Users] double attachments

2007-02-01 Thread Mark Sapiro
Back in December, there was a thread on duplicated jpeg images in posts
from Mailman
.

I worked with the OP off line, and I diagnosed the problem as being a
cPanel problem. cPanel Mailman 2.1.9-cp1 has some modification to add
the msg_footer to a text/html part. The affected posts had
multipart/related parts which had a text/html part referencing one or
more image/jpeg parts.

Apparently, cPanel's modification to insert msg_footer in the text/html
part was also adding duplicate references to the images and also
duplicating the image/jpeg parts. I posted this issue to a cPanel
forum  in
December, but there have been no replies.

My suggested avoidance, since the affected list is an announce list, is
to remove msg_footer from the list and add it instead as a signature
to the post. It was not until yesterday that this was tested and
proved viable, but since it did work, I am posting this 'closure'

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] double attachments

2006-12-07 Thread Mark Sapiro
Jeffrey Goldberg wrote:
>
>Also never check "Send Windows Friendly Attachment" box.  That may do  
>something that shows up like doubling the attachment.


I think you have it backwards. Checking the "Send Windows Friendly
Attachment" will not send the Mac 'resource' information. It is this
which shows up as a second file with non Mac aware MUAs. Also, It will
try to add an appropriate extension to the name of an attached file
the name of which on the Mac doesn't have an extension.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] double attachments

2006-12-07 Thread Mark Sapiro
tonya kay wrote:
>
>My email client is Mac's Mail, running on the Mac OSX operating system.
>
>When I send an email to my Mailman mailing list, the .jpg files I attach are 
>duplicated in the recipient's email.  How can I assure that only one of each 
>attachment is received?


I suspect this also happens when you send directly to user's whose MUAs
don't understand Mac attachments. I think Mac Mail is doing this, not
Mailman.

If in Mac Mail you select edit->attachments->Always Send Windows
Friendly Attachments or simple be sure the "Send Windows Friendly
Attachments" check box is checked in the file attach dialog when you
attach the file, I think you won't have this problem. The down side of
this is your Mac recipients won't get the 'resource fork' of the file
which may contain a custom icon or similar information.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] double attachments

2006-12-07 Thread Jeffrey Goldberg

On Dec 7, 2006, at 4:27 PM, tonya kay wrote:


Hello!  I am new to the Mailman Mailing List.

My email client is Mac's Mail, running on the Mac OSX operating  
system.


When I send an email to my Mailman mailing list, the .jpg files I  
attach are
duplicated in the recipient's email.  How can I assure that only  
one of each

attachment is received?


I use Apple's Mail.app (2.1) and have not had this problem with PDF  
attachments (the only attachments I've ever sent to a mailing list).


Can you double check your Sent folder to make sure that the  
attachment really is only in there once for what you sent?


Also never check "Send Windows Friendly Attachment" box.  That may do  
something that shows up like doubling the attachment.


-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

[Mailman-Users] double attachments

2006-12-07 Thread tonya kay
Hello!  I am new to the Mailman Mailing List.

My email client is Mac's Mail, running on the Mac OSX operating system.

When I send an email to my Mailman mailing list, the .jpg files I attach are 
duplicated in the recipient's email.  How can I assure that only one of each 
attachment is received?

Thank you.

Tonya Kay
http://tonyakay.com

_
Share your latest news with your friends with the Windows Live Spaces 
friends module. 
http://clk.atdmt.com/MSN/go/msnnkwsp007001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] double attachments

2006-08-11 Thread tonya kay
Hello, I enjoy my Mailman mailinglist hosted on http://tonyakay.com.

Unfortunately, when I attach a photo to my mailing list email, recipients 
receive two of each photograph.  Double attachments.

Why is this happening and how can I stop it?

Tonya Kay


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Double attachments

2006-05-09 Thread Osmo Kujala


> I think you can just add Scrubber to the global pipeline in mm_cfg.py
> or to a list pipeline. See
> 
> for ways to do that.

Interesting, I could have used this to add Spam-filtering based on
SpamAssassin-headers. Did it replacing /usr/lib/mailman/mail/mailman
by call to procmail...

> If you are concerned about space, and you don't care about preserving
> as valid the links to attachments that were previously in archives or
> digests, ...

But we do care at least for non-digest mails, (digest-users may use
archive when links are lost, non-digest users too, but the have
maybe higher priority and assume attachments in tact)

>you can delete the archives/private//attachments
> directories prior to running bin/arch --wipe. Then only the
> attachments which are linked from the new archive will be stored, but
> their file names will probably be different.

Now I see that we must reprogram our archive-cutting-program.
List admins may turn the archiving off and then running
bin/arch --wipe will delete all attachments or only those in
mbox will survive. My tests (so far) show that bin/arch with
or (whithout) --wipe deletes everything except mbox in lists
archive. Have to figure out safe way to keep recent attachments
in tact. (Maybe move to safe and back is the only safe way that
might work through Mailman versions.)

Osmo
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Double attachments

2006-05-05 Thread Mark Sapiro
Osmo Kujala wrote:
>
>> Scrubber scrubs the attachment twice. Once for the archive and once for
>> the 'plain' digest, so you wind up with two copies.
>
>> One way to avoid this is to set scrub_nondigest to Yes for the list.
>
>Okay thanks, but first we have to upgrade from 2.1.5.


I think you can just add Scrubber to the global pipeline in mm_cfg.py
or to a list pipeline. See

for ways to do that.


>Our problem is more complicated. We have almost disk full of
>archives and have to use own script to cut archives by some date.
>Script uses /usr/lib/mailman/bin/arch to reconstruct archives
>after mbox-file has been cut. If arch will scrub attachments
>for digest too, then there might be situation that cutting
>archive take's more disk space while purpose was to free space.
>(I haven't seen that happen.)


If you are concerned about space, and you don't care about preserving
as valid the links to attachments that were previously in archives or
digests, you can delete the archives/private//attachments
directories prior to running bin/arch --wipe. Then only the
attachments which are linked from the new archive will be stored, but
their file names will probably be different.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Double attachments

2006-05-05 Thread Osmo Kujala


Mark wrote

> Scrubber scrubs the attachment twice. Once for the archive and once for
> the 'plain' digest, so you wind up with two copies.

> One way to avoid this is to set scrub_nondigest to Yes for the list.

Okay thanks, but first we have to upgrade from 2.1.5.

> Then the attachment will be scrubbed from all messages before
> digesting and archiving. Or, you can disable digests entirely for the
> list.

Our problem is more complicated. We have almost disk full of
archives and have to use own script to cut archives by some date.
Script uses /usr/lib/mailman/bin/arch to reconstruct archives
after mbox-file has been cut. If arch will scrub attachments
for digest too, then there might be situation that cutting
archive take's more disk space while purpose was to free space.
(I haven't seen that happen.)

Osmo
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Double attachments

2006-05-03 Thread Mark Sapiro
Osmo Kujala wrote:
>
>I was wondering why attachments in archive take space more
>than mbox-file. Found out that there are many double copies
>of attachments like:

Scrubber scrubs the attachment twice. Once for the archive and once for
the 'plain' digest, so you wind up with two copies.

One way to avoid this is to set scrub_nondigest to Yes for the list.
Then the attachment will be scrubbed from all messages before
digesting and archiving. Or, you can disable digests entirely for the
list.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] Double attachments

2006-05-03 Thread Osmo Kujala

Hi again Mailman-users!

I was wondering why attachments in archive take space more
than mbox-file. Found out that there are many double copies
of attachments like:

[EMAIL PROTECTED] ~]# cd ~mailman/arc*/*/ok-testi/attachments/*/*
[EMAIL PROTECTED] c69ef096]# ls -l
total 120
-rw-rw-r--  1 root mailman 59714 May  3 14:48 attachment-0001.html
-rw-rw-r--  1 root mailman 59714 May  3 14:48 attachment.html
[EMAIL PROTECTED] c69ef096]# diff attachment-0001.html attachment.html
[EMAIL PROTECTED] c69ef096]#

Any clue why?
Version is 2.1.5.

Osmo
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp