Good explanation here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133340 My issue is related: I have postfix running on a local server. If postfix is not running for some reason, then fetchmail will deliver the messages to the local user's mailbox rather than through postfix which handles virtual mailboxes and mail directories. I would rather have fetchmail fail and leave the mail on the remote server until the local smtp server is available again. A work-around is to set the mda to something like: mda "/usr/sbin/sendmail.postfix -i -f %F -- %T" which will queue it on the local system even if postfix is not running and correctly deliver it once postfix has been re-enabled. Perhaps a better fix would be to push upstream a way to disable or configure the fallback mail handler.
(In reply to comment #0) > > Perhaps a better fix would be to push upstream a way to disable or configure > the fallback mail handler. There's a way to disable the fallback. It can be disabled during compile-time and as I see now, it's probably a good idea to do it again in Fedora (it was enabled because of having lighter requirements for fetchmail - see bz66396). It will solve you issue - the mail will stay on the remote server. Also the fallback functionality will still be available with "mda" option for people who are using it (to be more precise, 'mda "/usr/bin/procmail -d %T"' will behave identically as current fallback). So, I propose to disable mda fallback during compile-time and change requires to "server(smtp)". Patrice, do you have anything to add?
(In reply to comment #1) > (In reply to comment #0) > > > > Perhaps a better fix would be to push upstream a way to disable or configure > > the fallback mail handler. > > There's a way to disable the fallback. It can be disabled during compile-time I apologize for not being clear: I meant adding a run-time option to disable the compile-time option. However, having it disabled at compile time works just fine for me. Thanks!
What provides server(smtp) these days?
fetchmail-6.3.17-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/fetchmail-6.3.17-2.fc14
(In reply to comment #3) > What provides server(smtp) these days? postfix, sendmail, exim
Having such dependencies seems to much to me. Also it is not guaranteed that the server is up and running. Maybe another possibility would simply be to remove both the fallback and the dependency on server(smtp). If a user wants to use a mda, he can set it in the config file (if I understand well). If no server listens on port 25, and there is no mda, then mail is kept on the server.
fetchmail-6.3.17-2.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update fetchmail'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/fetchmail-6.3.17-2.fc14
fetchmail-6.3.17-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.