[milters] Archive

Lists Index Date Thread Search

Article: 294
From: Anthony Howe
Date: 2004-12-24 08:46:58 -0500
Subject: Re: milter-sender

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support

Kevin Brouelette wrote:
> I have two Centos 3.3 boxes running sendmail, mailscanner,clamav,
> milter-ahead and [one of the two] milter-sender.
> On box 2 I build libsnert and milter-sender, but when starting
> milter-sender init script, I fail with:
> [root@mail root]# /etc/init.d/milter-sender start
> /etc/init.d/milter-sender: line 50: unalias: announce: not found
> /etc/init.d/milter-sender: line 60: unalias: pass: not found
> /etc/init.d/milter-sender: line 73: unalias: fail: not found
> /etc/init.d/milter-sender: line 86: unalias: getpid: not found
> /etc/init.d/milter-sender: line 114: unalias: start: not found

The unalias commands, which were added for OpenBSD, are cosmetic errors. 
  Just append to those lines:

     unalias announce >/dev/null 2>&1

That should silence the errors.

> /etc/init.d/milter-sender: line 130: syntax error near unexpected token
> `"Starting $NAME"'
> /etc/init.d/milter-sender: line 130: `        announce("Starting
> $NAME")'

This was already reported. Some shells don't like the parens for shell 
functions. Try remove the parens:

     announce "Starting $NAME"

Anthony C Howe                                 +33 6 11 89 73 78
http://www.snert.com/       ICQ:
7116561         AIM: Sir Wumpus

            "Once...we were here."  - Last of The Mohicans

Lists Index Date Thread Search