Closed Bug 37765 Opened 24 years ago Closed 10 years ago

In processmail, /usr/lib/sendmail -ODeliveryMode=deferred -t checks exim

Categories

(Bugzilla :: Email Notifications, defect, P2)

2.13
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: seth, Unassigned)

References

Details

(Whiteboard: MTAConfig)

We use exim as our MTA, not sendmail.  It appears as though this change killed
bugzilla's email reporting for us.  I think that mail processing should be done
in an MTA agnostic manner, which this is not.

I'll try to whip up a patch in my copious free time.  A confirmation of this
problem would be most welcome ...
*** Bug 38341 has been marked as a duplicate of this bug. ***
Problem confirmed, and definitely not just limited to processmail (it causes
some problems with some sendmail configurations, too).  Have you
made any progress making bugzilla MTA-agnostic?  If not, I'd be willing to take
this.  It shouldn't be too hard (define a param for sendmail, another param
for flags for sendmail).  I have another bug filed (bug #38341) -- marking it as
duplicate of this bug.  Not sure if I want to spend a vote on it, though...
Erm, oops, should have read my comment before clicking that commit button.  I
meant:
s/limited to processmail/limited to exim/
Whiteboard: 2.14
Whiteboard: 2.14 → 2.16
moving to real milestones...
Target Milestone: --- → Bugzilla 2.16
A laest for exim it should be possible to use old switch that compatible with
sendmail.
-ODeliveryMode=background --> -odb
-ODeliveryMode=interactive --> -odi
there is no compatible commande for the deferred mode but there is one for the
queued mode.
-ODeliveryMode=queued --> -odq
Currently you can turn on the 'sendmailnow' parameter to workaround this.  While
as reported this seems to be a duplicate of bug #50159, this bug seems to have a
suggestion for a better fix so I'll leave this open.
Whiteboard: 2.16 → MTAConfig
*** Bug 41007 has been marked as a duplicate of this bug. ***
Depends on: 84876
No longer depends on: 84876
Blocks: 84876
Priority: P3 → P2
Mass moving to new product Bugzilla...
Assignee: tara → jake
Component: Bugzilla → Email
Product: Webtools → Bugzilla
Version: other → 2.13
We are currently trying to wrap up Bugzilla 2.16.  We are now close enough to
release time that anything that wasn't already ranked at P1 isn't going to make
the cut.  Thus this is being retargetted at 2.18.  If you strongly disagree with
this retargetting, please comment, however, be aware that we only have about 2
weeks left to review and test anything at this point, and we intend to devote
this time to the remaining bugs that were designated as release blockers.
Target Milestone: Bugzilla 2.16 → Bugzilla 2.18
Changing default owner of Email Notifications component to JayPee, a.k.a.
J. Paul Reed (preed@sigkill.com).  Jake will be offline for a few months.
Assignee: jake → preed
No longer blocks: 84876
Depends on: 84876
Resolving all bugs complaining about sendmail-specific/hard-coded MTA problems
as dupes of bug 84876.

Fixing these issues is inclusive in the fix for that bug, now.

Cc yourself to that bug if you care to watch the madness.

*** This bug has been marked as a duplicate of 84876 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
clearing milestone on all DUPLICATE/WONTFIX/WORKSFORME/INVALID so they'll show
up as untriaged if they get reopened.  "Jiminy Cricket!" for the filters (and I
don't care if it's spelled wrong ;)
Target Milestone: Bugzilla 2.18 → ---
No longer depends on: 84876
This definitely now still needs to be resolved.
Status: RESOLVED → REOPENED
OS: Linux → All
Hardware: PC → All
Resolution: DUPLICATE → ---
Kick all my Bugzilla bugs back to the component default owner.
Assignee: preed → email-notifications
Status: REOPENED → NEW
QA Contact: mattyt-bugzilla → default-qa
Why not simply moving out the whole stuff to some external command ?
A simple shell script (or whatever the user likes) can do the job. All MTA related things are handled here.

For simplicity this command is fed in the same way as "sendmail -t":
First come the header fields (including "Subject:", "From:", "To:", "Cc:" ...), then an single newline and then the content. In other words: just like an rfc822 mail, but w/o the "From " header line.

Then bugzilla has an config option to specify this command an supplies an simple script adopted to sendmail (or even several scripts for the most important MTAs) and this script used as default config value. The admin can set it to his own script if needed. This way there's no need to change the actual code, which would cause problems on updates.

Like comment #16, the sendmail option "-bm" could be used but you have to specify the recipients on the command line to make exim happy.
We no longer pass -ODeliveryMode=deferred to sendmail since Bugzilla 4.0, see bug 561362.
Status: NEW → RESOLVED
Closed: 22 years ago10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.