http://www.google.com/custom?q=deny+mail&sa=Google+Search&cof=LW%3A356%3BL%3Ahttp%3A%2F%2Fwww.sendmail.org%2Fgif%2Fbatorng.gif%3BLH%3A130%3BAH%3Acenter%3BS%3Ahttp%3A%2F%2Fwww.sendmail.org%2F%3BAWFID%3A833ee777126bd43d%3B&domains=sendmail.org&sitesearch=sendmail.org
ademas hay te envio lo q solucionaria tu problema:
An ``access'' database can be created to accept or reject mail from
selected domains. For example, you may choose to reject all mail
originating from known spammers. To enable such a database, use
FEATURE(`access_db')
The FEATURE macro can accept a second parameter giving the key file
definition for the database; for example
FEATURE(`access_db', `hash /etc/mail/access')
Remember, since /etc/mail/access is a database, after creating the text
file as described below, you must use makemap to create the database
map. For example:
makemap hash /etc/mail/access < /etc/mail/access
The table itself uses e-mail addresses, domain names, and network
numbers as keys. For example,
[EMAIL PROTECTED] REJECT
cyberspammer.com REJECT
192.168.212 REJECT
would refuse mail from [EMAIL PROTECTED], any user from cyberspammer.com
(or any host within the cyberspammer.com domain), and any host on the
192.168.212.* network.
The value part of the map can contain:
OK Accept mail even if other rules in the
running ruleset would reject it, for example,
if the domain name is unresolvable.
RELAY Accept mail addressed to the indicated domain or
received from the indicated domain for relaying
through your SMTP server. RELAY also serves as
an implicit OK for the other checks.
REJECT Reject the sender or recipient with a general
purpose message.
DISCARD Discard the message completely using the
$#discard mailer. For sender addresses it
indicates that you should discard anything
received from the indicated domain. If it
is used for recipients, it affects only
the designated recipients, not the whole
message.
### any text where ### is an RFC 821 compliant error code
and "any text" is a message to return for
the command.
ERROR:### any text
as above, but useful to mark error messages as such.
ERROR:D.S.N:### any text
where D.S.N is an RFC 1893 compliant error code
and the rest as above.
For example:
cyberspammer.com 550 We don't accept mail from spammers
okay.cyberspammer.com OK
sendmail.org RELAY
128.32 RELAY
1:2:3:4:5:6:7 RELAY
[127.0.0.3] OK
[1:2:3:4:5:6:7:8] OK
would accept mail from okay.cyberspammer.com , but would reject mail from
all other hosts at cyberspammer.com with the indicated message. It would
allow relaying mail from and to any hosts in the sendmail.org domain, and
allow relaying from the 128.32.*.* network and the IPv6 1:2:3:4:5:6:7:*
network. The latter two entries are for checks against ${client_name} if
the IP address doesn't resolve to a hostname (or is considered as "may be
forged").
Warning: if you change the RFC 821 compliant error code from the default
value of 550, then you should probably also change the RFC 1893 compliant
error code to match it. For example, if you use
[EMAIL PROTECTED] 450 mailbox full
the error returned would be "450 4.0.0 mailbox full" which is wrong.
Use "450 4.2.2 mailbox full" or "ERROR: 4.2.2:450 mailbox full"
instead.
El día 6/03/06, Adriano Gonzales <[EMAIL PROTECTED]> escribió:
Hola señores de la lista,
Miren tengo una consulta, tengo sendmail sobre un Whitebox 4. Quisiera saber como puedo bloquear direcciones de un dominio determinado por ejemplo como puedo bloquear emails que vengan de hotmail. He probado colocando los dominios en el archviso access (/etc/mail) pero no me ha funcado a lo mas lo etiqueta como SPAM.
Alguno de ustedes que me pueda orientar, se lo agradezco de antemano!!
saludos cordiales,
Adriano G.
_______________________________________________
Linux-plug mailing list
[email protected]
http://www.linux.org.pe/cgi-bin/mailman/listinfo/linux-plug
--
Orlando Sojo.
User Linux Registered 344807.
_______________________________________________ Linux-plug mailing list [email protected] http://www.linux.org.pe/cgi-bin/mailman/listinfo/linux-plug
