First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 65629
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Lim Swee Tat (RETIRED) <st_lim@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Simon Tsang <simontsang@unimax.com.hk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 65629 depends on: Show dependency tree
Bug 65629 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: 2004-09-27 21:35 0000
I emerged DSpam with all use flag disabled.  But it defaults to use procmail as
the delivery agent which I have never specificed.  Under the src_compile
section in dspam-3.1.2.ebuild, I found that the code:
 if use cyrus; then
        agent="/usr/lib/cyrus/deliver %u"
    elif use exim; then
        agent="/usr/sbin/exim -oMr spam-scanned"
    elif use maildrop; then
        agent="/usr/bin/maildrop -d %u"
    elif use procmail; then
        agent="/usr/bin/procmail"
    fi
does not have a default value.  It would be a good idea to add
/usr/bin/sendmail as another (or default) agent.

Reproducible: Always
Steps to Reproduce:
1. USE="-cyrus -debug -exim -maildrop -mysql -neural -oci8 -postgres -procmail"
emerge -v dspam
2.
3.

Actual Results:  
DSpam tried to use procmail as delivery agent.

Expected Results:  
It should use sendmail as delivery agent.

------- Comment #1 From Martin Allchin 2004-10-13 06:21:28 0000 -------
This is configurable in /etc/mail/dspam/dspam.conf too. You may set the
TrustedDeliveryAgent, UnTrustedDeliveryAgent and QuarantineAgent I believe.

------- Comment #2 From Lim Swee Tat (RETIRED) 2004-10-13 22:35:05 0000 -------
Not sure how to include sendmail as an option.  The idea of dspam is that you
should just use an MDA to deliver, so I do not see how sendmail can relate to
dspam other than let you bounce mails around the place...

------- Comment #3 From Simon Tsang 2004-10-13 23:28:48 0000 -------
Martin Allchin: Thanks for the information.  However, I think it is a good idea
to have sendmail as the default option because people who don't use maildrop or
procmail are very likely to use a sendmail compatiable MDA, such as Postfix.

Lim Swee Tat:  It is very simple to have sendmail as the default option.

 if use cyrus; then
        agent="/usr/lib/cyrus/deliver %u"
    elif use exim; then
        agent="/usr/sbin/exim -oMr spam-scanned"
    elif use maildrop; then
        agent="/usr/bin/maildrop -d %u"
    elif use procmail; then
        agent="/usr/bin/procmail"
    else
        agent="/usr/sbin/sendmail"
    fi

If you use Postfix or sendmail without any additional MDA, you would need to
set agent="/usr/sbin/sendmail".

------- Comment #4 From David Blewett 2004-10-15 06:07:06 0000 -------
Also, the USE flag courier doesn't show up when doing emerge dspam -pv. The
Courier-MTA package installs maildrop, so there should be a section like this:

elif use courier; then
        agent="/usr/bin/maildrop -d %u"

I see further down in the ebuild that it checks for a courier use flag, but
it's not in the list at the top.

------- Comment #5 From Lim Swee Tat (RETIRED) 2004-10-16 10:07:17 0000 -------
Hi David and Simon,
  Thanks for the feedback.  I'll be updating the existing ebuilds.  Hopefully, we should see the pr1 in tonight.

Regards
Lim Swee Tat

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