bugzilla+postfix+email_in.pl

bugzilla+postfix+email_in.pl

E.S. Rosenberg esr+linux-il at g.jct.ac.il
Sun Jun 22 18:46:14 IDT 2014


2014-06-22 15:22 GMT+03:00 Rabin Yasharzadehe <rabin at rabin.io>:

> you can run postfix in debug mode for a specific IP to get a more verbose
> logs,
> maybe you'll find something there
>
> debug_peer_list = xxx.xxx.xxx.xxx
>>
>
>
> *--Rabin*
>
>
> On Sun, Jun 22, 2014 at 2:39 PM, Oleg Goldshmidt <pub at goldshmidt.org>
> wrote:
>
>>
>> ​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
>>
> You are showing correct permissions on the file so I assume you also made
sure that all the parent dirs are at least executable to the daemon?
Regards,
Eliyahu - אליהו

>
>> (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
>>
>> _______________________________________________
>> Linux-il mailing list
>> Linux-il at cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20140622/f4d75394/attachment.html>


More information about the Linux-il mailing list