Replying to bugzilla-daemon messages - Mozilla
This is a discussion on Replying to bugzilla-daemon messages - Mozilla ; Hi,
I have used copies of bugzilla that allows me to reply to bug emails from
bugzilla-daemon which are automatically inserted as comments into the bug.
I have recently installed my own copy of bugzilla (2.22.2) onto a Fedora Core ...
-
Replying to bugzilla-daemon messages
Hi,
I have used copies of bugzilla that allows me to reply to bug emails from
bugzilla-daemon which are automatically inserted as comments into the bug.
I have recently installed my own copy of bugzilla (2.22.2) onto a Fedora Core 3
machine. It is sending emails out when bugs are submitted/changed, but is not
picking up the replies.
I have searched the documentation/FAQ/newgroups etc but can't find any clues as
to what I am missing in the setup. Could anybody suggest what I am missing?
If it is relevant, I am using qmail as my MTA.
Thanks for your help,
--
Derek
-
Re: Replying to bugzilla-daemon messages
Derek wrote:
> Hi,
>
> I have used copies of bugzilla that allows me to reply to bug emails from
> bugzilla-daemon which are automatically inserted as comments into the bug.
>
> I have recently installed my own copy of bugzilla (2.22.2) onto a Fedora Core 3
> machine. It is sending emails out when bugs are submitted/changed, but is not
> picking up the replies.
>
You have used customized versions of bugzilla using old unsupported
interfaces. AFIAK, 2.22 has no officially recognized method of doing
this. There are some security issues that need to be tackled before this
ever happens (from addresses can be forged, email is not secure in
general, so you can't use your password or anything).
If you want to do it in 3.0 (well, 2.23.4+) you can do something like
this (this is not the official way mkanat is working on):
1. create a pop account that bugzilla uses as it's from address (so you
can read the replies).
2. create the following perl script and set it up to run every few
seconds (change it for yourself)
--
#!/usr/bin/perl
BEGIN {
chdir '/var/www/html/bugzilla';
}
use Net::POP3;
my $pop, $messages;
$pop = Net::POP3->new('mailserver.ext', Timeout => 60,Debug => 1);
$messages = $pop->login('bugzilla','bugpass');
if(defined($messages)) {
for(1..$messages) {
open(BZEMAILIN, "| ./email_in.pl -vvv");
$pop->get($_,);
close(BZEMAILIN);
$pop->delete($_);
}
}
$pop->quit();
--
Additionally you may want to do some stuff with the messages before you
send them to bugzilla (the $pop->get... line).
-
Re: Replying to bugzilla-daemon messages
Bill Barry wrote:
> Derek wrote:
>> Hi,
>>
>> I have used copies of bugzilla that allows me to reply to bug emails
>> from bugzilla-daemon which are automatically inserted as comments into
>> the bug.
>>
>> I have recently installed my own copy of bugzilla (2.22.2) onto a
>> Fedora Core 3 machine. It is sending emails out when bugs are
>> submitted/changed, but is not picking up the replies.
>>
> You have used customized versions of bugzilla using old unsupported
> interfaces. AFIAK, 2.22 has no officially recognized method of doing
> this. There are some security issues that need to be tackled before this
> ever happens (from addresses can be forged, email is not secure in
> general, so you can't use your password or anything).
>
> If you want to do it in 3.0 (well, 2.23.4+) you can do something like
> this (this is not the official way mkanat is working on):
> 1. create a pop account that bugzilla uses as it's from address (so you
> can read the replies).
> 2. create the following perl script and set it up to run every few
> seconds (change it for yourself)
> --
> #!/usr/bin/perl
>
> BEGIN {
> chdir '/var/www/html/bugzilla';
> }
>
> use Net::POP3;
>
> my $pop, $messages;
> $pop = Net::POP3->new('mailserver.ext', Timeout => 60,Debug => 1);
> $messages = $pop->login('bugzilla','bugpass');
>
> if(defined($messages)) {
> for(1..$messages) {
> open(BZEMAILIN, "| ./email_in.pl -vvv");
> $pop->get($_,);
> close(BZEMAILIN);
> $pop->delete($_);
> }
> }
>
> $pop->quit();
>
> --
> Additionally you may want to do some stuff with the messages before you
> send them to bugzilla (the $pop->get... line).
Bill,
Thanks for the information. It's a shame that I can't do it, but I can live with it.
--
Derek