Grupy dyskusyjne Google nie obsługują już nowych postów ani subskrypcji z Usenetu. Treści historyczne nadal będą dostępne.

whitelist

6 wyświetleń
Przejdź do pierwszej nieodczytanej wiadomości

Gary

nieprzeczytany,
19 lis 2004, 23:53:0319.11.2004
do
We have a list of valid addresses for every domain and want to implement a
whitelist that only allows sendmail to forward mail for delivery if the
address being sent to is in our database.

Can sendmail do this somehow ?

Gary


George Bell

nieprzeczytany,
20 lis 2004, 09:23:0320.11.2004
do
Gary wrote:

Spamassassin, which can be integrated into sendmail, has a whitelist.

George
--
#
#...

Gary

nieprzeczytany,
20 lis 2004, 11:31:3020.11.2004
do

"George Bell" <mastero...@netscape.net> wrote in message
news:9rInd.56$1t.15@lakeread07...

Probably explained thids badly. I only want to forward mail to a domain
(SMTP Gateway) if they are valid users of that domain. The whitelist
referenced above seems to say anyone from xyz domain is allowed to send to
one of my domains or accounts.

For instance only gary and john exist at xyz.com so an e-mail to
fr...@xyz.com should be rejected. One client is being bombarded with e-mails
to people that do not exist in their company and we need to stop these
before they even reach the clients gateway.

Gary


Gunnar Hjalmarsson

nieprzeczytany,
20 lis 2004, 12:43:3520.11.2004
do

You can put the valid addresses in virtusertable, and bounce the rest:

@xyz.com ERROR:5.1.1:550 User unknown

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Kari Hurtta

nieprzeczytany,
20 lis 2004, 15:13:0420.11.2004
do
"Gary" <rea...@netlink.info> writes:

Perhaps following
http://groups.google.fi/groups?selm=5d1xgyzbc4.fsf_-_%40attruh.keh.iki.fi

Rulesets quoted on here.

/usr/local/mail/tables/valid.domain is list of forwarded
domains to be checked

/usr/local/mail/tables/valid is database (format:
address OK )

====================

dnl # is CommungatePro mailbox separator
define(`confOPERATORS',confOPERATORS`\#')

LOCAL_CONFIG
Kvalid hash /usr/local/mail/tables/valid
C{valid}Postmaster
F{vdomain}/usr/local/mail/tables/valid.domain

LOCAL_RULE_0
R $* <@$={vdomain}.> $1 <@ $2 . > $| $(valid $1@$2 $: BAD $) < ${opMode} >
R $={valid} <@ $* .> $| $* <$-> $1 <@ $2 .> # short circuit check if local part on $={valid}
R $* <@ $* .> $| $* <i> $1 <@ $2 .> # No check when building alias
R $* <@ $* .> $| BAD <$-> $: $1 <@ $2 .> $| $>CheckAddr1 $1 <@ $2 .>
R $* <@ $* .> $| BAD <$-> $#error $@ nouser $: "550 Sorry, user " $1 " do not found from " $2 " -dictionary"
R $* <@ $* .> $| $* $1 <@ $2 .> # Cleanup

LOCAL_RULESETS
SCheckAddr1
R $+ + $* <@ $* .> $@ $(valid $1@$3 $: BAD $) < ${opMode} > # If user+detail return status without detail
R $* \# $+ <@ $* .> $@ $(valid $2@$3 $: BAD $) < ${opMode} > # If mailbox#user return status without mailbox
R $* $@ BAD < ${opMode} > # Otherwise status is bad

/ Kari Hurtta

Nowe wiadomości: 0