[Mimedefang] Solaris SMF startup files for mimedefang

Andrew Watkins andrew at dcs.bbk.ac.uk
Fri May 9 06:10:02 EDT 2008


Andrew Watkins wrote:
> 

> So, is anyone willing to post a full working version of it or even get 
> it on the wiki.
 >

I have created and SMF file and I am testing it at this time.

- Running it on Solaris 10 5/08 s10x_u5wos_10 X86
- Copied sendmail.xml and slightly modified it.

# cp -p /var/svc/manifest/network/smtp-sendmail.xml 
/var/svc/manifest/network/smtp-mimedefang.xml

- and edit it
- kept most of the dependency
- removed some of the property_group since not sure what they do
- One problem at this time is that mimedefang will not restart if I do 
"pkill -9 mimedefang" where it does for sendmail. not sure how to do that

# mv /etc/init.d/mimedefang /usr/local/mimedefang/bin/smtp-mimedefang
# rm /etc/rc?.d/*mimedefang

# svccfg  validate /var/svc/manifest/network/smtp-mimedefang.xml
# svccfg  import  /var/svc/manifest/network/smtp-mimedefang.xml
# svcs enable  svc:/network/smtp:mimedefang

Thoughts does it mater that mimedefang starts after sendmail. Anyway I 
will have a play with this for a while and see what happens.

Thanks

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smtp-mimedefang.xml
Type: text/xml
Size: 2989 bytes
Desc: not available
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20080509/d2decf9b/attachment.xml>


More information about the MIMEDefang mailing list