<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-22 15:22 GMT+03:00 Rabin Yasharzadehe <span dir="ltr"><<a href="mailto:rabin@rabin.io" target="_blank">rabin@rabin.io</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif">you can run postfix in debug mode for a specific IP to get a more verbose logs, <br>
maybe you'll find something there<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
debug_peer_list = xxx.xxx.xxx.xxx<br></blockquote></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><b><font face="arial, helvetica, sans-serif">--<br>Rabin</font></b><br></div></div>
<br><br><div class="gmail_quote"><div><div class="h5">On Sun, Jun 22, 2014 at 2:39 PM, Oleg Goldshmidt <span dir="ltr"><<a href="mailto:pub@goldshmidt.org" target="_blank">pub@goldshmidt.org</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr"><div><span style="font-family:courier new,monospace"><br clear="all"></span></div><div style="display:inline"><span style="font-family:courier new,monospace">Hi,<br>
<br></span></div><div style="display:inline"><span style="font-family:courier new,monospace">I have an old Ubuntu server with</span></div><div style="display:inline"><span style="font-family:courier new,monospace"> Bugzilla 4.4 and postfix</span></div>
<div style="display:inline"><span style="font-family:courier new,monospace"> as MTA. I am trying to set up incoming mail to Bugzilla using <a href="http://email_in.pl" target="_blank">email_in.pl</a>, and I am stumped. </span></div>
<div style="display:inline"><span style="font-family:courier new,monospace">I tried .forward, .procmail, etc., but whatever happens there is an error invoking <a href="http://email_in.pl" target="_blank">email_in.pl</a>.<br>
<br></span></div><div style="display:inline"><span style="font-family:courier new,monospace">No problem with mail though.<br><br></span></div><div style="display:inline"><span style="font-family:courier new,monospace">My current setup includes:<br>
<br></span></div><div style="display:inline"><span style="font-family:courier new,monospace">In /etc/aliases I have<br><br>bugs: |/var/www/bugzilla/<a href="http://email_in.pl" target="_blank">email_in.pl</a><br>
<br></span></div><div style="display:inline"><span style="font-family:courier new,monospace">(obviously, postalias has been run and postfix has been restarted).<br><br><br></span></div><div style="display:inline">
<span style="font-family:courier new,monospace"># ls -l /var/www/bugzilla/<a href="http://email_in.pl" target="_blank">email_in.pl</a><br>-rwxr-xr-x 1 root www-data 21820 2013-05-23 19:02 /var/www/bugzilla/<a href="http://email_in.pl" target="_blank">email_in.pl</a><br>
</span></div></div></div></div></blockquote></div></div></blockquote><div>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?<br></div>
<div>Regards,<br>Eliyahu - אליהו<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5"><div dir="ltr"><div style="display:inline"><span style="font-family:courier new,monospace">
<br></span></div><div style="display:inline"><span style="font-family:courier new,monospace">(I made the file world-readable and world-executable out of desperation).<br><br></span></div><span style="font-family:courier new,monospace"># grep www-data /etc/group<br>
www-data:x:33:postfix,bugs<br><br></span><div style="display:inline"><span style="font-family:courier new,monospace">(i.e., both user postfix and user bugs are members of the www-data group that owns the bugzilla installation).</span></div>
<span style="font-family:courier new,monospace"><br><br></span><div style="display:inline"><span style="font-family:courier new,monospace">Whenever I send an email to user bugs@therightaddress I see in /var/log/mail.log:<br>
<br></span></div><span style="font-family:courier new,monospace">Jun 22 14:23:43</span><div style="display:inline"><span style="font-family:courier new,monospace"> <hostname></span></div><span style="font-family:courier new,monospace"> postfix/local[23326]: E5671240A2B: to=<bugs@localhost.</span><div style="display:inline">
<span style="font-family:courier new,monospace"><domain></span></div><span style="font-family:courier new,monospace">>, orig_to=<bugs@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/<a href="http://email_in.pl" target="_blank">email_in.pl</a>: Permission denied )<br>
<br><div style="font-family:courier new,monospace;display:inline">This happens with or without user bugs (i.e., whether bugs is just a mail alias or there is a shell user named bugs).<br></div><br>
</span><div style="display:inline"><span style="font-family:courier new,monospace">So, it looks like mail gets delivered to the right alias and the right processing is attempted, but something prevents <a href="http://email_in.pl" target="_blank">email_in.pl</a> to be invoked, and I have no idea what. Needless to say, mails do not appear where I expect them in Bugzilla.<br>
<br></span></div><div style="display:inline"><span style="font-family:courier new,monospace">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 <a href="http://email_in.pl" target="_blank">email_in.pl</a> cannot be run. I have not seen this particular error while googling.<br>
<br>The server is old, I inherited it, and I cannot re-install it for various reasons (at least i am *extremely* reluctant to).<br></span></div><div style="display:inline"><span style="font-family:courier new,monospace"><br>
</span></div><div style="display:inline"><span style="font-family:courier new,monospace">Has anyone seen anything like this? </span></div><div style="display:inline"><span style="font-family:courier new,monospace">Any ideas?</span></div>
<div style="font-family:courier new,monospace;display:inline"> What am I missing?</div><span><font color="#888888"><br><br>-- <br>Oleg Goldshmidt | <a href="mailto:pub@goldshmidt.org" target="_blank">pub@goldshmidt.org</a>
</font></span></div>
<br></div></div>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br></div></div>