Vlad Zero | 6 Jan 16:00 2004
Picon

Re: Consistent header structure corruption in sucker

Hello, local ml.

I'm sorry I didn't get to your mail earlier. As the README file states, "You
will need to create at least one .conf file for various YoSucker internal
reasons!". Nice try using /dev/null as a config file, but I guess YoSucker
won't find what it looks for in that location (and it woun't be able to create
various files it needs for its proper functionality as the names of those files
derive from the config file name). I guess that causes your problems. Create a
regular config file, retry and let me know if the problem persists.

I'm not saying it is impossible to find the right setup without using a config
file, but I've never tested such a possibility. I know it is not an ideal
situation. But the internal structure of YoSucker got so complicated it was
hard to implement the new features as they are. If I was to remove the .conf
file dependency, I am affraid I would get into to much unstable code, ie. mess.
I tried to recode YoSucker several times from scratch, but always felt like
re-inventing the same thing so I would always give up eventually. This was the
only possibility...

Now I checked your setup and it works fine for me. It is possible that your
connection gets time-out-ed and so you get the 'header corruption' message.
probably. try to remove sneakysleep. create reguler .conf file. even empty. let
me know.

Cheers.

Vlad
-z3r0-


(Continue reading)

Jean-Yves Levesque | 12 Jan 17:41 2004

YoPop Usage

I did not see how to use to YoPop utility. What I want to do is use fetchmail to
call Yosucker, so to have YoPop listen on the port. However, the COMMAND in the
YoPop perl script is not explained. Does anyone have an example on how to use
Yosucker with fetchmail ?

--

-- 
Jean-Yves Levesque - Nortel Networks (jyves@...)
P.O. Box 3511, Station C Ottawa, Canada  K1Y 4H7
-
Ideas expressed belong to the owner and not to the company

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
Vlad Zero | 14 Jan 17:21 2004
Picon

Re: YoPop Usage

Hi Jean-Yves,

YoPop says:
Usage: YoPop COMMAND
Runs COMMAND on POP3 request.

It basically runs any COMMAND on POP3 request. So if you want YoSucker 
to be invoked, you need to execute:

$ YoPop /path/to/YoSucker

That will do the job. (maybe --- YoPop is just a simple workaround written 
for my friend in 5 minutes a year ago. I haven't touched it since then and 
have no reports of people using it. But it may/should work fine in a 
simple setup;-)

Good luck, Jean-Yves!

Vlad
-z3r0-


On Mon, 12 Jan 2004, Jean-Yves Levesque wrote:

> I did not see how to use to YoPop utility. What I want to do is use fetchmail to
> call Yosucker, so to have YoPop listen on the port. However, the COMMAND in the
> YoPop perl script is not explained. Does anyone have an example on how to use
> Yosucker with fetchmail ?
> 
> 
(Continue reading)

David Morse | 20 Jan 21:32 2004
Picon

messages chopped in half

Hi Vlad,
I'm still getting some of my emails divided into two different emails (one with headers and most of the text, and the other with the last few lines of the text).  For some reason, they tend to all come from the source-code-intensive, high traffic debian-users list.  I think somebody was hot on the trail of this bug a few months ago, but I forget now what its status is.  Maybe you would like to subscribe to the list and have a look yourself?  I get about 1 message a day split.


------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn

Vlad Zero | 21 Jan 15:17 2004
Picon

Re: messages chopped in half

Hi David,

Few months back someone suggested this behavior may be caused by the word 
"From " appearing in the message body and its bad interpretation by the 
mail client/mail processing application. For this reason I implemented the 
QUOTEFROM feature/parameter, that should fix the problem (it basically adds 
">" character in front of every "From " appearing in the message. Did you 
try to set QUOTEFROM=1? Did it work? Let me know if the problem persists. 
Also, you may want to try to reconstruct the original message that gets 
split and send it to me. It is hard for me to reproduce this problem as 
it highly depends on you mail processing setup...

Well, hope this helps a bit! Let me know how things proceed...

Take care, Dave,

Vlad
-3fus-


On Tue, 20 Jan 2004, David Morse wrote:

> Hi Vlad, 
>
> I'm still getting some of my emails divided into two different emails
> (one with headers and most of the text, and the other with the last few
> lines of the text).  For some reason, they tend to all come from the
> source-code-intensive, high traffic debian-users list.  I think somebody
> was hot on the trail of this bug a few months ago, but I forget now what
> its status is.  Maybe you would like to subscribe to the list and have a
> look yourself?  I get about 1 message a day split.
> 
> 
> ------------------------------------------------------- 
> The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on
> Open Tools Development and Integration See the breadth of Eclipse
> activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn
> _______________________________________________ 
> Yosucker-general mailing list Yosucker-general@...
> https://lists.sourceforge.net/lists/listinfo/yosucker-general
> 

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
dbcliffe | 21 Jan 20:19 2004
Picon

Re: messages chopped in half

Is anyone experiencing long delays getting into their email account in the morning and afternoon?
 


Vlad Zero <zero-c+LOOtlEd5c@public.gmane.org> wrote:
Hi David,

Few months back someone suggested this behavior may be caused by the word
"From " appearing in the message body and its bad interpretation by the
mail client/mail processing application. For this reason I implemented the
QUOTEFROM feature/parameter, that should fix the problem (it basically adds
">" character in front of every "From " appearing in the message. Did you
try to set QUOTEFROM=1? Did it work? Let me know if the problem persists.
Also, you may want to try to reconstruct the original message that gets
split and send it to me. It is hard for me to reproduce this problem as
it highly depends on you mail processing setup...

Well, hope this helps a bit! Let me know how things proceed...

Take care, Dave,

Vlad
-3fus-



On Tue, 20 Jan 2004, David Morse wrote:

> Hi Vlad,
>
> I'm still getting some of my emails divided into two different emails
> (one with headers and most of the text, and the other with the last few
> lines of the text).  For some reason, they tend to all come from the
> source-code-intensive, high traffic debian-users list.  I think somebody
> was hot on the trail of this bug a few months ago, but I forget now what
> its status is.  Maybe you would like to subscribe to the list and have a
> look yourself?  I get about 1 message a day split.
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on
> Open Tools Development and Integration See the breadth of Eclipse
> activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn
> __________ _____________________________________
> Yosucker-general mailing list Yosucker-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/yosucker-general
>



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Yosucker-general mailing list
Yosucker-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yosucker-general

Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
David Morse | 22 Jan 18:53 2004
Picon

Re: messages chopped in half

Hm, well after actually looking to the facts of the matter, instead of 
me just making stuff up, I saw this behavior today:

A message shows up, all ok, at 7:02 am this morning.  (According to its 
"Date" header)
The body of a message shows up (again), without any headers, as a 
separate message at 8:00 am. (not sure why Mozilla thinks this, since 
there is no "Date" header.  It could be the time mozilla popped it off 
the local pop3d.)

My mail flow, if I remember it right:
yahoo ---> Yosucker ---> localhost:/var/spool/mail/dm ---> pop3d -----> 
Mozilla

# sample.conf - Y(aho)o!Sucker configuration file
# Copyright Dirk Diggler & Som One 1996-2001. All rides reserved.
# Redistribution and use, with or without modification,
# is permitted in the sense of GDWYWL
# (GeneralDoWhateverYouWantLicense).
# -z3r0-

<Connect Info>
# Set your YahooMail server address
# IMPORTANT: Always leave mail.yahoo.com here
# even if you normaly use lets say mail.yahoo.it!!!
HOST=mail.yahoo.com

# Port YoSucker should connect to - if commented, defaults to 80/443
# Obsolette - note needed any more
# PORT=8080
</Connect>

<Login Details>
# What's your YahooMail username/id?
USERNAME=XXXXX

# Your Yahoo password - must be encrypted
# (use EncPasswd utility to encrypt it)
PASSWD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

# Should I use a secure connection to login?
# Default is 1 (Yes) - login is slower but more secure
SSL=1
</Login>

<Check Method>
# See doc/FastCheck for detail.
# Yahoo Messenger based fast e-mail checking. Switching this feature 
# on (FASTCHECK=1) will reduce significantly the time YoSucker needs
# to determine whether you have some new incomming messages. The 
# YoSucker fetch-mail routine will then be launched only if there are
# some new messages. Makes sense only only if BOX is set to Inbox.
FASTCHECK=0

# Your Yahoo password - must be encrypted (use EncPasswd utility 
# to encrypt it)
# Note: Please use the same order as generated by EncPasswd 
# unless FastCheck won't work! Do not mix FASTPASS1 and FASTPASS2
FASTPASS1=0101010101010101010101--
FASTPASS2=1010101010101010101010--
</Check>

<Fetch Mail>
# Where should I look for messages?
# CASE SENSITIVE!!!
# Options are: Inbox, Sent, Trash, Draft? or any of your YM folders
BOX=Inbox

# Messages will be saved (appended) in...
# For procmail add procmail command line and set following PIPE to 1
# See FAQ...
OUTFILE=/var/mail/dm

# The next parameter determines whether your mail is written to
# a file or redirected to another program such as "procmail"
# Options: 0 (output to file) or 1 (out to pipe)
# Leave 0 unless you know what you're doing
PIPE=0

# Leave mail on server? - default is 1 (Yes)
# If set to 0 fetched messages will be moved to 
# Trash folder on the server
LEAVE=0

# Empty trash when logout?
# 1 (Yes) / 0 (No!)
TRASH=1

# LIMIT is a speed tuning option; See FAQ documentation for details
# Default is 25; Set to 0 for no limit; 10-15 should be OK for daily use
LIMIT=25
</Fetch>

<Proxy Settings>
# Set your proxy server address
# PROXY=proxy.domain.com

# Set your proxy port
# PROXY_PORT=8080
</Proxy>

<Other>
# Select how much should Yo!Sucker show
# Options: quiet = 0, normal = 1
DEBUG=1

# try not to split messages in half.
QUOTEFROM=1

# Choose an action (i.e. a command to execute when new mail arrives
# ON_NEWMAIL="command attributes"

# This command will be executed when YoSucker finds no new incomming messages
# ON_NO_MAIL="command attributes"
</Other>

<Lethal Options>
# IMPORTANT!!!! Setting the following CLEAN option to "KillEmAll" 
# will move all your messages stored in selected BOX into trash, 
# WITHOUT actually fetching the messages!!! Repository will be 
# ignored.
#
# BE VERY CAREFULL WITH THIS FEATURE!!!
#
# Never set CLEAN=KillEmAll unless you know EXACTLY what you're 
# doing. I warned ya!
#
# THIS IS A SEEK&DESTROY ALGORITHM!!!
#
# Options: KillEmAll (erase all messages), 
# all the other values will be ignored.
CLEAN=0
</Lethal>
Subject: # sample.conf - Y(aho)o!Sucker configuration file # Copyright Dirk Diggler & Som One 1996-2001. All rides reserved. # Redistribution and use, with or without modification, # is permitted in the sense of GDWYWL # (GeneralDoWhateverYouWantLicense). # -z3r0- <Connect Info> # Set your YahooMail server address # IMPORTANT: Always leave mail.yahoo.com here # even if you normaly use lets say mail.yahoo.it!!! HOST=mail.yahoo.com # Port YoSucker should connect to - if commented, defaults to 80/443 # Obsolette - note needed any more # PORT=8080 </Connect> <Login Details> # What's your YahooMail username/id? USERNAME=XXXXX # Your Yahoo password - must be encrypted # (use EncPasswd utility to encrypt it) PASSWD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX # Should I use a secure connection to login? # Default is 1 (Yes) - login is slower but more secure SSL=1 </Login> <Check Method> # See doc/FastCheck for detail. # Yahoo Messenger based fast e-mail checking. Switching this feature # on (FASTCHECK=1) will reduce significantly the time YoSucker needs # to determine whether you have some new incomming messages. The # YoSucker fetch-mail routine will then be launched only if there are # some new messages. Makes sense only only if BOX is set to Inbox. FASTCHECK=0 # Your Yahoo password - must be encrypted (use EncPasswd utility # to encrypt it) # Note: Please use the same order as generated by EncPasswd # unless FastCheck won't work! Do not mix FASTPASS1 and FASTPASS2 FASTPASS1=0101010101010101010101-- FASTPASS2=1010101010101010101010-- </Check> <Fetch Mail> # Where should I look for messages? # CASE SENSITIVE!!! # Options are: Inbox, Sent, Trash, Draft? or any of your YM folders BOX=Inbox # Messages will be saved (appended) in... # For procmail add procmail command line and set following PIPE to 1 # See FAQ... OUTFILE=/var/mail/dm # The next parameter determines whether your mail is written to # a file or redirected to another program such as "procmail" # Options: 0 (output to file) or 1 (out to pipe) # Leave 0 unless you know what you're doing PIPE=0 # Leave mail on server? - default is 1 (Yes) # If set to 0 fetched messages will be moved to # Trash folder on the server LEAVE=0 # Empty trash when logout? # 1 (Yes) / 0 (No!) TRASH=1 # LIMIT is a speed tuning option; See FAQ documentation for details # Default is 25; Set to 0 for no limit; 10-15 should be OK for daily use LIMIT=25 </Fetch> <Proxy Settings> # Set your proxy server address # PROXY=proxy.domain.com # Set your proxy port # PROXY_PORT=8080 </Proxy> <Other> # Select how much should Yo!Sucker show # Options: quiet = 0, normal = 1 DEBUG=1 # try not to split messages in half. QUOTEFROM=1 # Choose an action (i.e. a command to execute when new mail arrives # ON_NEWMAIL="command attributes" # This command will be executed when YoSucker finds no new incomming messages # ON_NO_MAIL="command attributes" </Other> <Lethal Options> # IMPORTANT!!!! Setting the following CLEAN option to "KillEmAll" # will move all your messages stored in selected BOX into trash, # WITHOUT actually fetching the messages!!! Repository will be # ignored. # # BE VERY CAREFULL WITH THIS FEATURE!!! # # Never set CLEAN=KillEmAll unless you know EXACTLY what you're # doing. I warned ya! # # THIS IS A SEEK&DESTROY ALGORITHM!!! # # Options: KillEmAll (erase all messages), # all the other values will be ignored. CLEAN=0 </Lethal>
Hi I was trying to mount an iso so I could extract the contents of it.
When doing the mount command I got the following error.

# mount -o loop,ro myiso.iso /iso
mount: Could not find any loop device, and, according to /proc/devices,
        this kernel does not know about the loop device.
        (If so, then recompile or `insmod loop.o'.)

I am using 2.6.1 that I compiled myself. Obviously I missed something
when I was configuring the kernel. Could someone please point me to
what I need to compile in. Thanks for your help.

--Chris Wallace

-- 
To UNSUBSCRIBE, email to debian-user-request@... 
with a subject of "unsubscribe". Trouble? Contact listmaster@...

Picon Picon
From: Chris Wallace <cobain@...>
Subject: Could not find any loop device
Date: 2004-01-22 12:02:49 GMT
Hi I was trying to mount an iso so I could extract the contents of it.
When doing the mount command I got the following error.

# mount -o loop,ro myiso.iso /iso
mount: Could not find any loop device, and, according to /proc/devices,
        this kernel does not know about the loop device.
        (If so, then recompile or `insmod loop.o'.)

I am using 2.6.1 that I compiled myself. Obviously I missed something
when I was configuring the kernel. Could someone please point me to
what I need to compile in. Thanks for your help.

--Chris Wallace

--

-- 
To UNSUBSCRIBE, email to debian-user-request@... 
with a subject of "unsubscribe". Trouble? Contact listmaster@...

David Morse | 22 Jan 19:16 2004
Picon

Re: messages chopped in half

Hm, looks like drag'n'dropping messages does not attach *all* headers.
Here goes again.
X-UIDL: d98c1dd404b2008f
X-Mozilla-Status: 0001
X-Mozilla-Status2: 02000000

Hi I was trying to mount an iso so I could extract the contents of it.
When doing the mount command I got the following error.

# mount -o loop,ro myiso.iso /iso
mount: Could not find any loop device, and, according to /proc/devices,
        this kernel does not know about the loop device.
        (If so, then recompile or `insmod loop.o'.)

I am using 2.6.1 that I compiled myself. Obviously I missed something
when I was configuring the kernel. Could someone please point me to
what I need to compile in. Thanks for your help.

--Chris Wallace

-- 
To UNSUBSCRIBE, email to debian-user-request@... 
with a subject of "unsubscribe". Trouble? Contact listmaster@...

X-UIDL: b9d498ecbbd59c24
X-Mozilla-Status: 0001
X-Mozilla-Status2: 02000000
X-Apparently-To: svref@... via 66.218.93.129; Thu, 22 Jan
2004 04:04:40 -0800
Return-Path: <bounce-debian-user=svref=yahoo.com@...>
Received: from 146.82.138.6  (EHLO murphy.debian.org) (146.82.138.6)
  by mta225.mail.scd.yahoo.com with SMTP; Thu, 22 Jan 2004 04:04:40 -0800
Received: from localhost (localhost [127.0.0.1])
	by murphy.debian.org (Postfix) with QMQP
	id E9E5EF0F4; Thu, 22 Jan 2004 06:03:43 -0600 (CST)
Old-Return-Path: <cobain@...>
X-Original-To: debian-user@...
Received: from lakemtao06.cox.net (lakemtao06.cox.net [68.1.17.115])
	by murphy.debian.org (Postfix) with ESMTP id 327B5EB62
	for <debian-user@...>; Thu, 22 Jan 2004 06:03:40 -0600 (CST)
Received: from klonopin ([68.13.235.5]) by lakemtao06.cox.net
          (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP
          id <20040122120339.RVEG24575.lakemtao06.cox.net@...>
          for <debian-user@...>;
          Thu, 22 Jan 2004 07:03:39 -0500
Date: Thu, 22 Jan 2004 06:02:49 -0600
To: debian-user@...
Subject: Could not find any loop device
From: "Chris Wallace" <cobain@...>
Content-Type: text/plain; format=flowed; charset=iso-8859-1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-ID: <opr16eezyuv49zp8@...>
User-Agent: Opera7.23/Linux M2 build 518
X-Spam-Checker-Version: SpamAssassin 2.60-lists.debian.org_2003_12_03 
	(1.212-2003-09-23-exp) on murphy.debian.org
X-Spam-Status: No, hits=-0.9 required=4.0 tests=LDOSUBSCRIBER,RCVD_IN_SORBS 
	autolearn=no version=2.60-lists.debian.org_2003_12_03
X-Spam-Level: 
Resent-Message-ID: <XeDMBD.A.KoH.fw7DAB@...>
Resent-From: debian-user@...
X-Mailing-List: <debian-user@...> archive/latest/324080
X-Loop: debian-user@...
List-Id: <debian-user.lists.debian.org>
List-Post: <mailto:debian-user@...>
List-Help: <mailto:debian-user-request@...?subject=help>
List-Subscribe: <mailto:debian-user-request@...?subject=subscribe>
List-Unsubscribe: <mailto:debian-user-request@...?subject=unsubscribe>
List-Archive: <http://lists.debian.org/debian-user/>
Precedence: list
Resent-Sender: debian-user-request@...
Resent-Date: Thu, 22 Jan 2004 06:03:43 -0600 (CST)
Content-Length: 695

Hi I was trying to mount an iso so I could extract the contents of it.
When doing the mount command I got the following error.

# mount -o loop,ro myiso.iso /iso
mount: Could not find any loop device, and, according to /proc/devices,
        this kernel does not know about the loop device.
        (If so, then recompile or `insmod loop.o'.)

I am using 2.6.1 that I compiled myself. Obviously I missed something
when I was configuring the kernel. Could someone please point me to
what I need to compile in. Thanks for your help.

--Chris Wallace

--

-- 
To UNSUBSCRIBE, email to debian-user-request@... 
with a subject of "unsubscribe". Trouble? Contact listmaster@...

David Morse | 23 Jan 23:56 2004
Picon

Re: messages chopped in half

would another example chopped message help?

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
David Aspinwall | 24 Jan 00:52 2004
Face
Picon

Re: messages chopped in half

>>"svref" == David Morse <svref@...> writes:

> My mail flow, if I remember it right:
> yahoo ---> Yosucker ---> localhost:/var/spool/mail/dm ---> pop3d -----> Mozilla

Is this really safe?

From a quick look at the YoSucker code, it seems like it is doing a
flock call on the mail spool file itself (/var/spool/mail/dm in this
case).  I think sendmail actually locks a file with a '.lock' at the
end.  At least that's what the 'movemail' command that comes with
emacs does.  Plus, some versions of sendmail don't use flock, and some
systems don't use sendmail, so getting this right doesn't seem that
easy.  If sendmail is trying to write the file while YoSucker is also
trying to write it, or your mail client or pop server is reading the
file while YoSucker is writing it, mail can get lost or truncated.

I don't tend to trust file locking with sendmail in any case.  What I
do is set PIPE=1 in the config file, and set OUTFILE to a script which
basically looks like:

#!/bin/sh
/usr/bin/spamc -f | /usr/sbin/sendmail -oi myname@...

The spamc is there because I'm using spamassassin; if you aren't, you
could get rid of all up to and including the '|'.

Of course, you should test the sendmail command by itself first to
make sure it works.

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

Gmane