Forum Replies Created
-
AuthorPosts
-
October 25, 2009 at 3:22 am in reply to: Attempt to scan dmg for restore fails with “bad descriptor” #377401
OsX4me
ParticipantDid also check the source drive with (compatible, updated) Disk Warrior which found minor issues that it fixed. Still, trying to scan the resulting image for restore, fails.
OsX4me
ParticipantDon’t run sa-learn as root, or , as you’ve seen, it stores the result in /var/root/.spamassassin
which won’t be referenced by anything else.sudo -u clamav sa-learn –showdots –spam –mbox –no-sync /path/to/your/junkmail
Apple’s script at /etc/mail/spamassassin/learn_junk_mail
while needing to be invoked as root, does su to clamav:su – clamav -c “sa-learn –spam –no-sync ## etc.
OsX4me
ParticipantSeems to work here, what I did is put each email/domain on its own line:
whitelist_from [email protected]
whitelist_from *@friendlyisp.comOsX4me
ParticipantI agree, the GUI for DNS in 10.4 is rather Microsoftian, in how silly and non-standard it is. “Do it our way, even though it makes no sense,” and then it barely works at all.
Configuring by hand is needed anyway, for DNS in a NAT environment… no way to enter Forwarders info in the GUI.
Did it by hand, it works.
April 18, 2005 at 10:55 pm in reply to: "update" to cyrus 2.2.10 with MacOS X 10.3.9. Server? #361352OsX4me
ParticipantNope. The article here:
http://docs.info.apple.com/article.html?artnum=301061says that it was * Cyrus IMAP * which was updated to 2.2.12
The current stable release of Postfix at postfix.org is 2.2.2
and Apple’s 10.3.9 server update brings us to Postfix “2.2.10”
which I would assume to be functionally equivalent to 2.2.1 or prior to the most current “.2”OsX4me
ParticipantFor startup items, you can go with this, BUT as Apple says, this method is now deprecated: http://developer.apple.com/documentation/macosx/Conceptual/BPSystemStartup/index.html
They point you to this instead:
http://developer.apple.com/documentation/macosx/Conceptual/BPSystemStartup/index.html
So, I will try this on a test server tomorrow with any luck.
If I understand it, – as root – I’ll cd to /etc/mach_init.d
and create, first, the file amavisd.plist with content:<?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>ServiceName</key>
<string>com.apple.Amavisd.configd</string>
<key>Command</key>
<string>su clamav -c amavisd</string>
<key>OnDemand</key>
<true/>
</dict>
</plist>and then the file FreshClam.plist with content:
<?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>ServiceName</key>
<string>com.apple.FreshClam.configd</string>
<key>Command</key>
<string>freshclam -d -c 2 -1 /var/log/clam-update.log</string>
<key>OnDemand</key>
<true/>
</dict>
</plist>Apple says the default for <key>OnDemand</key> is true,
I don’t know if this means that we’ll end up spawning more processes than we actually want…But doing things this way, says Apple, is far more efficient than the old way for 10.2 (working with /System/Library/StartupItems
Well, for something that’s “deprecated” there sure is ALOT of items still put in the StartupItems folder by Apple.
Failing this new way they describe, I’ll try the old way.
will get to this tomorrow if i can
OsX4me
ParticipantSo did everyone get all this working in the end ?
I’m reading up & preparing to implement
clamav & amavisd-new on OS X Server 10.3
but this thread makes me have second-thoughts (and more)
-
AuthorPosts
Recent Comments