Google Groups จะไม่รองรับโพสต์หรือการสมัครสมาชิก Usenet ใหม่อีกต่อไป โดยคุณจะยังคงดูเนื้อหาเดิมได้อยู่

whitelist

ยอดดู 6 ครั้ง
ข้ามไปที่ข้อความที่ยังไม่อ่านรายการแรก

Gary

ยังไม่อ่าน,
19 พ.ย. 2547 23:53:0319/11/47
ถึง
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

ยังไม่อ่าน,
20 พ.ย. 2547 09:23:0320/11/47
ถึง
Gary wrote:

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

George
--
#
#...

Gary

ยังไม่อ่าน,
20 พ.ย. 2547 11:31:3020/11/47
ถึง

"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

ยังไม่อ่าน,
20 พ.ย. 2547 12:43:3520/11/47
ถึง

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

ยังไม่อ่าน,
20 พ.ย. 2547 15:13:0420/11/47
ถึง
"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

ข้อความใหม่ 0 รายการ