[Bug 227622] New: Unable to pass argument to sa-update

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 7 04:38:24 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.




https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227622

           Summary: Unable to pass argument to sa-update
           Product: Fedora Core
           Version: fc6
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: normal
         Component: spamassassin
        AssignedTo: wtogami at redhat.com
        ReportedBy: milan.kerslager at pslib.cz
                CC: fedora-perl-devel-
                    list at redhat.com,felicity at kluge.net,jm at jmason.org,parkerm
                    @pobox.com,reg+redhat at sidney.com,wtogami at redhat.com


As there is a standartized cron script now to utilize sa-update, please allow
pass arguments to this command. Use /etc/sysconfig/spamassassin to set
$SAUPDATEOPT, and use this in /usr/share/spamassassin/sa-update.cron:

[...]
if [ -f /etc/sysconfig/spamassassin ]; then
        . /etc/sysconfig/spamassassin
fi
/usr/bin/sa-update $SAUPDATEOPT

These argument are necessary to be able to alter sa-update default behaviour.

Also I dislike output (echo commands with mailing to root by cron daemon) in
this file even there is no (error) output. Please remove it along with tee
commad and redirection of output in the file /etc/cron.d/sa-update. Unix-like
style is to report nothing when there is no error.

There is also a possibility to add -D (--debug [area=n,...]) argument to the
sa-update to get output mailed if one need it.

Thank you.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-perl-devel-list mailing list