[Pkg-exim4-users] Bugzilla bug_email.pl (for Etch)

Marc Haber mh+pkg-exim4-users at zugschlus.de
Sat Aug 30 15:47:22 UTC 2008


On Tue, Jul 08, 2008 at 07:04:22AM +0200, Fredrik Unger wrote:
> Have anyone coupled Exim with the Bugzilla bug_email.pl script ?
> (under Etch, newer bugzilla in Lenny has some kind of mail API)
> 
> Instead of going via procmail, is it possible to use the pipe_transport
> directly ?

This should of course be possible. There is a number of examples
around for Mailman and the Debian BTS, so you should have plenty of
input.

> Procmail recomendation is from the script:
> 
> # The email needs to be feeded to this program on STDIN.
> # This is usually done by having an entry like this in your
> # .procmailrc:
> #
> #     BUGZILLA_HOME=/usr/local/httpd/htdocs/bugzilla
> #     :0 c
> #     |(cd $BUGZILLA_HOME/contrib; ./bug_email.pl)
> 
> I am using the debian X_BUGZILLA_SITE as well, so the script might
> have to be adopted. I am looking into that.
> 
> Would this work ?
> 
> bugzilla_pipe:
>   debug_print = "T: bugzilla_pipe for $local_part@$domain"
>   driver = pipe
>   path = "/bin:/usr/bin:/usr/local/bin"
>   command = "/usr/share/bugzilla/contrib/bug_email.pl"

You would probably want to change to a different user during the
delivery, and maybe you need to take care of changing to the right
directory before invoking bug_email.pl

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190

Bitte beachten Sie, daß dem [m.E. grundgesetzwidrigen] Gesetz zur
Vorratsdatenspeicherung zufolge, seit dem 1. Januar 2008 jeglicher
elektronische Kontakt (E-Mail, Telefongespräche, SMS, Internet-
Telefonie, Mobilfunk, Fax) mit mir oder anderen Nutzern verdachts-
unabhängig für den automatisierten geheimen Zugriff durch Strafver-
folgungs- u. Polizeivollzugsbehörden, die Bundesanstalt für Finanz-
dienstleistungsaufsicht, Zollkriminal- und Zollfahndungsämter,die
Zollverwaltung zur Schwarzarbeitsbekämpfung, Notrufabfragestellen,
Verfassungsschutzbehörden, den Militärischen Abschirmdienst, Bundes-
nachrichtendienst sowie 52 Staaten wie beispielsweise Aserbeidschan
oder die USA sechs Monate lang gespeichert wird, einschließlich der
Kommunikation mit Berufsgeheimnisträgern wie Ärzten, Journalisten und
Anwälten. Mehr Infos zur totalen Protokollierung Ihrer Kommunikations-
daten auf www.vorratsdatenspeicherung.de. (leicht verändert übernommen
kopiert von www.lawblog.de)



More information about the Pkg-exim4-users mailing list