Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

missing launchd plist for 10.4 server junk-mail training



Am I the only one finding that Apple's promised nightly script for junk-mail
processing fails to run ? 10.4.1 Server, with security update also applied.

Manually invoking /etc/mail/spamassassin/learn_junk_mail works fine.

So, I created a new plist by copying and editing the plist for
com.apple.periodic-daily.plist:


/System/Library/LaunchDaemons/com.apple.learnjunkmail.plist

and then loaded it with:
launchctl load /system/library/launchdaemons/com.apple.learnjunkkmail.plist

Seems to work. So... Apple forgot the plist for this ? I've been able to
confirm by checking the bayes count that prior to this, the task/script has
-not- run automatically as promised.

There's certainly no crontab entries for root.

## file-content follows this line ##
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>Label</key>
        <string>com.apple.learnjunkmail.plist</string>
        <key>ProgramArguments</key>
        <array>
                <string>/etc/mail/spamassassin/learn_junk_mail</string>
                <string>daily</string>
        </array>
        <key>StartCalendarInterval</key>
        <dict>
                <key>Hour</key>
                <integer>1</integer>
                <key>Minute</key>
                <integer>15</integer>
        </dict>
</dict>
</plist>




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.