Quoting Brendan Kosowski ([EMAIL PROTECTED]):
> I would like to configure sendmail so that it only accepts or relays
> E-Mails that meet the following conditions :
> 
> 1. The E-Mail contains a "To:" address containing my domain
> 
>    OR
> 
> 2. The E-Mail contains a "From:" address containing my domain
> 
> Can anyone help ???

The easiest thing to do is install sendmail 8.9 from frozen. It defaults
to no relaying. Allowing relays from a local from is not a really great
idea (the spammers can just set the envelope from to the local domain
and get through) but you can enable it with 
   FEATURE(relay_local_from)dnl
in your /etc/mail/sendmail.mc (if you're running 8.9)

Mike Stone
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to