If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Make it easy to run email_in in a standard Windows environment

NEW
Unassigned

Status

()

Bugzilla
Incoming Email
P2
enhancement
8 years ago
4 years ago

People

(Reporter: Dan Wierenga, Unassigned)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
User-Agent:       Opera/9.80 (Windows NT 6.0; U; en) Presto/2.2.15 Version/10.01
Build Identifier: 3.4.3

Email_in.pl expects the user to be able to use an MTA to pipe mail to the script via STDIN.  

While this is fine for unix-ish environments where tools like procmail etc. are commonplace, it's more than a bit unwieldy for a Windows environment where things like mboxes and procmail aren't typical.

Ideally email_in.pl should be able to poll a POP/IMAP server for its own mail and process Bugzilla requests from there.

Reproducible: Always

Updated

8 years ago
Severity: normal → enhancement
Priority: -- → P2

Updated

8 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 1

8 years ago
Created attachment 439102 [details]
PHP script suitable for contrib which can be adapted to fix this bug

Updated

8 years ago
Attachment #439102 - Attachment description: IMAP script suitable for contrib which can be adapted to fix this bug → PHP script suitable for contrib which can be adapted to fix this bug
Attachment #439102 - Flags: review+

Comment 2

8 years ago
Comment on attachment 439102 [details]
PHP script suitable for contrib which can be adapted to fix this bug

Should be run as a scheduled task. Connects to imap server then pipes the emails to email_in.pl

Updated

8 years ago
Attachment #439102 - Flags: review+ → review?

Updated

8 years ago
Attachment #439102 - Attachment mime type: application/octet-stream → text/x-php

Updated

8 years ago
Attachment #439102 - Attachment mime type: text/x-php → text/plain

Comment 3

8 years ago
Comment on attachment 439102 [details]
PHP script suitable for contrib which can be adapted to fix this bug

Hey Greg. You'll probably want to ask somebody specific for review. Details of the whole development process for Bugzilla are here:

  http://wiki.mozilla.org/Bugzilla:Developers

Comment 4

6 years ago
Honestly, we generally tend to drop scripts which are not Perl (several scripts have been removed from the bzr repo recently), and so I don't think a PHP script is appropriate here, even in contrib/.
Seconding comment 4.

The script is easily ported to Perl, though. Would it be a contrib/ candidate then?

Comment 6

6 years ago
(In reply to Marc Schumann [:Wurblzap] from comment #5)
> The script is easily ported to Perl, though. Would it be a contrib/
> candidate then?

  Sure. Sounds reasonable.

Comment 7

6 years ago
Comment on attachment 439102 [details]
PHP script suitable for contrib which can be adapted to fix this bug

As said in comment 4, Bugzilla is a Perl thing, and so we won't take this PHP script as is. But someone can port it to Perl and put it in contrib/.
Attachment #439102 - Flags: review? → review-
You need to log in before you can comment on or make changes to this bug.