RE: how to set up sendmail to accept only whitelist?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



MKlinke <mailto:mklinke@xxxxxxxx>
    on Thursday, May 20, 2004 3:05 PM said:

> 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
> 
> validUser1@xxxxxxxxxxxx      OK
> validUser2@xxxxxxxxxxxx      OK

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:r@xxxxxxxxxxxx         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:validuser1@xxxxxxxxxxxx  OK
++


??


thanks,
chris.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux