Google 網路論壇不再支援新的 Usenet 貼文或訂閱項目,但過往內容仍可供查看。

whitelist

瀏覽次數:6 次
跳到第一則未讀訊息

Gary

未讀,
2004年11月19日 晚上11:53:032004/11/19
收件者:
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

未讀,
2004年11月20日 上午9:23:032004/11/20
收件者:
Gary wrote:

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

George
--
#
#...

Gary

未讀,
2004年11月20日 上午11:31:302004/11/20
收件者:

"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

未讀,
2004年11月20日 中午12:43:352004/11/20
收件者:

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

未讀,
2004年11月20日 下午3:13:042004/11/20
收件者:
"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 則新訊息