Hello there.

I just set up ASSP for my postfix server. This is how I installed ASSP:

--------------------------
perl -MCPAN -e shell

install Compress::Zlib
install Digest::MD5
install Email::Valid
install File::ReadBackwards
install Mail::SPF::Query
install Mail::SRS
install Net::DNS
install Sys::Syslog
install Time::HiRes


cd /usr/src/

wget -c
'http://surfnet.dl.sourceforge.net/sourceforge/assp/ASSP_1.2.5-Install.zip'
wget -c
'http://surfnet.dl.sourceforge.net/sourceforge/assp/ASSP_1.2.5_Rev.2-Update.
zip'

unzip ASSP_1.2.5-Install.zip
unzip ASSP_1.2.5_Rev.2-Update.zip

mkdir -p /usr/share/assp/spam
mkdir /usr/share/assp/notspam
mkdir /usr/share/assp/errors
mkdir /usr/share/assp/errors/spam
mkdir /usr/share/assp/errors/notspam

mv -f assp.pl ASSP
mv -f ASSP/* /usr/share/assp

rm -fr ASSP_1.2.5* changelog.txt Install.txt __MACOSX/ README.txt

chown -R 0.0 /usr/share/assp

cd /usr/share/assp
perl assp.pl
--------------------

This is how I configured it:

Network Setup

    SMTP Destination: 127.0.0.1:125
    V in: As a Daemon
    Listen Port: 25

Relaying
   
    Local Domains: kruger.nu|linuxsupport.dk

------------------------

Then I changed my master.cf file for postfix, this is what I changed:

smtp      inet  n       -       n       -       -       smtpd
        -o content_filter=spamchk

changed to:

localhost:125      inet  n       -       n       -       -       smtpd
        -o content_filter=spamchk

-----------------------

Postfix now listens on port 125 and ASSP listens on port 25, and forwards it
to 127.0.0.1:125 for Postfix..

Then I tried to send a mail, but got the following error: 554 5.7.7 Invalid
HELO Format .


This is my postfix config:
--------------------------
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix

virtual_alias_maps = mysql:/etc/postfix/mysql_virtual.cf

transport_maps = mysql:/etc/postfix/mysql_transport.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mbox.cf
virtual_uid_maps = mysql:/etc/postfix/mysql_uids.cf
virtual_gid_maps = mysql:/etc/postfix/mysql_gids.cf

virtual_mailbox_base = /var/spool/postfix/virtual/
virtual_maps = mysql:/etc/postfix/mysql_virtual.cf

virtual_mailbox_limit = 102400000
virtual_minimum_uid = 2001

inet_interfaces = all
home_mailbox = Maildir/

message_size_limit = 52428800
smtpd_recipient_limit = 52428800

myhostname = kruger.nu
mydestination = $transport_maps

relayhost = pasmtp.tele.dk
relay_domains = $mydestination, $virtual_maps

mynetworks = 7.0.0.0/8, 192.168.0.0/16, 127.0.0.0/8

mynetworks_style = $myhostname

smtpd_banner = $myhostname ESMTP

smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes

smtpd_recipient_restrictions =  permit_mynetworks,
                                permit_sasl_authenticated,
                                reject_unknown_sender_domain,
                                reject_unauth_pipelining,
                                reject_unknown_recipient_domain,
                                reject_non_fqdn_sender,
                                reject_non_fqdn_recipient,
                                reject_non_fqdn_hostname,
                                reject_unauth_destination,
                                reject_rbl_client relays.ordb.org,
                                reject_rbl_client opm.blitzed.org,
                                reject_rbl_client list.dsbl.org,
                                reject_rbl_client sbl.spamhaus.org,
                                reject_rbl_client cbl.abuseat.org,
                                reject_rbl_client dul.dnsbl.sorbs.net,
                                check_policy_service inet:127.0.0.1:60000,
                                permit

smtpd_data_restrictions =       reject_unauth_pipelining,
                                permit
smtpd_sasl_auth_enable = yes

content_filter = amavis:[127.0.0.1]:10024
biff = no

alias_maps = hash:/etc/aliases
local_recipient_maps = $alias_maps

smtpd_helo_required     = yes
strict_rfc821_envelopes = yes
disable_vrfy_command = yes
unknown_address_reject_code  = 554
unknown_hostname_reject_code = 554
unknown_client_reject_code   = 554

smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_cert_file = /etc/postfix/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
---------------------------


What is wrong? Is ASSP not doing HELO commands correctly or?


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to