i am having trouble setting up an antispam system for my mail server. here is my situation.
i have a mail server running on novell groupwise, it is hosting 2 different domains.
now i wan to implement an antispam system for it, on CentOS 5.2. the CentOS is created on a virtual box using vmware, with 30gb of free space and 256mb ram. on the centos hosts postfix, mailscanner, spamassassin and clamav.
i manage to install these components without any problem. after the setup, from the local network, i can telnet into the antispam and send a test mail. if i telnet from an external location, it will give me the error message at the "rcpt to:firstname.lastname@example.org" saying relay access denied.
below is the settings of my /etc/postfix.main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = antispam.example.com
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
luser_relay = $user@mailserver
debug_peer_level = 2
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
header_checks = regexp:/etc/postfix/header_checks
transport_maps = hash:/etc/postfix/transport
there is a firewall(shorewall) to divert the mail to the antispam server. for now the mails are directed into the mail server.
i am not sure what more information you need. feel free to ask me.
Thanks a million!