Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

email_in.pl problem: error sending mail

42 views
Skip to first unread message

Eivind Kjorstad

unread,
Jun 11, 2008, 8:12:57 AM6/11/08
to
Hi !

I've run into a bit of a problem with setting up email_in.pl to add bugs
by email.

I'm running 3.0.2 on Fedora, if it matters.

The problem is, when I test it from the command-line by doing:

./email_in.pl -vvv < bug.txt

(where bug.txt is a bugmail formatted acording to the instructions in
email_in.html in docs) I get the following output:

-------
Parsing Email
Splitting Body and Attachments [Type: text/plain]...
Posting a new bug...
There was an error sending mail from '@hostname.of.bugzilla'
to 'eiv...@inbusiness.no':Can't call method "address" on an
undefined value at /usr/lib/perl5/vendor_perl/5.8.8/Email/Send/SMTP.pm
line 24, <STDIN> line 12.
---------

Adding more v-s to the arguments show me that the email-message and all
parameters are parsed and recognized corretly. (and my email-address IS
a valid bugzilla-user)

What I don't get is why it's trying to send email FROM
'@hostname.of.bugzilla' -- I have set the configuration of Bugzilla, and
this is not the email-adress appearing there. (that'd be
'bu...@other.domain')

No bug is posted. (despite the "Posting a new bug..." line)

Bugzilla over the web works as it should -- including sending of emails
(with the correct sender-adress)

Eivind Kjørstad

Eivind Kjorstad

unread,
Jun 11, 2008, 8:28:31 AM6/11/08
to
Eivind Kjorstad skreiv:

> I've run into a bit of a problem with setting up email_in.pl to add bugs
> by email.

Silly to respond to myself, but I see several other people having
similar problems, and the documentation is not correct, so for the
benefit of others suffering similar problems, the issue is correctly
described, including howto fix the problem here:

https://bugzilla.mozilla.org/show_bug.cgi?id=383850

(short version: op_sys, version and rep_platform are compulsory fields
in the email UNLESS they've got default-values from the configuration,
despite the documentation not listing these among the required fields)


Eivind Kjørstad

Urvashi Pocra

unread,
Sep 23, 2022, 3:45:54 AM9/23/22
to
HI we are trying to configure this feature in bugzilla, can you share how to configure bugzilla to accept incoming mail and to convert it in bug
0 new messages