whiteclnt does not work?

Vernon Schryver vjs@calcite.rhyolite.com
Tue Aug 20 01:07:01 UTC 2002


> From: Rafal Maszkowski <rzm@icm.edu.pl>

> ...
> and, despite
>
> ok      From    root@sunsite.icm.edu.pl
>
> in /var/dcc/whiteclnt , it rejects messages with such envelope (and From: )
> sender address:
> >>> MAIL From:<root@sunsite.icm.edu.pl> SIZE=177 BODY=7BIT
> 250 2.1.0 <root@sunsite.icm.edu.pl>... Sender ok
> >>> RCPT To:<wojsyl@icm.edu.pl> ORCPT=rfc822;root
> 250 2.1.5 <wojsyl@icm.edu.pl>... Recipient ok
> >>> DATA
> 354 Enter mail, end with "." on a line by itself
> >>> .
> 451 4.7.1 Access denied by DCC
> ...

There are two different and independent return address checksums, "from"
and "env_from.  Either can saved in a server's database (given `dccd -K`)
or white or blacklisted in a server or client white list.  For example, 
    ok      From    root@sunsite.icm.edu.pl
in should white-list mail with an RFC 822 From: header, but 
    ok      env_From    root@sunsite.icm.edu.pl
should white-list mail with an RFC 821 Mail_from or envelope from value.

It is often (but not always) good to white-list all of the local 
IP addresses.  For example,
    ok	    ip	    193.219.28.0/24
is shorthand for 
    ok	    ip	    193.219.28.0
    ok	    ip	    193.219.28.1
    ok	    ip	    193.219.28.2
    ...
    ok	    ip	    193.219.28.255


Vernon Schryver    vjs@rhyolite.com



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.