diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2002-02-01 21:47:50 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2002-02-01 21:47:50 +0000 |
commit | 621035704f4e6b2cb607f0dca46312abe54b0c54 (patch) | |
tree | d621f9e5aba156ee381370c0df4cc7660a2d2e47 /driver.c | |
parent | 5ef9c343fc4b219f01498be7c88e1fdae67c35ee (diff) | |
download | fetchmail-621035704f4e6b2cb607f0dca46312abe54b0c54.tar.gz fetchmail-621035704f4e6b2cb607f0dca46312abe54b0c54.tar.bz2 fetchmail-621035704f4e6b2cb607f0dca46312abe54b0c54.zip |
Fixes by Matthias Andree.
svn path=/trunk/; revision=3571
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -632,8 +632,14 @@ static int fetch_messages(int mailserver_socket, struct query *ctl, * now. */ - /* tell the UID code we've seen this */ - if (ctl->newsaved) + /* + * Tell the UID code we've seen this. + * Matthias Andree: only register the UID if we could actually + * forward this mail. If we omit this !suppress_forward check, + * fetchmail will never retry mail that the local listener + * refused temporarily. + */ + if (ctl->newsaved && !suppress_delete) { struct idlist *sdp; |