From Jona.Mueller at independend.ch Wed Mar 4 17:02:52 2026 From: Jona.Mueller at independend.ch (Jona =?iso-8859-1?Q?M=FCller?=) Date: Wed, 4 Mar 2026 18:02:52 +0100 Subject: Bugzilla 5.2 email_in.pl documentation Message-ID: Hello, please correct me if this is not the correct place to post this. I've been maintaining bugzilla installations for over 10 years and always been very happy with it, never causes problems. We are using one internally more like a ticket system and not a bug tracker. For quite some time I've known that at least sometime in the past it was possible to file bugs via email but only recently got to actually setting it up. Really wasn't straightforward but I got it working with postfix piping to email_in.pl via .forward of a dedicated bugzilla system user. There is only very limited information on this to be found and it also is completely absent from any current documentation. I would be happy to contribute documentation on how to set it up. ys, Jona M?ller -- ================================ Independend GmbH Jona.Mueller at independend.ch +49 6832 265556 http://ind.me -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From justdave at bugzilla.org Fri Mar 6 19:22:07 2026 From: justdave at bugzilla.org (David Miller) Date: Fri, 6 Mar 2026 14:22:07 -0500 Subject: Bugzilla 5.2 email_in.pl documentation In-Reply-To: References: Message-ID: <18339621-27dc-4668-838b-f0f787d8dfe7@bugzilla.org> Thanks!? The documentation is at https://github.com/bugzilla/bugzilla/tree/5.2/docs/en/rst (or at docs/en/rst within your checked out copy) RST is "Restructured Text" and it's fairly similar to Markdown (which github uses in comments and a lot of wikis use), though the syntax is a little different. Long term I think it'll be way easier to set up if we let Bugzilla log into an IMAP account on a cron job and retrieve messages rather than trying to pipe them through Postfix. But until then, better docs for the Postfix forwarding method would definitely be appreciated. If you can't figure out RST, you can always just write up a general doc with the instructions and post it here or something and one of us can reformat it into RST to get it into the tree. On 3/4/26 12:02 PM, Jona M?ller via developers wrote: > Hello, > > please correct me if this is not the correct place to post this. > > I've been maintaining bugzilla installations for over 10 years and always been > very happy with it, never causes problems. We are using one internally more like > a ticket system and not a bug tracker. > > For quite some time I've known that at least sometime in the past it was > possible to file bugs via email but only recently got to actually setting it up. > > Really wasn't straightforward but I got it working with postfix piping to > email_in.pl via .forward of a dedicated bugzilla system user. > > There is only very limited information on this to be found and it also is > completely absent from any current documentation. > > I would be happy to contribute documentation on how to set it up. > > ys, > > Jona M?ller > > _______________________________________________ > developers mailing list > developers at bugzilla.org > https://lists.bugzilla.org/listinfo/developers -- [Bugzilla Logo] *Dave Miller* Project Leader *Bugzilla Project* https://bugzilla.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EdWDDKmVjH8oOHMT.png Type: image/png Size: 7345 bytes Desc: not available URL: From jfearn at redhat.com Sun Mar 8 23:35:34 2026 From: jfearn at redhat.com (Jeffrey Fearn) Date: Mon, 9 Mar 2026 09:35:34 +1000 Subject: Bugzilla 5.2 email_in.pl documentation In-Reply-To: <18339621-27dc-4668-838b-f0f787d8dfe7@bugzilla.org> References: <18339621-27dc-4668-838b-f0f787d8dfe7@bugzilla.org> Message-ID: On 7/3/2026 5:22 AM, David Miller via developers wrote: > Thanks!? The documentation is at https://github.com/bugzilla/bugzilla/ > tree/5.2/docs/en/rst > > (or at docs/en/rst within your checked out copy) > > RST is "Restructured Text" and it's fairly similar to Markdown (which > github uses in comments and a lot of wikis use), though the syntax is a > little different. > > Long term I think it'll be way easier to set up if we let Bugzilla log > into an IMAP account on a cron job and retrieve messages rather than > trying to pipe them through Postfix. But until then, better docs for the > Postfix forwarding method would definitely be appreciated. > > If you can't figure out RST, you can always just write up a general doc > with the instructions and post it here or something and one of us can > reformat it into RST to get it into the tree. > > On 3/4/26 12:02 PM, Jona M?ller via developers wrote: >> Hello, >> >> please correct me if this is not the correct place to post this. >> >> I've been maintaining bugzilla installations for over 10 years and >> always been >> very happy with it, never causes problems. We are using one internally >> more like >> a ticket system and not a bug tracker. >> >> For quite some time I've known that at least sometime in the past it was >> possible to file bugs via email but only recently got to actually >> setting it up. >> >> Really wasn't straightforward but I got it working with postfix piping to >> email_in.pl via .forward of a dedicated bugzilla system user. >> >> There is only very limited information on this to be found and it also is >> completely absent from any current documentation. >> >> I would be happy to contribute documentation on how to set it up. There are some docs on the email_in script itself, not easy to find or detailed though. https://bugzilla.readthedocs.io/en/5.2/integrating/api/email_in.html A problem with mail in is that it's insecure as it has no authentication. IMO making an email client is a sub-optimal solution. SMTP ingress is reasonably easy to set up and is the sane way of doing this. We use exim for this, it basically has 2 bz specific settings .... just in case someone wants to use or document it ;) A route: to_bz: driver = accept domains = +local_domains transport = to_bz no_more A transport: to_bz: driver = pipe command = /var/www/html/bugzilla/email_in.pl This is a dedicated service, you might need more settings if your mail ingress handles multiple services. We carry a GPG patch for email_in.pl in case anyone wants it. You have to set your public key in your profile before you can use the mail_in facility. Cheers, Jeff. From Jona.Mueller at independend.ch Sun Mar 8 17:47:08 2026 From: Jona.Mueller at independend.ch (Jona =?iso-8859-1?Q?M=FCller?=) Date: Sun, 8 Mar 2026 18:47:08 +0100 Subject: Bugzilla 5.2 email_in.pl documentation In-Reply-To: <18339621-27dc-4668-838b-f0f787d8dfe7@bugzilla.org> References: <18339621-27dc-4668-838b-f0f787d8dfe7@bugzilla.org> Message-ID: Hi Dave, thanks. > Long term I think it'll be way easier to set up if we let Bugzilla log into > an IMAP account on a cron job and retrieve messages rather than trying to > pipe them through Postfix. But until then, better docs for the Postfix > forwarding method would definitely be appreciated. I agree. But it also adds a bunch of complexity and additional work. Files and pipes is a pretty simple unix-y way of doing it and its also multithreaded (Should be, I think?) and instantaneous, which is pretty good user experience. Of course, extremely large instances might be a different story. Disadvantage is the non-existent error handling. (https://bugzilla.mozilla.org/show_bug.cgi?id=2021101) I've attached a patch with a new "Email in" section under integrating (diffed from the release-5.2 tag). I only looked at the HTML output, it looked fine. For readability I liberally applied the markup that I found in the existing tree. Feel free to comment. ys, Jona M?ller -- On Fri, Mar 06, 2026 at 02:22:07PM -0500, David Miller wrote: > Thanks!? The documentation is at > https://github.com/bugzilla/bugzilla/tree/5.2/docs/en/rst > > (or at docs/en/rst within your checked out copy) > > RST is "Restructured Text" and it's fairly similar to Markdown (which github > uses in comments and a lot of wikis use), though the syntax is a little > different. > > Long term I think it'll be way easier to set up if we let Bugzilla log into > an IMAP account on a cron job and retrieve messages rather than trying to > pipe them through Postfix. But until then, better docs for the Postfix > forwarding method would definitely be appreciated. > > If you can't figure out RST, you can always just write up a general doc with > the instructions and post it here or something and one of us can reformat it > into RST to get it into the tree. > > On 3/4/26 12:02 PM, Jona M?ller via developers wrote: > > Hello, > > > > please correct me if this is not the correct place to post this. > > > > I've been maintaining bugzilla installations for over 10 years and always been > > very happy with it, never causes problems. We are using one internally more like > > a ticket system and not a bug tracker. > > > > For quite some time I've known that at least sometime in the past it was > > possible to file bugs via email but only recently got to actually setting it up. > > > > Really wasn't straightforward but I got it working with postfix piping to > > email_in.pl via .forward of a dedicated bugzilla system user. > > > > There is only very limited information on this to be found and it also is > > completely absent from any current documentation. > > > > I would be happy to contribute documentation on how to set it up. > > > > ys, > > > > Jona M?ller > > > > _______________________________________________ > > developers mailing list > > developers at bugzilla.org > > https://lists.bugzilla.org/listinfo/developers > -- > [Bugzilla Logo] > *Dave Miller* > Project Leader > *Bugzilla Project* > https://bugzilla.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: email_in_documentation.patch Type: text/x-diff Size: 5566 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From Jona.Mueller at independend.ch Mon Mar 9 08:50:07 2026 From: Jona.Mueller at independend.ch (Jona =?iso-8859-1?Q?M=FCller?=) Date: Mon, 9 Mar 2026 09:50:07 +0100 Subject: Bugzilla 5.2 email_in.pl documentation In-Reply-To: References: <18339621-27dc-4668-838b-f0f787d8dfe7@bugzilla.org> Message-ID: > There are some docs on the email_in script itself, not easy to find or > detailed though. Yes, I've found these in the source but they're more about how to format the mails themselves. > We carry a GPG patch for email_in.pl in case anyone wants it. You have to > set your public key in your profile before you can use the mail_in facility. Certainly interested in that. The pubkeys in the profile are also part of your patch? > A problem with mail in is that it's insecure as it has no authentication. Fortunately we dont have the problem with user authentication, because all our Bugzilla users have their mailboxes hosted on our mailserver, the bugmail and mail in also run through there (to the postfix on the bugzilla machine). And its so strict it rejects our other mailservers without whitelisting :) But thats pretty much a corner case plus I have to acknowledge that certainly not everybody runs their own public mailserver or even reasonably *can* do that nowadays. ys, Jona M?ller -- ================================ Independend GmbH Jona.Mueller at independend.ch +49 6832 265556 http://ind.me On Mon, Mar 09, 2026 at 09:35:34AM +1000, Jeffrey Fearn wrote: > On 7/3/2026 5:22 AM, David Miller via developers wrote: > > Thanks!? The documentation is at https://github.com/bugzilla/bugzilla/ > > tree/5.2/docs/en/rst > > > > (or at docs/en/rst within your checked out copy) > > > > RST is "Restructured Text" and it's fairly similar to Markdown (which > > github uses in comments and a lot of wikis use), though the syntax is a > > little different. > > > > Long term I think it'll be way easier to set up if we let Bugzilla log > > into an IMAP account on a cron job and retrieve messages rather than > > trying to pipe them through Postfix. But until then, better docs for the > > Postfix forwarding method would definitely be appreciated. > > > > If you can't figure out RST, you can always just write up a general doc > > with the instructions and post it here or something and one of us can > > reformat it into RST to get it into the tree. > > > > On 3/4/26 12:02 PM, Jona M?ller via developers wrote: > > > Hello, > > > > > > please correct me if this is not the correct place to post this. > > > > > > I've been maintaining bugzilla installations for over 10 years and > > > always been > > > very happy with it, never causes problems. We are using one > > > internally more like > > > a ticket system and not a bug tracker. > > > > > > For quite some time I've known that at least sometime in the past it was > > > possible to file bugs via email but only recently got to actually > > > setting it up. > > > > > > Really wasn't straightforward but I got it working with postfix piping to > > > email_in.pl via .forward of a dedicated bugzilla system user. > > > > > > There is only very limited information on this to be found and it also is > > > completely absent from any current documentation. > > > > > > I would be happy to contribute documentation on how to set it up. > There are some docs on the email_in script itself, not easy to find or > detailed though. > > https://bugzilla.readthedocs.io/en/5.2/integrating/api/email_in.html > > A problem with mail in is that it's insecure as it has no authentication. > > IMO making an email client is a sub-optimal solution. SMTP ingress is > reasonably easy to set up and is the sane way of doing this. > > We use exim for this, it basically has 2 bz specific settings .... just in > case someone wants to use or document it ;) > > A route: > > to_bz: > driver = accept > domains = +local_domains > transport = to_bz > no_more > > A transport: > > to_bz: > driver = pipe > command = /var/www/html/bugzilla/email_in.pl > > This is a dedicated service, you might need more settings if your mail > ingress handles multiple services. > > We carry a GPG patch for email_in.pl in case anyone wants it. You have to > set your public key in your profile before you can use the mail_in facility. > > Cheers, Jeff. > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: