fetchmail failed to deliver emails to my localhost mail box, and still it went back and told the IMAP mail server to purge the email. I lost a days worth of emails this way until I figurred out what was going on. The reason for the failure was that sendmail obviously runs under a tcp wrapper. My hosts.deny says ALL: ALL (yes, I AM paranoid). I had to put a "sendmail: 127.0.0.1" in my /etc/hosts.allow. In a way it was good when inetd.conf listed the services that was tcp wrapped. Where can I find a list of commands that are tcp wrapped?
I'm sorry about the late response. This is a result of your configuration: sendmail is rejecting the messages with a "permanent" error, so fetchmail decides not to keep the messages in the mailbox. Please see bug 36640 comment 5 for the detailed explanation *** This bug has been marked as a duplicate of 36640 ***