Discussion:
how to set up sendmail to accept only whitelist?
Chris W. Parker
2004-05-20 21:43:24 UTC
Permalink
hello.

currently, part of my spam strategy is to take advantage of the
blacklist feature of sendmail*. however, i read somewhere recently (and
it made a lot of sense to me) to accept email only sent to valid email
addresses and reject the rest. lately i've notied a lot more random
usernames being prepended to @swatgear.com.

my setup is the following:

internet => sendmail w/ spamassassin => exchange 2k


can someone tell me what this is called and where i can read a
document(s) on how to get it working?



thanks,
chris.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
MKlinke
2004-05-20 22:05:16 UTC
Permalink
Post by Chris W. Parker
hello.
currently, part of my spam strategy is to take advantage of the
blacklist feature of sendmail*. however, i read somewhere recently
(and it made a lot of sense to me) to accept email only sent to
valid email addresses and reject the rest. lately i've notied a lot
internet => sendmail w/ spamassassin => exchange 2k
can someone tell me what this is called and where i can read a
document(s) on how to get it working?
thanks,
chris.
In your access (/etc/mail/access) list you can reject all mail from a
domain by default and then itemize those email addresses that will be
accepted in that same domain. For example:

exDomain.com REJECT

***@exDomain.com OK
***@exDomain.com OK


Regards, Mike Klinke
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Chris W. Parker
2004-05-20 23:48:15 UTC
Permalink
Post by MKlinke
In your access (/etc/mail/access) list you can reject all mail from a
domain by default and then itemize those email addresses that will be
exDomain.com REJECT
i hope it's that simple but what about the fact that i'm using sendmail
as a RELAY? a basic version of my /etc/mail/access file looks like this:

++
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY

To:swatgear.com RELAY

To:***@swatgear.com REJECT
++

would your suggestion still work? i mean, would i just have to change my
file to the following?

++
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY

To:swatgear.com RELAY

swatgear.com REJECT

To:***@swatgear.com OK
++


??


thanks,
chris.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
MKlinke
2004-05-21 04:30:42 UTC
Permalink
Post by Chris W. Parker
Post by MKlinke
In your access (/etc/mail/access) list you can reject all mail
from a domain by default and then itemize those email addresses
exDomain.com REJECT
i hope it's that simple but what about the fact that i'm using
sendmail as a RELAY? a basic version of my /etc/mail/access file
I also set up a relay system as a front end to an MS Exchange Server.
Here are my notes for the system that works very well as a white
list.

http://www.futzin.com/mailFront4Exchange.txt

Regards, Mike Klinke
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Loading...