<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Modified plist file for my system,</div><div class="">It would not run with the word ‘foreground’ in the startup string. I also took out the user/group statements</div><div class=""><br class=""></div><div class="">appears to be working ok now? see outputs below the plist.</div><div class=""><br class=""></div><div class="">Thanks for the help getting all the moving parts in place folks.</div><div class=""><br class=""></div><div class="">Maybe this can be of help to others.</div><div class="">The command ran fine from the command line,</div><div class="">"sudo <span style="font-family: Menlo; font-size: 11px;" class="">/opt/local/sbin/amavisd -c </span><span style="font-family: Menlo; font-size: 11px;" class="">/opt/local/etc/amavisd.conf debug-sa</span><font face="Menlo" class=""><span style="font-size: 11px;" class="">”</span></font></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class="">So I knew it worked - just had to tweek the plist so now it auto starts with a reboot.</span></div><div class=""><span style="font-family: Menlo; font-size: 11px;" class=""><br class=""></span></div><div class=""><br class=""></div><div class="">================</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><?xml version="1.0" encoding="UTF-8"?></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "<a href="http://www.apple.com/DTDs/PropertyList-1.0.dtd" class="">http://www.apple.com/DTDs/PropertyList-1.0.dtd</a>"></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><plist version="1.0"></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><dict></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre">     </span><key>Label</key></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre">     </span><string>local.amavisd</string></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre">       </span><key>ProgramArguments</key></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre">  </span><array></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre">            </span><string>/opt/local/sbin/amavisd</string></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre">             </span><string>-c</string></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre">          </span><string>/opt/local/etc/amavisd.conf</string></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre">         </span><string>debug-sa</string></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre">    </span></array></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre">   </span><key>KeepAlive</key></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span><true/></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""></dict></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""></plist></div></div><div class=""><br class=""></div><div class="">===========================</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">zeus:LaunchDaemons robert$ ps -U _amavisd</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">  PID TTY           TIME CMD</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> 5418 ??         0:02.47 /opt/local/sbin/amavisd (master)     </div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> 5421 ??         0:00.01 /opt/local/sbin/amavisd (virgin child)     </div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""> 5422 ??         0:00.01 /opt/local/sbin/amavisd (virgin child)  </div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><div style="margin: 0px; line-height: normal;" class="">zeus:LaunchDaemons robert$ sudo lsof -i TCP:10024</div><div style="margin: 0px; line-height: normal;" class="">COMMAND   PID     USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME</div><div style="margin: 0px; line-height: normal;" class="">perl5.22 5418 _amavisd    5u  IPv4 0xc9ee39c1cd24ea31      0t0  TCP localhost:10024 (LISTEN)</div><div style="margin: 0px; line-height: normal;" class="">perl5.22 5418 _amavisd    6u  IPv6 0xc9ee39c1bcd5e5e1      0t0  TCP localhost:10024 (LISTEN)</div><div style="margin: 0px; line-height: normal;" class="">perl5.22 5421 _amavisd    5u  IPv4 0xc9ee39c1cd24ea31      0t0  TCP localhost:10024 (LISTEN)</div><div style="margin: 0px; line-height: normal;" class="">perl5.22 5421 _amavisd    6u  IPv6 0xc9ee39c1bcd5e5e1      0t0  TCP localhost:10024 (LISTEN)</div><div style="margin: 0px; line-height: normal;" class="">perl5.22 5422 _amavisd    5u  IPv4 0xc9ee39c1cd24ea31      0t0  TCP localhost:10024 (LISTEN)</div><div style="margin: 0px; line-height: normal;" class="">perl5.22 5422 _amavisd    6u  IPv6 0xc9ee39c1bcd5e5e1      0t0  TCP localhost:10024 (LISTEN)</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class="">Robert Chalmers</div><div class=""><a href="mailto:robert@chalmers.com" class="">robert@chalmers.com</a>.au  Quantum Radio: <a href="http://tinyurl.com/lwwddov" class="">http://tinyurl.com/lwwddov</a></div><div class=""><div class="">Mac mini 6.2 - 2012, Intel Core i7,2.3 GHz, Memory:16 GB. El-Capitan 10.11. 2TB Storage made up of - </div><div class="">Drive 0:HGST HTS721010A9E630. Upper bay. Drive 1:ST1000LM024 HN-M101MBB. Lower Bay</div></div></div><div class=""><br class=""></div></div></div><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>