Closed Bug 232157 Opened 21 years ago Closed 19 years ago

Bugzilla should ThrowCodeError if there's no /usr/lib/sendmail

Categories

(Bugzilla :: Email Notifications, defect)

2.17.6
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mkanat, Unassigned)

References

Details

On my local system (running Fedora Core 1), I have no /usr/lib/sendmail, only /usr/sbin/sendmail. (This is probably related to the fact that I removed sendmail and now use postfix.) In this situation, on today's cvs-tip, createaccount.cgi fails to throw any warning to the user that their account-creation email wasn't sent, though it notes a failure in the apache error log. It should probably ThrowCodeError either from BugMail.pm or from createaccount.cgi. -M
the checkin on bug 59351 causes this to 'die' instead of going silently... but that's not exactly friendly to the user. We should ThrowCodeError instead.
Status: UNCONFIRMED → NEW
Depends on: 59351
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Assignee: myk → email-notifications
Severity: normal → minor
Component: User Accounts → Email Notifications
QA Contact: mattyt-bugzilla → default-qa
Summary: createaccount.cgi should throw an error if there's no /usr/lib/sendmail → Bugzilla should ThrowCodeError if there's no /usr/lib/sendmail
Target Milestone: --- → Bugzilla 2.20
the 'die' part of MessageToMTA has been removed by bug 277437. I don't think we need ThrowCodeError here anymore.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Target Milestone: Bugzilla 2.20 → ---
You need to log in before you can comment on or make changes to this bug.