security/antivir-milter won't start correctly

Martin P. Hellwig mhellwig at
Sat Feb 28 07:14:05 PST 2004

Andrey Chernov wrote:

>On Fri, Feb 27, 2004 at 04:45:16PM +0100, Martin P. Hellwig wrote:
>>I've got a workaround :-), check the attachement for more info.
>>But I'm curios if this also works on other machines then my own.
>I have solution. Change all files and User/Group from daemon:daemon to 
>smmsp:smmsp as sendmail expects to be for socket.
I think you aren't correct at least with the fresh install I did this 
morning wiht 5.2.1 your'e comment about changing group and user to smmsp 
doesn't work.
IMHO it wouldn't make much sense either because sendmail only interacts 
with the socket not creating or deleting it, the socket actually is 
created at boot time but  it dissapears at the very moment the boot 
shell detaches form the antivir startup script.
This behaviour is typical for 5x , I believe that 4x doesnt show that 
behaviour, I can't backup that haven't tested it with 4x.

Actually I notices if you replace `fi` with `fi &`  from the first start 
case it works also, handy workaround if you have already installed it 
from the port. But I favour for my script(ofcourse:-)) it  has some nice 
extra features, like generating mc and cf files depending on your'e 
configuration, a status check wich also does a control on the existince 
of the socket ,a pre-test to check if all depending binaries and files 
are in place,  and a update option.


Martin P. Hellwig

More information about the freebsd-ports mailing list