Pre-requistes:
1) configure a mail box in linux to receive email for a particular id which opens bug against bugzillaProcedure:
1) install procmail and MTA of your choice(sendmail (or) Postfix)
|
useradd -m -G www-data bug-mail$cat /home/bug-mail/.procmailLOGFILE=/home/bug-mail/procmail.log:0:* ^To:.*bug-mail@yourdomain.com|/path/to/bugzilla/email_in.pl -vvv4)steps to create a new bugThe script expects to read an email with the following format:
@product ProductName
@component ComponentName
@version 1.0
Note: All the necessary fields which are mandatory in bugzilla should be included in this mail
format
for. eg. @op_sys, @platform , @summary etc..
This is a bug description. It will be entered into the bug exactly as written here.
It can be multiple paragraphs.
-- This is a signature line, and will be removed automatically,
It will not be included in the bug description.
Send mail and the bug will be created in bugzilla.
No comments:
Post a Comment