bugzilla+postfix+email_in.pl

bugzilla+postfix+email_in.pl

Oleg Goldshmidt pub at goldshmidt.org
Sun Jun 22 14:39:46 IDT 2014


​Hi,

I have an old Ubuntu server with​
​ Bugzilla 4.4 and postfix​
​ as MTA. I am trying to set up incoming mail to Bugzilla using email_in.pl,
and I am stumped. ​
​I tried .forward, .procmail, etc., but whatever happens there is an error
invoking email_in.pl.

No problem with mail though.

My current setup includes:

In /etc/aliases I have

bugs:           |/var/www/bugzilla/email_in.pl

(obviously, postalias has been run and postfix has been restarted).


# ls -l /var/www/bugzilla/email_in.pl
-rwxr-xr-x 1 root www-data 21820 2013-05-23 19:02 /var/www/bugzilla/
email_in.pl

(I made the file world-readable and world-executable out of desperation).

# grep www-data /etc/group
www-data:x:33:postfix,bugs

​(i.e., both user postfix and user bugs are members of the www-data group
that owns the bugzilla installation).​


​Whenever I send an email to user bugs at therightaddress I see in
/var/log/mail.log:

​
Jun 22 14:23:43
​ <hostname>​
postfix/local[23326]: E5671240A2B: to=<bugs at localhost.
​<domain>​
>, orig_to=<bugs at localhost>, relay=local, delay=518,
delays=518/0.24/0/0.07, dsn=4.3.0, status=deferred (temporary failure.
Command output: local: fatal: execvp /var/www/bugzilla/email_in.pl:
Permission denied )

​This happens with or without user bugs (i.e., whether bugs is just a mail
alias or there is a shell user named bugs).
​

​So, it looks like mail gets delivered to the right alias and the right
processing is attempted, but something prevents email_in.pl to be invoked,
and I have no idea what. Needless to say, mails do not appear where I
expect them in Bugzilla.

I googled extensively, and I think I tried every possible delivery recipe.
it seems that the particular recipe is not the problem - for some reason
email_in.pl cannot be run. I have not seen this particular error while
googling.

The server is old, I inherited it, and I cannot re-install it for various
reasons (at least i am *extremely* reluctant to).

Has anyone seen anything like this? ​
​Any ideas?​
​ What am I missing?​


-- 
Oleg Goldshmidt | pub at goldshmidt.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20140622/c918ebeb/attachment.html>


More information about the Linux-il mailing list