unknown
1970-01-01 00:00:00 UTC
--089e0160bed4608a560504bf30a5
Content-Type: text/plain; charset=UTF-8
hi
I am using getmail to poll a pop3 mailbox and getmail handovers mail to
maildrop
I am using the following lines in my /etc/maildroprc to
prevent duplicate mails from delivering to the users maildir
reformail -D 8192 duplicate.cache
if ( $RETURNCODE == 0 )
exit
it is working great as long as delivery to maildir is successful
but if delivery to maildir fails due to quota limit reached
then for first time the getmail polls for the message and handovers to
maildrop
maildrop returns proper error message saying that " maildrop: maildir
over quota"
but the duplicate.cache is updated with the message-id of the mail even if
the delivery failed
so next time getmail tries to delivery the same message maildrop returns 0
due to the entry in
duplicate.cache and getmail removes the message from server and the mail is
lost
is there anyway to update duplicate.cache only on successful delivery to
the maildir
Thanks and Regards
Kamal
--089e0160bed4608a560504bf30a5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>hi<br><br></div><div>I am using getmail to poll a pop3 mailbox and getmail handovers mail to maildrop<br><br></div><div><br></div>I am using the following lines in my /etc/maildroprc to <br></div>prevent duplicate mails from delivering to the users maildir<br><br></div>reformail -D 8192 duplicate.cache<br></div>if ( $RETURNCODE == 0 )<br></div>exit<br><br><br></div>it is working great as long as delivery to maildir is successful<br><br></div>but if delivery to maildir fails due to quota limit reached<br><br></div>then for first time the getmail polls for the message and handovers to maildrop<br></div> maildrop returns proper error message saying that " maildrop: maildir over quota"<br></div>but the duplicate.cache is updated with the message-id of the mail even if the delivery failed<br><br><br>so next time getmail tries to delivery the same message maildrop returns 0 due to the entry in<br>duplicate.cache and getmail removes the message from server and the mail is lost<br><br><br></div>is there anyway to update duplicate.cache only on successful delivery to the maildir<br><br><br></div>Thanks and Regards<br></div>Kamal<br><br></div>
--089e0160bed4608a560504bf30a5--
Content-Type: text/plain; charset=UTF-8
hi
I am using getmail to poll a pop3 mailbox and getmail handovers mail to
maildrop
I am using the following lines in my /etc/maildroprc to
prevent duplicate mails from delivering to the users maildir
reformail -D 8192 duplicate.cache
if ( $RETURNCODE == 0 )
exit
it is working great as long as delivery to maildir is successful
but if delivery to maildir fails due to quota limit reached
then for first time the getmail polls for the message and handovers to
maildrop
maildrop returns proper error message saying that " maildrop: maildir
over quota"
but the duplicate.cache is updated with the message-id of the mail even if
the delivery failed
so next time getmail tries to delivery the same message maildrop returns 0
due to the entry in
duplicate.cache and getmail removes the message from server and the mail is
lost
is there anyway to update duplicate.cache only on successful delivery to
the maildir
Thanks and Regards
Kamal
--089e0160bed4608a560504bf30a5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>hi<br><br></div><div>I am using getmail to poll a pop3 mailbox and getmail handovers mail to maildrop<br><br></div><div><br></div>I am using the following lines in my /etc/maildroprc to <br></div>prevent duplicate mails from delivering to the users maildir<br><br></div>reformail -D 8192 duplicate.cache<br></div>if ( $RETURNCODE == 0 )<br></div>exit<br><br><br></div>it is working great as long as delivery to maildir is successful<br><br></div>but if delivery to maildir fails due to quota limit reached<br><br></div>then for first time the getmail polls for the message and handovers to maildrop<br></div> maildrop returns proper error message saying that " maildrop: maildir over quota"<br></div>but the duplicate.cache is updated with the message-id of the mail even if the delivery failed<br><br><br>so next time getmail tries to delivery the same message maildrop returns 0 due to the entry in<br>duplicate.cache and getmail removes the message from server and the mail is lost<br><br><br></div>is there anyway to update duplicate.cache only on successful delivery to the maildir<br><br><br></div>Thanks and Regards<br></div>Kamal<br><br></div>
--089e0160bed4608a560504bf30a5--