On 2004-04-13, Fajar A. Nugraha wrote:
>Andrei Bucur wrote:
>
>>>>How can I configure my system so mail to abuse@ or
>>>>postmaster@ are not rejected?
>>>>
>>>clamav-milter.c, around line 750
>>>
>>>/*
>>> * Whitelist of source e-mail addresses that we do NOT scan
>>> * TODO: read in from a file
>>> */
>>>
>Ehm. SOURCE e-mail addresses.
>Are you sure this is what you need?
The comment is probably incorrect, judging from this snippet:
/*
* See if the e-mail is only going to members of the list
* of users we don't scan for. If it is, don't scan, otherwise
* scan
*
* scan = false
* FORALL recipients
* IF receipient NOT MEMBER OF white address list
* THEN
* scan = true
* FI
* ENDFOR
*/
for(to = privdata->to; *to; to++) {
const char **s;
for(s = ignoredEmailAddresses; *s; s++)
if(strcasecmp(*s, *to) == 0)
/*
* This recipient is on the whitelist
*/
break;
if(*s == NULL)
/*
* This recipient is not on the whitelist,
* no need to check any further
*/
return SMFIS_CONTINUE;
}
/*
* Didn't find a recipient who is not on the white list, so all
* must be on the white list, so just accept the e-mail
*/
Or am I wrong?
s.
--
(0> Jakub Jankowski [url]: s.atn.pl "Nawet w Krainie Czarow
//\ [EMAIL PROTECTED] [rlu]: 174516 latwiej jest spotkac
V_/_ [EMAIL PROTECTED] [ekg]: 921514 Babe Jage niz Alicje"
Fingerprint: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users