Amavis i postfix
Dodalem do /etc/postfix/main.cf
content_filter=smtp-amavis:[127.0.0.1]:10024
I w efekcie zaczelo sie.
cat /var/log/mail.err
Aug 29 21:36:20 serwerek postfix/smtp[4711]: fatal: unexpected command-line argument: 127.0.0.1:10025
telnet 127.0.0.1 10024
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-new service ready
MAIL FROM:<test@example.com>
250 2.1.0 Sender test@example.com OK
RCPT TO:<postmaster>
250 2.1.5 Recipient postmaster OK
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: test1
test1
.
450 4.4.1 Can't connect to 127.0.0.1 port 10025, Po\263\261czenie odrzucone at /usr/sbin/amavisd-new line 2912, <GEN10> line 5., id=04084-01
MAIL FROM:<test@example.com>
250 2.1.0 Sender test@example.com OK
RCPT TO:<postmaster>
250 2.1.5 Recipient postmaster OK
DATA
354 End data with <CR><LF>.<CR><LF>
Subject: test2 - virus test pattern
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
.
451 4.5.0 Error in processing, id=04084-01-2, virus_or_banned quar+notif FAILED: temporarily unable to notify virus admin: 450 4.4.1 Can't connect to 127.0.0.1 port 10025, Po\263\261czenie odrzucone at /usr/sbin/amavisd-new line 2912., id=04084-01-2 at /usr/sbin/amavisd-new line 6195.
Oczywiscie telnet 127.0.0.1 10025 nie dziala.
Co moglem spierniczyc i jak to poprawic?
--
Pozdrowienia,
mwarzec
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
Reply to: