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

postfix relay





I recently got problems with a client who was spamming the rest of the
world. I would like to prevent this and yet I need to allow my network to
relay mail through the mail server.

My dilemma is this:

I would like to configure the mail server to ONLY relay mail if the
connecting client is FROM my network AND his domain is found in my
$relay_domains file.
 All methods I've found so far do either one or the other. i.e if I list
both restritions, the first that matches is taken. How would I go about
ensuring that both are checked BEFORE relaying is allowed?

I am running postfix on FreeBSD 4.6-STABLE with the latest postfix port.

If this is not doable in postfix then how can I get it done with exim?


Noah.


-----
This is the afnog mailing list, managed by Majordomo 1.94.5

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org