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

[cobalt-users] Pop before smtp working, but sendmail continues relaying for all



Hello,

I don't understand. Poprelayd functions on my raq3, it adds the ip's in /etc/mail/popip.db.
but sendmail continues to allow relay for everyone...

i have the following regarding to popb4smtp on my
sendmail.cf :
...
# Pop-before-smtp secondary access hash
Kpopauth hash -a<MATCH> /etc/mail/popip.db
...
######################################################################
### check_rcpt -- check SMTP `RCPT TO:' command argument
######################################################################

SLocal_check_rcpt
# Put the address into cannonical form (even if it doesn't resolve to an MX).
R$* $: $>Parse0 03 $1
R$* < $* > $* $: $1 < $2 . > $3
R$* < $* . . > $* $1 < $2 . > $3
# Test against pop-before-relay hash
R$* $: < $&{client_addr} >
R< $* > $(popauth $1 $)
R$* < MATCH > $#OK
......

Sendmail starts correctly but relay everything...

What's wrong ?

Thanks