I think you may do it, but you must modify your pop3 server.
It should memorize the downloaded messages numbers and then execute the
opportune "dele #" at the end of session (or immediately after RETR
command, when a new command is given and it may be sure that previous RETR
has completed).
Or...
If I'm not wrong, all read messages are moved to ../Maildir/cur, so you
could delete all messages in those ../Maildir/cur directories.
Tonino
At 22/05/2001 22/05/2001 +0200, Andrea Cerrito wrote:
>Mmmmhhh, I don't think it's possible.
>Anyway, you can set a crontab to delete old messages (ie: 30 days old) or
>you can set quota.
>
>It's not advisable to make the delete mandatory because:
>
>1) user may want to look his/her messages from a location, and to download
>them from another one,
>2) the data transfer may fail for some reason (and you force deletion of a
>message unread by user)
>
>Good work
>
>---
>Cordiali saluti / Best regards
>Andrea Cerrito
>^^^^^^^^^^^^^^
>Net.Admin @ Centro MultiMediale di Terni S.p.A.
>P.zzale Bosco 3A
>05100 Terni IT
>Tel. +39 744 5441330
>Fax. +39 744 5441372
>-----Messaggio originale-----
>Da: medi [mailto:medi]Per conto di Medi Montaseri
>Inviato: luned� 21 maggio 2001 21.11
>A: Andrea Cerrito
>Cc: [EMAIL PROTECTED]
>Oggetto: Re: R: leave a copy of messages on server
>
>I have the opposit question, is it possible to mandate delete?
>That is, can I mandate the all messages be downloaded from a POP server?
>
>Andrea Cerrito wrote:
>>Mmmmhhhh... strange.
>>
>>A normal pop3 session is like
>>
>>...
>>stat
>>retr #num
>>dele #num
>>
>>and if you set "leave a copy..." the dele action is never done.
>>Try to telnet to your box and act as a mail client: you'll be able to know
>>if it's a problem with qmail (I don't think so, anyway) or with your client.
>>
>>I mean
>>
>>+OK <[EMAIL PROTECTED]>
>>user $YOURUSER
>>+OK
>>pass $YOURPASS
>>+OK
>>stat
>>+OK 1 1228
>>retr 1
>>bla bla bla bla bla
>>quit
>>+OK
>>
>>then reconnect and see if the message is still alive.
>>Good luck
>>---
>>Cordiali saluti / Best regards
>>Andrea Cerrito
>>^^^^^^^^^^^^^^
>>Net.Admin @ Centro MultiMediale di Terni S.p.A.
>>P.zzale Bosco 3A
>>05100 Terni IT
>>Tel. +39 744 5441330
>>Fax. +39 744 5441372
>>
>> > -----Messaggio originale-----
>> > Da: Roberto Marzialetti
>> [<mailto:[EMAIL PROTECTED]>mailto:[EMAIL PROTECTED]]
>> > Inviato: luned� 21 maggio 2001 18.39
>> > A: Qmail List
>> > Oggetto: leave a copy of messages on server
>> >
>> >
>> > Hi boys
>> >
>> > have got a problem...
>> > well... if i active the option "leave a copy
>> > of messages on server " on my email client, the messages
>> > doesn't leave on my server :o((
>> >
>> > have you got some solution ?
>> >
>> > many thanks
>> >
>> > Roberto
>> >
>> >
>
>--
>
>=======================================================================
>
>Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
>
>Prepass Inc, IT/Operations, Software Eng.
>
>=======================================================================
>