Nuno Teixeira | 5 Feb 2003 22:22

keep messages on server doesn't work?


    Hello to all,

    I'm making some tests on keep mail on server to see how popa3d reacts 
    between new and old messages.

    I use fetchmail to this tests with keep option and when it fetches mail 
    it says "not flushed" but every time that I restart fetchmail, it 
    fetch all the mail again. I assume that it is suposed to only 
    fetch new messages and keep old messages on server.

    Bye,

    		Nuno Teixeira

    

--

-- 

/*
PGP fingerprint:
C6D1 06ED EB54 A99C 6B14  6732 0A5D 810D 727D F6C6
*/

Jakob Hirsch | 5 Feb 2003 22:33
Picon
Gravatar

Re: keep messages on server doesn't work?

Nuno Teixeira wrote:

> I use fetchmail to this tests with keep option and when it
> fetches mail it says "not flushed" but every time that I restart
> fetchmail, it fetch all the mail again. I assume that it is

That's a fetchmail thing and has very little to do with popa3d.
fetchmail uses by default the deprecated LAST command, which is not
supported by popa3d. To make fetchmail only get new mail, add the UIDL
option to your fetchmailrc.

Nuno Teixeira | 5 Feb 2003 23:07

Re: keep messages on server doesn't work?


    Hi,

    Thanks very much for your quick help. I've added UIDL feature to 
    fetchmail and it works fine.

    I'll make some tests with Outlook Express to see if it supports this 
    feature too, and if it will, I'll use popa3d on my server to substitute 
    qpopper.

    I'm reading rfc1939 to understand better this feature.

    Thanks again,

    		Nuno Teixeira

On Wed, Feb 05, 2003 at 10:33:35PM +0100, Jakob Hirsch wrote:
> Nuno Teixeira wrote:
> 
> > I use fetchmail to this tests with keep option and when it
> > fetches mail it says "not flushed" but every time that I restart
> > fetchmail, it fetch all the mail again. I assume that it is
> 
> That's a fetchmail thing and has very little to do with popa3d.
> fetchmail uses by default the deprecated LAST command, which is not
> supported by popa3d. To make fetchmail only get new mail, add the UIDL
> option to your fetchmailrc.
> 

--

-- 
(Continue reading)

Nuno Teixeira | 5 Feb 2003 23:18

Re: keep messages on server doesn't work?

On Wed, Feb 05, 2003 at 10:33:35PM +0100, Jakob Hirsch wrote:
> Nuno Teixeira wrote:
> 
> > I use fetchmail to this tests with keep option and when it
> > fetches mail it says "not flushed" but every time that I restart
> > fetchmail, it fetch all the mail again. I assume that it is
> 
> That's a fetchmail thing and has very little to do with popa3d.
> fetchmail uses by default the deprecated LAST command, which is not
> supported by popa3d. To make fetchmail only get new mail, add the UIDL
> option to your fetchmailrc.
>

     " Under  POP3, blame RFC1725.  That version of the POP3 protocol specifi-
       cation removed the LAST command, and some POP servers  follow  it  (you
       can verify this by invoking fetchmail -v to the mailserver and watching
       the response to LAST early in the query).  The fetchmail code tries  to
       compensate by using POP3's UID feature, storing the identifiers of mes-
       sages seen in each session until the next  session,  in  the  .fetchids
       file.  But this doesn't track messages seen with other clients, or read
       directly with a mailer on the host but not deleted afterward.  A better
       solution would be to switch to IMAP. "

    

    What shoul I do:

    	- Use UIDL
    	- Switch to IMAP (please no!)

(Continue reading)

Georg Horn | 10 Feb 2003 17:19
Picon

New to popa3d, SMTP-after-POP-patch

Hi,

i'm new to the popa3d dawemon an this list. I just switched from
Qualcoms qpopper to popa3d and want to thank you for this nice peace
of software.

I have added my SMTP-after-POP solution for sendmail, that i used with qpopper
for years, to popa3d, perhaps this is useful for someone... It can be
downloaded from http://www.koblenz-net.de/~horn/smtp_after_pop/

This solution follows a slightly modified approach than others. The pop3 daemon
directly inserts the IP-address of the client into sendmails access.db
database. So you need no sendmail hack or syslog parsers, but, you need a small
program that removes addresses again from access.db. You can find all this at
the address given above.

Comments are welcome,
Georg

solar | 10 Feb 2003 22:37
Favicon

Re: keep messages on server doesn't work?

Hi,

Please excuse the lack of participation in this discussion on my part.
I am travelling, currently in Brussels where I spoke at FOSDEM
(www.fosdem.org) and I don't always have Internet access during this
trip.

On Wed, Feb 05, 2003 at 10:18:29PM +0000, Nuno Teixeira wrote:
> On Wed, Feb 05, 2003 at 10:33:35PM +0100, Jakob Hirsch wrote:
> > Nuno Teixeira wrote:
> > 
> > > I use fetchmail to this tests with keep option and when it
> > > fetches mail it says "not flushed" but every time that I restart
> > > fetchmail, it fetch all the mail again. I assume that it is
> > 
> > That's a fetchmail thing and has very little to do with popa3d.
> > fetchmail uses by default the deprecated LAST command, which is not
> > supported by popa3d.

Jakob, -- thanks a lot for your response on this.

I'll add some more detail:

popa3d does have some very limited optional fake support for LAST,
just to not confuse the very few ancient clients which depend on it.
This is a compile-time setting in params.h which you may disable.

> > To make fetchmail only get new mail, add the UIDL
> > option to your fetchmailrc.
>     
(Continue reading)

Solar Designer | 18 Feb 2003 02:47
Favicon

Re: New to popa3d, SMTP-after-POP-patch

On Mon, Feb 10, 2003 at 05:19:40PM +0100, Georg Horn wrote:

Hi,

> i'm new to the popa3d dawemon an this list. I just switched from
> Qualcoms qpopper to popa3d and want to thank you for this nice peace
> of software.

You're welcome.

> I have added my SMTP-after-POP solution for sendmail, that i used with qpopper
> for years, to popa3d, perhaps this is useful for someone... It can be
> downloaded from http://www.koblenz-net.de/~horn/smtp_after_pop/
> 
> This solution follows a slightly modified approach than others. The pop3 daemon
> directly inserts the IP-address of the client into sendmails access.db
> database. So you need no sendmail hack or syslog parsers, but, you need a small
> program that removes addresses again from access.db. You can find all this at
> the address given above.

Thank you for sharing this with me and others.

I think I'll add this to the contributed patches list (even though it
will be the third alternative popa3d patch to do POP-before-SMTP), but
you may want to correct a few things first:

1. The patch file name.  I generally prefer them to include a patch
version number such that people may see when a patch is updated.
Something like popa3d-0.5.1-smtp_after_pop-1.diff would be better
(I've added the "-1").
(Continue reading)

Imagenet - Daniel C. Brilho | 18 Feb 2003 13:52
Picon

Problem when retreiving messages with no body

Hi,

    I have some difficult to write in English. Sorry...

    I have recently installed popa3d on my Slackware server, serving to
approximate 1000 users. In same way that another user related, I can't
retrieve messages with no BODY, like the example above:

.end of previous message .

From expostar@...  Mon Feb 17 15:18:35 2003

Return-Path: <expostar@...>

Received: from miro.imagenet.com.br (IDENT:0 <at> miro.imagenet.com.br
[200.231.26.4]

)

        by dali.imagenet.com.br (8.12.7/8.12.7) with ESMTP id h1HIIZfi003506

        for <imagenet@...>; Mon, 17 Feb 2003 15:18:35 -0300

Received: from terra.com.br (200-207-152-189.terra.com.br [200.207.152.189]
(may

 be forged))

        by miro.imagenet.com.br (8.12.4/8.12.4) with SMTP id h1HHxU5Z026638

(Continue reading)

Georg Horn | 18 Feb 2003 21:22
Picon

Re: New to popa3d, SMTP-after-POP-patch

On Tue, Feb 18, 2003 at 04:47:08AM +0300, Solar Designer wrote:
> On Mon, Feb 10, 2003 at 05:19:40PM +0100, Georg Horn wrote:
> 
> > I have added my SMTP-after-POP solution for sendmail, that i used with
> > qpopper for years, to popa3d, perhaps this is useful for someone... It can
> > be downloaded from http://www.koblenz-net.de/~horn/smtp_after_pop/
> > [...]

> I think I'll add this to the contributed patches list (even though it
> will be the third alternative popa3d patch to do POP-before-SMTP),

Well, but it's the most elegant one (that is i think so ;-)), as it works
without installing additional software or hacking the sendmail configuration.
At least if the access.db-Feature is already installed...
And it works with the current version of popa3d.

> 1. The patch file name.  I generally prefer them to include a patch
> version number such that people may see when a patch is updated.
> Something like popa3d-0.5.1-smtp_after_pop-1.diff would be better

Ok, i uploaded the new patch that also contains your other suggestions
to the address above.

> 2. You're changing some settings in params.h not related to the added
> functionality.  I don't think these should be in the same patch file.
> I think that only your setting of POP_STANDALONE is relevant (because
> you don't implement support for non-standalone).
> 
> 3. You've added the #define SMTP_AFTER_POP below the settings which
> aren't normally edited by someone not hacking on popa3d.  I suggest
(Continue reading)

Solar Designer | 19 Feb 2003 01:29
Favicon

Re: Problem when retreiving messages with no body

On Tue, Feb 18, 2003 at 09:52:09AM -0300, Imagenet - Daniel C. Brilho wrote:

Hi,

>     I have recently installed popa3d on my Slackware server, serving to

Did you build it from the original source tarball or is this the
Slackware package?

> approximate 1000 users. In same way that another user related, I can't
> retrieve messages with no BODY, like the example above:

>             This problem occurs while retrieving messages in O.E.,

There's a known bug in OE which causes this, popa3d 0.5.9 includes a
workaround so I suggest that you try that version.

> but I have tested-it doing a telnet direct to the port 110 of my server
> and the same problem happens.

Now this is weird.

> telnet mail.imagenet.com.br 110
> 
> 
> 
> +OK
> 
> user teste
> 
(Continue reading)


Gmane