Bug 672452 - fetchmail Should Not Set Default MDA Fallback
Summary: fetchmail Should Not Set Default MDA Fallback
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fetchmail
Version: 14
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-25 06:29 UTC by Bill Adams
Modified: 2011-02-18 01:49 UTC (History)
2 users (show)

Fixed In Version: fetchmail-6.3.17-2.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-18 01:49:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bill Adams 2011-01-25 06:29:25 UTC
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.

Comment 1 Vitezslav Crhonek 2011-01-26 14:53:44 UTC
(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?

Comment 2 Bill Adams 2011-01-26 15:58:31 UTC
(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!

Comment 3 Patrice Dumas 2011-02-09 13:30:07 UTC
What provides server(smtp) these days?

Comment 4 Fedora Update System 2011-02-09 13:43:30 UTC
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

Comment 5 Vitezslav Crhonek 2011-02-09 13:50:19 UTC
(In reply to comment #3)
> What provides server(smtp) these days?

postfix, sendmail, exim

Comment 6 Patrice Dumas 2011-02-09 14:29:33 UTC
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.

Comment 7 Fedora Update System 2011-02-09 20:18:51 UTC
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

Comment 8 Fedora Update System 2011-02-18 01:49:52 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.