Open Bug 527507 Opened 15 years ago Updated 11 years ago

Make it easy to run email_in in a standard Windows environment

Categories

(Bugzilla :: Incoming Email, enhancement, P2)

All
Windows Vista
enhancement

Tracking

()

People

(Reporter: dwierenga, Unassigned)

Details

Attachments

(1 file)

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
Severity: normal → enhancement
Priority: -- → P2
Status: UNCONFIRMED → NEW
Ever confirmed: true
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 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
Attachment #439102 - Flags: review+ → review?
Attachment #439102 - Attachment mime type: application/octet-stream → text/x-php
Attachment #439102 - Attachment mime type: text/x-php → text/plain
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
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?
(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 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.

Attachment

General

Creator:
Created:
Updated:
Size: