Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Client Software Crash #369578
    serversolutions
    Participant

    In case no one figured this out, delete /Library/QuickTime/Motion.component if /Library/Frameworks/Motion.framework doesn’t exists.

    in reply to: MRTG on Panther server. #364026
    serversolutions
    Participant

    [QUOTE BY= Sam Venning] Has Richard or anyone got MRTG working on Mac OS 10.x server? Any infor on MRTG set up would be great. I would like to have MRTG running on our corporate Mac OS 10.4 Server to graph router throughput. I don’t really need to track/monitor Mac OS 10.x Server throughput. I undestand MRTG is just-another-unix application that can be set up to monitor and graph data from any SNMP host (ie most routers and computers running SNMP service).[/QUOTE]Yes I’ve got it working, rather than utilize all of the poorly written instructions I decided to go it from scratch and I was amazed that it’s much simpler than the other instructions imply.

    install zlib-1.2.3, jpeg-v6b, libpng-1.2.8-config, libgd-2.0.33 using prefix of /usr/local.

    Using the OS Installer CD/DVD, install X11 stuff if you haven’t already installed this when you installed the developer tools.

    for mrtg, issue: (no options)

    ./configure

    Here’s a tested 10.4 startup item for /System/Library/LaunchDaemons.

    <?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>Iterations</key>
    <integer>3</integer>
    <key>Label</key>
    <string>com.mrtg</string>
    <key>LowPriorityIO</key>
    <true/>
    <key>Nice</key>
    <integer>1</integer>
    <key>OnDemand</key>
    <false/>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/local/mrtg-2/bin/mrtg</string>
    <string>--logging</string>
    <string>/var/log/mrtg.log</string>
    <string>/usr/local/etc/mrtg/mrtg.cfg</string>
    </array>
    <key>ServiceIPC</key>
    <false/>
    </dict>
    </plist>

    then

    /usr/local/mrtg-2/bin/cfgmaker --ifref=descr \\
    --global 'WorkDir: /Library/WebServer/Documents/mrtg/' \\
    --global 'Options[_]: bits,growright' \\
    --output /usr/local/etc/mrtg/mrtg.cfg \\
    IP of snmp device

    /usr/local/mrtg-2/bin/indexmaker \\
    --output=/Library/WebServer/Documents/mrtg/index.html \\
    /usr/local/etc/mrtg/mrtg.cfg

    touch /var/log/mrtg.log

    Using BBEdit (or a simiar text editor) edit “/usr/local/etc/mrtg/mrtg.cfg” and change

    EnableIPv6: no
    WorkDir: /Library/WebServer/Documents/mrtg/
    Options[_]: bits,growright

    to

    NoDetach: Yes
    RunAsDaemon: Yes
    EnableIPv6: Yes
    WorkDir: /Library/WebServer/Documents/mrtg/
    Options[_]: bits,growright

    Now start it up

    launchctl load /System/Library/LaunchDaemons/com.mrtg.plist

    Check the mrtg log, you may need to add some perl modules.

    I added the following perl modules: (cpan must already be configured)

    IO::Socket
    Socket6
    IO::Socket::INET6

    — Dale

    in reply to: AWstats OR Analog #363201
    serversolutions
    Participant

    I’ve taken over the amavis-stats project since Nark Lawrence has given up on it.

    I’m currently rewriting some functions and adding features to make it a more demanded and reliable mail stats program.

    I’ve looked at parselog and while it does some nice graphs, it’s output for mail is bland in comparison.

    The new amavis-stats app now has the ability to create and delete cron entries in 10.3.x and create/delete launchd plist files in 10.4.x

    I’ve updated the php web page to make use of graphic tabs (auto-generated using GD).

    As well, multiple hostname support now works properly and the issue of rotated logs that are gzip are now supported.

    To get a general idea of some of the improvements, you can check out my sample server to get an idea of what it now looks like.

    Of course this isn’t publicly available for downloading so clicking on the link wont get you the program, you’ll have to wait for the publick release which should be in about a week or less.

    As well, for those interested.

    I’ve created an application that installs clamav, amavisd-new, gmp (BerkeleyDB for Panther) and all of the required cpan modules for the latest version of amavisd-new, add enhanced mail headers, configure amavisd-new, configure clamav and for those Panther users, the install is 100% Apple compliant, if you installed from my previous article, it corrects this, if you’re users/groups are not Apple compliant, they are corrected. Panther users get 100% the same functionality right down to the learning junkmail options and the only differences between the installs is the OS version.

    I create a configure/Makefile for the configuring/installation of amavisd-new and those who have beta tested the process are impressed that they don’t have to track down any of the software as it is all downloaded, configured and installed at the press of a key.

    — Dale

    in reply to: Automatic learning of junk mail by SpamAssassin for 10.4 #362835
    serversolutions
    Participant

    Two things:

    First, you can resttrict those accounts from recieving mail from outside domains by using a hash statment in the postfix config files.

    Second, that plist isn’t working for me.

    What gives???

    if you have one that is working tar it up and e-mail it to me at –> Dale

    in reply to: 10.4.1 Server upgrade broken your mail? #361976
    serversolutions
    Participant

    [QUOTE BY= matwyn] Has mine! Running Tiger in a test environment (phew!) and until this morning IMAP worked fine – now we get :

    [QUOTE]
    master[1806]: empty option value on line 18 of configuration file
    master[1806]: exiting
    launchd: edu.cmu.andrew.cyrus.master: exited with exit code: 75
    launchd: edu.cmu.andrew.cyrus.master: respawning too quickly! throttling
    launchd: edu.cmu.andrew.cyrus.master: 4 more failures without living at least 60 seconds will cause job removal
    launchd: edu.cmu.andrew.cyrus.master: will restart in 10 seconds
    [/QUOTE]
    And so on until either launchd suspends it, or it’s stopped manually. The only thing we’ve changed is to update it to 10.4.1 and we removed a duplication from the locally hosted virtual domains section.

    Which config file is it referring to? cyrus.conf? master.cf? Replaced cyrus.conf with it’s default, but that didn’t work. If anyone could send me a virgin 10.4(.1) master.cf to compare against that would be useful (haven’t backed this one up and it’s the only Tiger we’ve got!)[/QUOTE]The file is /etc/imapd.conf.

    My actual configuration file is rather complex at 132 lines because I’ve fixed Cyrus-SASL (Apple’s passwordserver_sasl-59.2) and the mysql plugin so I can manage users in mysql so I removed all my modifications from the file, tested it and it does work and meet the Apple requirements:

    configdirectory: /var/imap
    partition-default: /var/spool/imap
    sievedir: /usr/sieve
    sieve_maxscriptsize: 32
    sieve_maxscripts: 5
    servername: domain.tld
    defaultdomain: domain.tld
    loginrealms: domain.tld
    admins: cyrusimap
    unixhierarchysep: yes
    altnamespace: yes
    sendmail: /usr/sbin/sendmail
    lmtp_downcase_rcpt: 0
    tls_cert_file: /etc/certificates/Default.crt
    tls_key_file: /etc/certificates/Default.key
    log_rolling_days: 7
    log_rolling_days_enabled: true
    allowplaintext: yes
    allowusermoves: yes
    allowanonymouslogin: no
    imap_auth_login: yes
    imap_auth_plain: yes
    imap_auth_cram_md5: yes
    pop_auth_clear: yes
    pop_auth_apop: yes
    apple_auth: on
    idlesocket: /var/imap/socket/idle
    lmtpsocket: /var/imap/socket/lmtp
    notifysocket: /var/imap/socket/notify
    virtdomains: off
    unix_group_enable: 0
    umask: 077
    imapidresponse: yes
    logtimestamps: 1
    lmtp_over_quota_perm_failure: 1
    autocreatequota: -1
    #reject8bit: 0
    poptimeout: 10
    timeout: 60
    username_tolower: 1
    annotation_db: skiplist
    duplicate_db: berkeley-nosync
    mboxlist_db: skiplist
    ptscache_db: berkeley
    seenstate_db: skiplist
    subscription_db: flat

    Don’t forget to change domain.tld to your domain name.

    As soon as I can get a couple of other issues resolved like timsieved working and a configuration issue, I’ll be putting together an indepth ‘HowTo’ that will provide a virtual user/domain email solution that is managed out of mysql so you don’t have to add users to the system just so they can have an e-mail account.

    All of this is achieved with Apple software so installing another mail package and a ton of other software just to aachive what should have been possible with the Apple supplied software is no longer an issue and I’ve been currently running this configuration for a couple of months now with great success and I don’t loose any Apple suplied features or functionality and can still use SA without worrying about breaking anything.

    I’m managing it with a php package called ‘postfixadmin’.

    This means that while hosting sites, I let the hostee manage his sites e-mail users and passwords which means I don’t have to and it has a decent but basic web interface for user, domain and admin configuration and management options that seems to be working out for me.

    Anyway, when I’ve got these issues resolved I’ll get down to writing some instructions for those interested in this concept of providing e-mail without providing a local account.

    If you wish to help speed up the process, perhaps you can look into the sieve issue while I work on the other issues.

    in reply to: Sieve Installer – Updated #361975
    serversolutions
    Participant

    Without getting into Avielsieve or squirrel mail dependancies, can someone outline what is required to get timsieved working in 10.4.x?

    Has a source code solution been found for the 10.4 build failure issues?

    I realize from a fresh install that the sieve port is not definded in /etc/services but I don’t believe just adding the port entry will make it work.

    As far as I can tell, building and installing cyrus shouldn’t be a requirement just to get sieve itself working.

    I realize you may have to build it to generate the files but from a list of files and the installation location I can provide an installation solution that would be quick and painless without disturbing any Apple installed software or any modified software you may have installed that installing cyrus might break.

    in reply to: Sieve Installer – Updated #360084
    serversolutions
    Participant

    We trashed squirrelmail after we were unable to successfully configure it and keep it working.

    Everytime a configure attempt was made, variables were trashed and it was deemed unsuitable if manually editing of the files had to occur to use it.

    Now we’re interested in utilizing vacation messaging however, squirrelmail is not used on the particular server in question, can this be set to function without squirrelmail or is this a squirrelmail only process?

    The thought of using squirrelmail to send messages while away doesn’t sound like a well thought out plan, more like making do with what you have and with all of the headaches we’ve experienced with it we rather not use it.

Viewing 7 posts - 1 through 7 (of 7 total)