First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 52291
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daniel Heule <nerve@ipwar.ch>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
amavisd-new-20030616_p9.ebuild amavisd-new-20030616_p9.ebuild modified for patching. text/plain Daniel Heule 2004-05-28 13:40 0000 2.91 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 52291 depends on: Show dependency tree
Show dependency graph
Bug 52291 blocks: 64462
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: 2004-05-28 13:17 0000
There is a amavisd-new-courier.patch file in the source package included.
If you want to use amavisd-new as courier-filter, you need to apply this patch before installing. This won't hurt even if you doen't use amavisd-new with courier. It will only add some additional features.
Eventually, this is something for a local useflag or a test if courier is installed will probably a usable solution.

Reproducible: Always
Steps to Reproduce:
1. The emerge doesn't apply the patch anytime.
2.
3.

Actual Results:  
Feature is missing.

Expected Results:  
It should include the additional features for the courier-filter.

------- Comment #1 From Daniel Heule 2004-05-28 13:40:21 0000 -------
Created an attachment (id=32214) [edit]
amavisd-new-20030616_p9.ebuild modified for patching.

This is my proposal to solve this problem.

------- Comment #2 From Asbjorn Sannes 2004-06-08 13:40:51 0000 -------
maybe there should be USE flags to turn on and off patches.. ?

------- Comment #3 From Daniel Heule 2004-08-03 02:12:58 0000 -------
Please correct the ebuild of amavisd-new to aply the courier patch if courier
is installed !

------- Comment #4 From Martin Allchin 2004-08-04 04:54:13 0000 -------
amavisd-new-20040701 is missing a courier patch :/

I can see some at sourceforge for 20040701-rc*; I'll see if I can nobble one together that patches cleanly against amavisd-new-20040701.

------- Comment #5 From Martin Allchin 2004-08-04 05:41:21 0000 -------
Ignore my previous comment ;)

I forgot to check /var/tmp/portage/amavisd-new-20040701/work/amavisd-new-20040701 -- patch present and working!

------- Comment #6 From Cory Visi (RETIRED) 2004-08-04 09:31:56 0000 -------
How do you guys use this patch? Do you use the automatic or the manual
start/stop method? What have you found the pros and cons to be?

Also, does this patch change the behavior of non-courier mail systems?

------- Comment #7 From Martin Allchin 2004-08-05 08:12:28 0000 -------
To apply the patch do the following:

** Note I am using ~x86 version (amavisd-new-20040707) **

1. emerge amavisd-new, let it finish completely
1. emerge amavisd-new, ctrl+c after it has finished unpacking the source
2. cd /var/tmp/portage/amavisd-new-20040701/work/amavisd-new-20040701
3. patch < amavisd-new-courier.patch
4. cp amavisd /usr/sbin/
5. cp amavisd.conf /etc/

Job done.

------- Comment #8 From Martin Allchin 2004-08-05 08:14:40 0000 -------
Also, no, it doesn't affect non-courier systems, it just adds extra options for
courier. It may use different defaults then the normal conf though.

------- Comment #9 From Martin Allchin 2004-08-05 08:16:25 0000 -------
Sorry for all these comments. Isn't it possible to edit a bug?

Please note it should be steps 1 to 6 above (not two 1's).

------- Comment #10 From Cory Visi (RETIRED) 2004-08-05 15:39:22 0000 -------
I think I will just apply this patch universally in the ebuild then. Can anyone
think of why not?

------- Comment #11 From Martin Allchin 2004-08-08 09:14:11 0000 -------
I can't think of any reasons not too.

I seriously wonder why amavis didn't do this anyway. Making Courier users patch for extra support seems so very strange, and the usual rigmoral of editing the conf to choose your chosen mta/scanners has to be done anyway.

I would patch as default, or add a courier USE flag.

------- Comment #12 From Timo Maier 2004-08-24 00:05:24 0000 -------
Will the ebuild with applying the patch make it into portage?

------- Comment #13 From Timo Maier 2004-08-26 01:30:59 0000 -------
I have applied the patch maually, and had to change the home dir of amavis to
/var/amavis instead of /var/lib/amavis. Also I changed the /var/amavis to group
mail and make ich writeable by group so courier can write to this dir when
amavis is called by courier.

I f amavis is called by courier I cannot use /etc/init.d/courier restart,
because amavis needs a few secs to terminate an clean up things. Maybe a check
coud be don in the courier start script if amavis is terminated (pid file?)

I vote for a courier use flag for the amavisd-new ebuild.

------- Comment #14 From Cory Visi (RETIRED) 2004-08-26 05:23:39 0000 -------
Where did you have to change the the amavisd-new homedir?

The group-writeable issue is significant. Thank you for reporting this. I'll try to come up with a universal solution, otherwise, I'll implement a USE flag.

------- Comment #15 From Timo Maier 2004-08-30 00:06:48 0000 -------
I'm not 100% sure anymore, but IIRC the home dir of user amavis pointed to
/var/lib/amavis, so I had to edit /etc/passwd

I just have checked the amavisd-new ebuild which creates the user, this seems
to be ok. Hmmm.

------- Comment #16 From Sune Kloppenborg Jeppesen 2004-12-08 13:09:38 0000 -------
Is this still an issue with amavisd-new 2.2.0 from bug #64462?

------- Comment #17 From Daniel Heule 2004-12-14 08:37:05 0000 -------
The Problem is also with amavisd-new 2.2.0 the same,
only the Patch has a new name.

------- Comment #18 From Sune Kloppenborg Jeppesen 2004-12-14 09:38:44 0000 -------
Daniel updated bug #64462 with initial courier support. Please test and report
back on the bug.

------- Comment #19 From Sune Kloppenborg Jeppesen 2004-12-23 01:25:42 0000 -------
Closing, please reopen if needed.

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