[milters] Archive

Lists Index Date Thread Search

Article: 1097
From: Anthony Howe
Date: 2006-08-14 01:20:00 -0400
Subject: Re: milter-cli

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

Sergey N. Romanov wrote:
> Removal...........: milters-request@milter.info?subject=remove
> More information..: http://www.milter.info/#Support
> --------------------------------------------------------
> 
> Hello,
> 
> I have some problems with milter-cli.
> After I have upgraded libsnert and milter-cli to latest I can see that
> milter-cli do not process messages and to not address to specified
> scripts. I have changed "verbose" to "all" and I can see :

The output below does not appear to be verbose=all, its missing far too 
much information. There should be MANY access.db lookups nor do I see 
all the function trace info. Typically verbose=info,trace,db,dialog is 
sufficient.

> 23:51:00 [17] milter-cli[43805]: 00001 NOQUEUE: filterOpen(806cb80,
> 'localhost.xxx.xxx', [127.0.0.1])

> 23:51:00 [17] milter-cli[43805]: 00001 k7DLp0uF043815:
> sender=<root@xxx.xxx> access=? skipConnection=1 skipMessage=1

> What is wrong? Or milter-cli do not process outgoing messages or
> messages from 127.0.0.1? If yes, how I can enable this?

milter-cli is hard coded to white list 127.0.0.1. The only way to change 
this is to modify milter-cli.c and recompile. Change the line in 
filterOpen():

	if (smfAccessHost(&data->work, accessConnect, client_name, 
data->client_addr, SMDB_ACCESS_OK) == SMDB_ACCESS_REJECT)

to

	if (smfAccessHost(&data->work, accessConnect, client_name, 
data->client_addr, SMDB_ACCESS_UNKNOWN) == SMDB_ACCESS_REJECT)

But I suspect that will have undesired unforeseen untested consequences 
with respect to sendmail concerning DSN/MDN processing, relaying, 
mailing lists, etc.

-- 
Anthony C Howe          Skype: SirWumpus                    SnertSoft
+33 6 11 89 73 78         AIM: SirWumpus    Sendmail Milter Solutions
http://www.snert.com/     ICQ: 7116561
     http://www.snertsoft.com/

Lists Index Date Thread Search