First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 177338
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gustavo Zacarias (RETIRED) <gustavoz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: steveb <steeeeeveee@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
spamass-milter-0.3.1-r2.ebuild mail-filter/spamass-milter/spamass-milter-0.3.1-r2.ebuild text/plain steveb 2007-05-06 14:55 0000 1.12 KB Details
README.gentoo mail-filter/spamass-milter/files/README.gentoo text/plain steveb 2007-05-06 14:57 0000 1.46 KB Details
spamass-milter.conf3 mail-filter/spamass-milter/files/spamass-milter.conf3 text/plain steveb 2007-05-06 14:57 0000 767 bytes Details
spamass-milter.rc3 mail-filter/spamass-milter/files/spamass-milter.rc3 text/plain steveb 2007-05-06 14:58 0000 926 bytes Details
spamass-milter.conf3 mail-filter/spamass-milter/files/spamass-milter.conf3 text/plain steveb 2007-06-04 17:11 0000 788 bytes Details
README.gentoo mail-filter/spamass-milter/files/README.gentoo text/plain steveb 2007-06-04 17:12 0000 1.64 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2007-05-06 14:53 0000
Modified spamass-milter ebuild to have a dependency to libmilter instead having
a dependency to Sendmail. This allows me to run spamass-milter with Postfix
>=2.3.0

Reproducible: Always

------- Comment #1 From steveb 2007-05-06 14:55:19 0000 -------
Created an attachment (id=118348) [edit]
mail-filter/spamass-milter/spamass-milter-0.3.1-r2.ebuild

------- Comment #2 From steveb 2007-05-06 14:57:14 0000 -------
Created an attachment (id=118350) [edit]
mail-filter/spamass-milter/files/README.gentoo

Modified readme to include instructions on how to integrate spamass-milter into
Postfix >= 2.3.0

------- Comment #3 From steveb 2007-05-06 14:57:59 0000 -------
Created an attachment (id=118352) [edit]
mail-filter/spamass-milter/files/spamass-milter.conf3

/etc/conf.d/spamass-milter file

------- Comment #4 From steveb 2007-05-06 14:58:41 0000 -------
Created an attachment (id=118354) [edit]
mail-filter/spamass-milter/files/spamass-milter.rc3

/etc/init.d/spamass-milter file

------- Comment #5 From Philipp Riegger 2007-05-19 12:29:25 0000 -------
This seems to be a good idea and it is working for me.

------- Comment #6 From steveb 2007-05-19 23:27:38 0000 -------
(In reply to comment #5)
> This seems to be a good idea and it is working for me.
> 
With Postfix or with Sendmail?

------- Comment #7 From Philipp Riegger 2007-05-20 12:44:29 0000 -------
with postfix-2.3.8 and libmilter-8.13.7

------- Comment #8 From steveb 2007-05-21 02:11:48 0000 -------
(In reply to comment #7)
> with postfix-2.3.8 and libmilter-8.13.7
> 

Cool :)

I am working here with Postfix 2.4.1 and it works without problems :)

------- Comment #9 From Philipp Riegger 2007-05-21 11:02:01 0000 -------
And i have to say, i really love this. It's by far the cleanest way i ever
included spamassassin in a mta.

------- Comment #10 From Gustavo Zacarias (RETIRED) 2007-05-21 12:32:26 0000 -------
Cut the talk, there's no need to sell the idea when i'm fine with it :-)
I'm checking with net-mail devs (since i just maintain spamass-milter) on the
best approach for this, for instance if postfix can provide a libmilter
replacement to make it let's say "cleaner" or more native (i'm a sendmail user
btw).
Otherwise this approach is fine.

------- Comment #11 From Jan Oravec 2007-05-27 13:26:09 0000 -------
(In reply to comment #10)
> I'm checking with net-mail devs (since i just maintain spamass-milter) on the
> best approach for this, for instance if postfix can provide a libmilter
> replacement to make it let's say "cleaner" or more native (i'm a sendmail user
> btw).

The best approach is to use libmilter. It makes no sense for postfix to provide
own library for same protocol. Milter is protocol, not library API. Packages
like spamass-milter, dk-milter, sendmail, etc just use libmilter to be able to
use/provide milter protocol functionality. Postfix internally implements their
own milter protocol support to avoid external dependencies.

------- Comment #12 From steveb 2007-05-27 18:55:39 0000 -------
(In reply to comment #11)
> (In reply to comment #10)
> > I'm checking with net-mail devs (since i just maintain spamass-milter) on the
> > best approach for this, for instance if postfix can provide a libmilter
> > replacement to make it let's say "cleaner" or more native (i'm a sendmail user
> > btw).
> 
> The best approach is to use libmilter. It makes no sense for postfix to provide
> own library for same protocol. Milter is protocol, not library API. Packages
> like spamass-milter, dk-milter, sendmail, etc just use libmilter to be able to
> use/provide milter protocol functionality. Postfix internally implements their
> own milter protocol support to avoid external dependencies.
> 
Postfix uses libmilter. Read here for more info:
http://www.postfix.org/MILTER_README.html

And Sendmail is using libmilter as well since quite some time. So switching
spamass-milter to use libmilter is the save approach for both packages.

------- Comment #13 From Jan Oravec 2007-05-27 23:03:00 0000 -------
(In reply to comment #12)

> Postfix uses libmilter. Read here for more info:
> http://www.postfix.org/MILTER_README.html

No, postfix itself doesn't use libmilter, but milter-based filters like
dk-milter, spamass-milter, etc. use libmilter. The README just tells how to
install milters based on libmilter library.

> And Sendmail is using libmilter as well since quite some time. So switching
> spamass-milter to use libmilter is the save approach for both packages.

My understanding is that mail-mta/sendmail package contains libmilter, and
there is a mail-filter/libmilter for those who don't want sendmail. So the
solution is one of:

1) make spamass-milter (and other milters) depend on || (mail-mta/sendmail
mail-filter/libmilter)
 - this approach is already used in amavisd-new and mimedefang packages

2) separate libmilter out of sendmail, make sendmail depend on libmilter with
USE flag "milter", make all milters depend on libmilter directly
 - more elegant and modularized, but requires heavier changes

First approach is trivial change in DEPENDS for spamass-milter.

------- Comment #14 From Gustavo Zacarias (RETIRED) 2007-05-28 12:18:12 0000 -------
The problem with libmilter (net-mail devs can correct me if i'm wrong) is that
IMHO it won't go stable soon since the sendmail and libmilter dev is MIA, so
it's lagging behind.
I'm all for a solution but i'm not a member of the net-mail herd, i just
maintain this and i'd want this to go stable when possible.

------- Comment #15 From steveb 2007-05-29 15:46:53 0000 -------
(In reply to comment #13)
> (In reply to comment #12)
> 
> > Postfix uses libmilter. Read here for more info:
> > http://www.postfix.org/MILTER_README.html
> 
> No, postfix itself doesn't use libmilter, but milter-based filters like
> dk-milter, spamass-milter, etc. use libmilter. The README just tells how to
> install milters based on libmilter library.
> 
Right. Postfix does not need libmilter.


> > And Sendmail is using libmilter as well since quite some time. So switching
> > spamass-milter to use libmilter is the save approach for both packages.
> 
> My understanding is that mail-mta/sendmail package contains libmilter, and
> there is a mail-filter/libmilter for those who don't want sendmail. So the
> solution is one of:
> 
> 1) make spamass-milter (and other milters) depend on || (mail-mta/sendmail
> mail-filter/libmilter)
>  - this approach is already used in amavisd-new and mimedefang packages
> 
> 2) separate libmilter out of sendmail, make sendmail depend on libmilter with
> USE flag "milter", make all milters depend on libmilter directly
>  - more elegant and modularized, but requires heavier changes
> 
I like that one much more.


> First approach is trivial change in DEPENDS for spamass-milter.
> 

------- Comment #16 From steveb 2007-05-29 15:48:26 0000 -------
(In reply to comment #14)
> The problem with libmilter (net-mail devs can correct me if i'm wrong) is that
> IMHO it won't go stable soon since the sendmail and libmilter dev is MIA, so
> it's lagging behind.
>
What is MIA?


> I'm all for a solution but i'm not a member of the net-mail herd, i just
> maintain this and i'd want this to go stable when possible.
> 
I think for the moment you could implement option 1 from comment #13 and later
maybe switch to option 2. What do you think?

------- Comment #17 From steveb 2007-06-04 17:11:33 0000 -------
Created an attachment (id=121156) [edit]
mail-filter/spamass-milter/files/spamass-milter.conf3

Corrections regarding the "-m" flag.

------- Comment #18 From steveb 2007-06-04 17:12:32 0000 -------
Created an attachment (id=121158) [edit]
mail-filter/spamass-milter/files/README.gentoo

Corrections for Postfix >= 2.4.0

------- Comment #19 From Denis Misiurca 2008-03-15 21:46:19 0000 -------
libmilter is stable, why not add it as dependency for libmilter? I remember it
was some time ago. I do not want to use sendmail, Postfix works OK for me on
Gentoo and Debian systems. I use spamass-milter with actively used Postfix on
Debian and all works fine, why it should not work fine on Gentoo so that you
can not fix this for almost an year?

------- Comment #20 From Denis Misiurca 2008-03-15 21:48:51 0000 -------
(In reply to comment #19)
> I remember it was some time ago.

Sorry, this was for clamav. And I don't see reasons for spamass to not work if
clamav works.

------- Comment #21 From vulcan@photonforge.com 2008-06-09 09:27:07 0000 -------
(In reply to comment #20)
> Sorry, this was for clamav. And I don't see reasons for spamass to not work if
> clamav works.

The Gentoo developer that this bug was assigned to retired some time ago.

http://www.gentoo.org/proj/en/devrel/roll-call/userinfo.xml?statusFilter=Retired

------- Comment #22 From Tobias Scherbaum 2008-06-15 09:28:28 0000 -------
I added spamass-milter-0.3.1-r2 to CVS which includes these fixes. Thanks guys!

First Last Prev Next    No search results available      Search page      Enter new bug