Hi Sam,

Thank you for your reply. 

Actually what I'm trying to do is have one of the domains point the
MX directly to the "real" server (so that it bypasses the "proxy"
server -- it's actually an anti-spam server). The other domains the MX
points to the anti-spam server.

So I can't block internet connections to the real mail server because
of this one domain. I was trying to find a way such that internet
connections would only be valid for messages pertinent to that one
domain. All other attempts would be blocked.

Ricardo

At Wednesday, 11-09-2011 on 4:04 "Sam Varshavchik"  wrote:

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.


------------------------------------------------------------------------------
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