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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
        ReportedBy: milan.kerslager@xxxxxxxx
                CC: fedora-perl-devel-
                    list@xxxxxxxxxx,felicity@xxxxxxxxx,jm@xxxxxxxxxx,parkerm
                    @pobox.com,reg+redhat@xxxxxxxxxx,wtogami@xxxxxxxxxx


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.


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux