🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27139

filter_innd.pl checking for user@[host].domain.tld

#27139
From: Chris van den Berg
Date: Tue, 24 Mar 1998 00:00
24 lines
1323 bytes
Hi,

I've been using cleanfeed/inn-1.7.2-insync-d, and have a question
regarding filter_innd.pl.  I'm using the following regexp (modified from
the inn distributed filter_innd.pl )to check for potentially valid From:
headers

(reject if...)

($hdr{'From'} !~ /(.+?)\@([-\w\d]+\.)*([-\w\d]+)\.([-\w\d]{2,})/
o));

Anyone know what to do with tld's that have 'A' records?  Specifically,
I have a user complaining his posts from ai. would get nuked.  ai. is
the tld from Anguilles.  The FQDN for his account would
be joe-user@ai (which fails the above match).  Are there any known DNS
restrictions for tld's having A records?

Thanks,

Chris

Technical Details
Message-ID: <351854BF.42877E5C@ack.berkeley.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <351854BF.42877E5C@ack.berkeley.edu>
Subject: filter_innd.pl checking for user@[host].domain.tld
Date: Tue, 24 Mar 1998 00:00:00 +0000
From: Chris van den Berg <chrisvdb@ack.berkeley.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 337357772
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Distribution: inet
Content-Type: text/plain; charset=us-ascii
Organization: University of California, Berkeley
Newsgroups: news.software.nntp