[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] [RaQ4] Sendmail anti-spam configuration



Nada is nothing (a translate problem)

This is a sample list

###  check_mail -- check SMTP `MAIL FROM:' command argument
######################################################################

R$*[TAB][TAB][TAB]      $: $&{client_addr}
R::ffff:$-.$-.$-.$-[TAB]$: <?> $(host $4.$3.$2.$1.sbl.spamhaus.org. $: OK
$)
R$-.$-.$-.$-[TAB][TAB]  $: <?> $(host $4.$3.$2.$1.sbl.spamhaus.org. $: OK
$)
R<?>OK[TAB][TAB][TAB]   $: OKSOFAR
R<?>$+[TAB][TAB][TAB]   $#error $@ 5.7.1 $: "550 Email rejected."

[TAB] is a number of tabulates when you need put for each line


>> ok. i'm tearing my hair out now. i have replicated the lines
>> above for the BLs i'm using and restarted sendmail and still nada.

>What do you mean nada? Mine start at about line 994 after:
>R<$+> $*                      $#error $: $1

>And just before the section:

>###  check_mail -- check SMTP `MAIL FROM:' command argument


>Are you sure your spaces, where appropriate are tabs?
>When you restart sendmail, what happens?
>What does ps waux | grep sendmail reveal?


>> i'm putting my BL lines just before ' check_rcpt -- check
>> SMTP `RCPT TO:' command argument' is that right? does it
>> matter where i put them in sendmail.cf? if so, where is best?

>I think it does matter due to the order checks are carried out. I am
>able to whitelist any IPs in /etc/mail/access by putting in
>ip.add.re.ss[tab]OK

Un saludo, Danny