Sendmail - block mail based on recipient address?

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



On Mon, 25 Oct 2010, Sean Carolan wrote:

> Maybe someone can help me sort this out.  I want to block outbound
> mail from my network based upon the recipient address.  Internal
> servers should still be allowed to send emails, but not to a few
> specific addresses.  I've tried creating some rules in
> /etc/mail/access but to no avail.  Is it possible to do this?

lefgifu with: sendmail access TO

http://www.feep.net/sendmail/tutorial/anti-spam/access_db.html

'The left hand side of each entry can optionally be prefixed 
with one of the tags To:, From:, or Connect:.'

so:

To:acme@xxxxxxxxxxxxxx		REJECT

(untested, but just reading the manual)

-- Russ herrold
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux