openbsd-misc
[Top] [All Lists]

Re: smtp proxy

To: Sam Mason <smason@mtc.ricardo.com>
Subject: Re: smtp proxy
From: Josh Archambault <josh@snowplow.org>
Date: Mon, 19 Feb 2001 00:37:19 -0600
Cc: misc@openbsd.org
References: <3166262338CDD41199E500104BC1D6F80280DA@mail.mtc.ricardo.com>
Sender: owner-misc@openbsd.org
How about using postfix as a mail relay?  It's reasonably light-weight,
fairly easy to configure, and can be set up to use just about any
anti-spam configuration you can dream up (plus, it's in ports).  

I use this very configuration on several firewalls now without issue.  I
started using postfix on a whim when I get fed up with the complexity of
an smtpd/sendmail relay configuration several months ago and haven't
looked back.

-J



Sam Mason wrote:
> 
> Hi everybody,
> 
> We've just had our email server used as a spam relay (It's and old MS
> Exchange server, crap I know but it works most of the time) and some for
> some political reason we can't upgrade it to a newer version that stops mail
> relaying, so I've been asked to put some sort of proxying/filtering on the
> OpenBSD firewall I'm building.
> 
> All it needs to do at the moment is some very lightweight checks on the
> source and destination addresses, the best I've come up with is the
> smtpd/smtpfwdd packages in the OpenBSD ports tree.
> 
> They seem a bit heavyweight for my needs and I was wondering if any simpler
> programs that exist that just listen for connections, check that the HELO,
> FROM and RCPT headers and if they are valid pass the data through to the
> main server.
> 
> Does anything like this exist?
> 
> Any good reading material, RTFM's/A HREF's?
> 
> I am thinking I will probably have to write this my self as its quite a
> specialist program, but it should be fun little hack.
> 
> Anybody else interested/pointers?
> 
> Thanks, Sam Mason.

<Prev in Thread] Current Thread [Next in Thread>