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

RE: [cobalt-users] Blocking email to destination / IP ??



> -----Original Message-----
> From: Larry Smith [mailto:lesmith@xxxxxxxxx] 
> Sent: Wednesday, September 04, 2002 9:59 PM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] Blocking email to destination / IP ??
> 
> 
> On Wednesday 04 September 2002 09:20 pm, Dan Kriwitsky wrote:
> > I believe if you put them in the resolv.conf you can have a domain 
> > resolve to 127.0.0.1. Haven't tried it. As far as specific email 
> > addresses, that I'm not sure. Maybe some tricky DNS and procmail.
> 
> Believe you might do this with /etc/hosts, but resolv.conf is 
> just for DNS 
> resolution I think.
> 
>  You should also be able to put the full address in your 
> alias table and just 
> route it to /dev/null ( I have a special alias of discard) 
> that would simply 
> throw away any mail to "that" address...
> 
> 
> -- 
> Larry Smith
> SysAd ECSIS.NET
> sysad@xxxxxxxxx
> 

This may very well solve my problem.

However, is there a way to do this so that the sender of the message
gets an error message?  I gather that if the messges are sent to
/dev/null that they will never know they disappeared... (much the same
as an incoming "DISCARD" I guess?)

Chris