tir, 2002-04-23 kl. 12:41 skrev Mark Olliver:

> can anyone think of a rule which check's if mail is coming from a valid
> domain?

If you only receive mail from one or two mail hubs then you should be
able to filter out other source IPs/networks, then protocol/port. If
there are more, this would be a horrible job, especially since there's
no file/db lookup possibility. IP numbers can and do change.

> & or block mail from certain users/ domains.
> also can we create iptables rules to block mail with certain messages, or
> can't we see this at the packet level

All of what you want can be done by a reasonably well configured mail
server. My own speciality, Exim, can easily be configured for file, ldap
and db lookups, relay hosts/domains, spam and virus filtering,
authentication by 3 different methods, TLS/SSL encryption and more. Why
try to reinvent the wheel?

Tony


-- 

Tony Earnshaw

e-post:         [EMAIL PROTECTED]
www:            http://www.billy.demon.nl
gpg public key: http://www.billy.demon.nl/tonni.armor

Telefoon:       (+31) (0)172 530428
Mobiel:         (+31) (0)6 51153356

GPG Fingerprint = 3924 6BF8 A755 DE1A 4AD6 FA2B F7D7 6051 3BE7 B981
3BE7B981


Attachment: signature.asc
Description: Dette er en digitalt signert meldingsdel

Reply via email to