Modified plist to start amavisd on my system. Working now.

Robert Chalmers robert at chalmers.com.au
Sun Dec 13 19:27:18 CET 2015



Modified plist file for my system,
It would not run with the word ‘foreground’ in the startup string. I also took out the user/group statements

appears to be working ok now? see outputs below the plist.

Thanks for the help getting all the moving parts in place folks.

Maybe this can be of help to others.
The command ran fine from the command line,
"sudo /opt/local/sbin/amavisd -c /opt/local/etc/amavisd.conf debug-sa”

So I knew it worked - just had to tweek the plist so now it auto starts with a reboot.


================

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>local.amavisd</string>
	<key>ProgramArguments</key>
	<array>
		<string>/opt/local/sbin/amavisd</string>
		<string>-c</string>
		<string>/opt/local/etc/amavisd.conf</string>
		<string>debug-sa</string>
	</array>
	<key>KeepAlive</key>
	<true/>
</dict>
</plist>

===========================

zeus:LaunchDaemons robert$ ps -U _amavisd
  PID TTY           TIME CMD
 5418 ??         0:02.47 /opt/local/sbin/amavisd (master)     
 5421 ??         0:00.01 /opt/local/sbin/amavisd (virgin child)     
 5422 ??         0:00.01 /opt/local/sbin/amavisd (virgin child)  

zeus:LaunchDaemons robert$ sudo lsof -i TCP:10024
COMMAND   PID     USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
perl5.22 5418 _amavisd    5u  IPv4 0xc9ee39c1cd24ea31      0t0  TCP localhost:10024 (LISTEN)
perl5.22 5418 _amavisd    6u  IPv6 0xc9ee39c1bcd5e5e1      0t0  TCP localhost:10024 (LISTEN)
perl5.22 5421 _amavisd    5u  IPv4 0xc9ee39c1cd24ea31      0t0  TCP localhost:10024 (LISTEN)
perl5.22 5421 _amavisd    6u  IPv6 0xc9ee39c1bcd5e5e1      0t0  TCP localhost:10024 (LISTEN)
perl5.22 5422 _amavisd    5u  IPv4 0xc9ee39c1cd24ea31      0t0  TCP localhost:10024 (LISTEN)
perl5.22 5422 _amavisd    6u  IPv6 0xc9ee39c1bcd5e5e1      0t0  TCP localhost:10024 (LISTEN)





Robert Chalmers
robert at chalmers.com <mailto:robert at chalmers.com>.au  Quantum Radio: http://tinyurl.com/lwwddov
Mac mini 6.2 - 2012, Intel Core i7,2.3 GHz, Memory:16 GB. El-Capitan 10.11. 2TB Storage made up of - 
Drive 0:HGST HTS721010A9E630. Upper bay. Drive 1:ST1000LM024 HN-M101MBB. Lower Bay



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20151213/09b41e90/attachment.html>


More information about the amavis-users mailing list