|
From: Adam 'R. P. <ro...@ea...> - 2004-04-10 12:06:20
|
Hi there, i'm new here, because i've got problem which i can't solve alone, i've been sittin' for 4 hours and trying to get what is wrong but i give up! I hope you'll be able to help me :-) This is my problem with amavis postfix and spamassasin. As my tutorial i used this one recommended by Amavisd Team at their site http://www.flakshack.com/anti-spam/ About that this port 10025 is runnin' i'm sure. I can telnet it. Thanks in advance :)))) Adam 'Royal' Pokora #amavisd debug Apr 10 15:12:11 duck.easycom.pl amavisd[13405]: (13405-01) ESMTP> 450 4.4.1 Can't connect to 127.0.0.1 port 10025, No such file or directory at /usr/local/sbin/amavisd line 2837, <GEN6> line 102., id=13405-01 #netstat -nat tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN (...) Config files like master and main.cf are based on this one from "tutorial" # cat /etc/postfix/main.cf queue_directory=/var/spool/postfix command_directory=/usr/sbin daemon_directory=/usr/lib/postfix mail_owner=postfix default_privs=nobody myhostname=mail.easycom.pl mydomain=easycom.pl inet_interfaces=all mydestination=$myhostname, localhost.$mydomain, $mydomain, osterm.com.pl, phumis.pl mynetworks=80.55.98.78/30, 192.168.0.0/24, 127.0.0.0/8 local_recipient_maps = $alias_maps unix:passwd.byname alias_maps=hash:/etc/postfix/aliases transport_maps = hash:/etc/postfix/transport local_transport = local home_mailbox = mailbox mail_spool_directory=/var/spool/mail mailbox_command = /usr/bin/procmail -Y -a $DOMAIN header_checks = regexp:/etc/postfix/maps/header_checks smtpd_banner=Witamy na serwerze $myhostname ESMTP powered by (Pingwin) debug_peer_level=2 content_filter = smtp-amavis:[127.0.0.1]:10024 delay_warning_time=4 smtpd_recipient_restrictions= permit_mynetworks, reject_non_fqdn_recipient, reject_invalid_hostname, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unauth_destination, check_recipient_access hash:/etc/postfix/recipient_access smtpd_sender_restricions= check_sender_access hash:/etc/postfix/sender_access, reject_unknown_sender_domain, reject_non_fqdn_sender allow_percent_hack = no swap_bangpath = no strict_rfc821_envelopes = yes ---------EOF--------- # cat /etc/postfix/master.cf smtp inet n - y - - smtpd pickup fifo n - y 60 1 pickup cleanup unix n - y - 0 cleanup qmgr fifo n - y 300 1 nqmgr rewrite unix - - y - - trivial-rewrite bounce unix - - y - 0 bounce defer unix - - y - 0 bounce flush unix n - y 1000? 0 flush smtp unix - - y - - smtp showq unix n - y - - showq error unix - - y - - error local unix - n n - - local virtual unix - n y - - virtual lmtp unix - - y - - lmtp cyrus unix - n n - - pipe flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe smtp-amavis unix - - y - 2 smtp -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes 127.0.0.1:10025 inet n - y - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 ---- EOF------------ |