Install ASSP on Linux with Sendmail

Install ASSP on Linux with Sendmail

Postby stephen » Sat Mar 29, 2008 9:34 am

This article called Enhance Your Mail Server With ASSP (Anti-Spam SMTP Proxy)
http://howtoforge.com/antispam_smtp_proxy
shows how to install ASSP on a linux server.

on my fedora core 5 server I installed the assp
into /home/assp
on a freebsd 7.0 server assp is installed by default into
/usr/local/lib/assp


It is quite easy to install.
The main point I found was that you make sendmail look at 127.0.0.1 port 25 and the ASSP program looks at the servers external ip address port 25
This way ASSP and SENDMAIL can coexist on the same server.

I edit /etc/mail/sendmail.mc
checked the line has Addr=127.0.0.1 in it
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA-local')dnl

if you changed the sendmail.mc file rebuild the sendmail.cf file with
make -C /etc/mail

Then in the assp use the 127.0.0.1:25 as the SMTP Destination and the listen port as the external ip address of the server port 25
smtpDestination:=127.0.0.1:25
listenPort:=123.123.123.183:25



Network Setup

SMTP Destination 127.0.0.1:25 The internal Postfix

V As a Daemon Check the box

Listen Port 123.123.123.123:25 The spam proxy
stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane

Can't locate cpan.pm in @INC

Postby stephen » Wed Jan 07, 2009 5:22 pm

when running
Code: Select all
perl -MCPAN -e shell


Fedora
If you are getting a ‘Can’t locate CPAN.pm in @INC’ error while opening cpan, you have not installed Bundle::Cpan. You can do that without Cpan - using yum


Code: Select all
yum install perl-CPAN
stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane


Return to Linux Server Configuration Notes

Who is online

Users browsing this forum: No registered users and 2 guests

cron