Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 1997 01:35:13 +0000
From:      Brian Somers <brian@awfulhak.org>
To:        "Jonathan M. Bresler" <jmb@freebsd.org>
Cc:        brian@awfulhak.org (Brian Somers), freebsd-hackers@freebsd.org
Subject:   Re: /etc/mail filters in 2.2.5 
Message-ID:  <199711200135.BAA14119@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Sun, 16 Nov 1997 06:46:03 PST." <199711161446.GAA24588@hub.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Brian Somers wrote:
> > 
> > > Brian, 
> > > 	there are a couple issues here:
> > > 
> > > Brian Somers wrote:
> > > > I installed the /etc/mail stuff a few days ago, and added a few sites 
> > > > to domains.txt, specifically:
> > > > 
> > > > BIGFOOT.DALTEK.NET^M    #blocked. contact postmaster
> > > 
> > > 	first, that "^M" is it in the file?
> > > 	is so please delete it.
> > > 	after deleting the "^M"
> > > 	cd /etc/mail; make install
> > 
> > Hmm, the domains.txt I got with the ``make'' had 'em in, so I figured 
> > they were meant to be :-I
> 
> 	ahh.....did you use DOS!
> 	"^M" is teh DOS extra end-of-line character.
> 	DOS uses both <cr> and <lf> to indicate and end-of-line.
> 	Unix uses only one, the Mac uses the other.
> > 
> > > 	second, the way i wrote the rules, they block mail
> > > 	from a domain, hence the file is called domains.txt ;)
> > > 	bigfoot.daltek.net is a host, rather than a domain.
> > > 	you can change the entry domains.txt to "daltek.net".
> > > 	that will block mail from all of daltek.net. or you can
> > > 	use the amended rules below to block mail from both
> > > 	hosts and domains.  then you can use entries like
> > > 	"bigfoot.daltek.net" in domains.txt.
> > > 
> > > 	add the rules below that are *not* preceded by a ">"
> > > 	at the start of the line ;)
> > 
> > Ok, done - thanks.  I'll keep an eye on things.
> 
> 	cool....let me know if there are any problems.
[.....]
> jmb

Oh joy !  I had my first bounced (by me) mail today :-)  Thanks.
-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <bri@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711200135.BAA14119>