Ricardo Kleemann writes:

« HTML content follows »
Hi,


Is it possible to block external delivery attempts for certain domains only?


For example, I host a few domains but I would like to have some domains only internally (deliveries from a proxy server) and only one domain accepting internet connections.

Your "proxy server" is on another machine, so it would be forwarding your domain mail via SMTP, just like anyone else would. So, there is no real difference between "external" mail here. Same thing.

If your domains do not have MX records, and their A record is an IP address without a functioning mail server, then you're not going to receive any mail for those domains; and you can use esmtproutes, internally, to make arrangements to have those domains' mail delivered. The mail server doesn't care if there are or there aren't MX records, as long as it's set up to accept mail for a given domain.

So, what you probably want to do is drop public MX and/or A records for your domains, and use esmtproutes internally in lieu of them. If you have to have an A record for the machine that's running your mail server, add an MX record for 127.0.0.1 for the domain, nobody externally will be able to deliver to it.

Attachment: pgpQu0yRgRN7w.pgp
Description: PGP signature

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to