OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: spam and main.cf
From: stephane parenton (stephane.parentonprisme.fr)
Date: Mon Dec 11 2000 - 10:28:48 CST


hi to all

I've been informed by our ISP that relays mail to our mail server that
our server is used to spam... I'm sooooo happy.... Now, I'd like to know
what options need to be set to prevent our server to act such a spam
relay.... It's a postfix, its from a SuSE 6.4...

What is in my main.cf is the following :

program_directory = /usr/lib/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
myhostname = myservername.mydomain.fr
mydomain = mydomain.fr
myorigin = mydomain.fr
mydestination = $myhostname, localhost.$mydomain, $mydomain
local_recipient_maps = $relocated_maps $alias_maps unix:passwd.byname
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
smtpd_sender_restrictions = hash:/etc/postfix/access
transport_maps = hash:/etc/postfix/transport
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
mynetworks = 192.168.100.0/24, 127.0.0.0/8
smtpd_banner = XXXXXXX ESMTP $mail_name ($mail_version)
mail_name = YYYYYYYYY
mail_version = ZZZZZZZZZZ
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10
debug_peer_level = 2
debugger_command =
         PATH=/usr/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5
message_size_limit = 4096000

what Do I need to be sure no one outside the company can use the server
to spam others ?....

Regards
Stephane Parenton

P.S. : Hope my clock is right now.... sorry