[Mimedefang] Clamd question -- sending commands

David F. Skoll dfs at roaringpenguin.com
Sun Mar 20 21:47:29 EST 2005


On Sun, 20 Mar 2005, Al Sparks wrote:

> According to the clamd man page (and its html docs that come with the
> source distribution) clamd should be able to "recognize" the following
> commands:

>        PING   Check  the  server's  state.  It  should reply with
>               "PONG".

[...]

> When I first start clamd and then,
>    > sudo clamd PING
> I don't get a PONG back.

Those commands are meant to be transmitted over Clamd's socket.  They
aren't command-line arguments at all.

See the source code (mimedefang.pl) for examples of how to communicate
with clamd.

--
David.



More information about the MIMEDefang mailing list