[Mimedefang] Only one received header

Nels Lindquist nlindq at maei.ca
Mon Feb 16 13:35:09 EST 2004


On 16 Feb 2004 at 12:54, Jonas Eckerman wrote:

> On Mon, 16 Feb 2004 08:40:27 +0100, Andrea Gabellini wrote:
> 
> >  Is it possible to block this kind of mail directly with sendmail?

<snip>
 
> OTH, typically a server that's not supposed to get connections from
> the net in general should be behind a firewall, and if it's behind a
> firewall you should simply block traffic you don't whant before it
> ever reaches the server. 

Firewall rules are probably the best way, but if that's not an 
option, try running "sendmail -d0.1 -bv root | grep TCPWRAPPERS" to 
see if your sendmail binary was linked against libwrap.  If so, you 
can make use of hosts.allow and hosts.deny to only accept connections 
from your MX.

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.



More information about the MIMEDefang mailing list