Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 197820
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: rosenfield.albert@gmail.com
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mimedefang-2.63.ebuild.diff mimedefang ebuild diff for version 2.63 patch Vieri 2007-12-07 19:39 0000 784 bytes Details | Diff
mimedefang-2.63.ebuild.diff mimedefang ebuild diff for version 2.63 patch Vieri 2007-12-08 09:05 0000 691 bytes Details | Diff
mimedefang-2.63.ebuild.diff mimedefang-2.63.ebuild.diff patch Vieri 2007-12-10 12:46 0000 694 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 197820 depends on: Show dependency tree
Bug 197820 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-01 22:03 0000
To reproduce:
 - Install postfix
 - Install libmilter
 - Install mimedefang
 - Hook up mimedefang in the postfix config

The mimedefang milter fails, causing all email delivery to come to a halt.  The
error reported in syslog is "Permission denied", although that is not the
problem - strace reveals that postfix does not communicate properly with
mimedefang, it expects mimedefang to say something that it doesn't.

To fix:
 - Unmerge mimedefang which is at version 2.57
 - Download mimedefang 2.63 from official website
 - ./configure --bindir=/usr/bin + make + make install

If you have an empty /usr/local/bin (as my Gentoo does), mimedefang will get
much farther than before, but will now fail because it finds the /usr/local/bin
and just assumes that mimedefang.pl is placed there. The error shown in syslog
is "SLAVE DIED UNEXPECTEDLY". To keep your slaves alive and breathing, just
symlink /usr/local/bin/mimedefang.pl to /usr/bin/mimedefang.pl, and...

Voila! everything works like a charm.

Wanted:
* ebuild upgraded to 2.63, since upstream fixed whatever bug is preventing this
from working OOTB.
* upstream fixed to look for /usr/local/bin/mimedefang.pl instead of
/usr/local/bin.  alternatively, a gentoo patch on top which does this..


Reproducible: Always

Steps to Reproduce:
see above.

Actual Results:  
see above.


Expected Results:  
see above.


see above.

------- Comment #1 From rosenfield.albert@gmail.com 2007-11-01 22:10:15 0000 -------
Running ./configure with --prefix=/usr causes the files to be installed in the
right place, but `strings /usr/bin/mimedefang-multiplexor` reveals that it
still looks in /usr/local/bin for the mimedefang.pl exectuable. Annoying..
Anyway.

------- Comment #2 From Vieri 2007-12-07 19:39:57 0000 -------
Created an attachment (id=137970) [details]
mimedefang ebuild diff for version 2.63

version bump mimedefang to 2.63 and postfix compatibility.
Just proposing this ebuild wich compiles fine but did not test hooking it up
with postfix content filtering.

------- Comment #3 From Vieri 2007-12-08 09:05:32 0000 -------
Created an attachment (id=137997) [details]
mimedefang ebuild diff for version 2.63

------- Comment #4 From Vieri 2007-12-10 12:46:39 0000 -------
Created an attachment (id=138176) [details]
mimedefang-2.63.ebuild.diff

sorry for the mistakes

------- Comment #5 From Alin Năstac 2008-01-29 19:31:33 0000 -------
Fixed in version 2.64, but using blocking dependency atoms.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug