've solved the problem, but it seems not clear yet. I've checked the 
main.cf, master.cf and amavis.conf; I've based my work on the great info 
available from README.postfix amavisd-new documentation.

The things I've changed:

* In main.cf

content_filter=smtp-amavis:127.0.0.1:10024 subsitutes previous 
content_filter = smtp-amavis:127.0.0.1:10024. Note that the supression 
of blank spaces around equal sign is all that I've changed.

* In master.cf

-o mynetworks=127.0.0.0/8 substitutes previous  -o 
mynetworks=127.0.0.0/8,192.168.1.0/24 in dedicated smtpd for amavisd-new 
filtered mails reinjection.

I've erased the -o strict_rfc821_envelopes = yes

* In amavis.conf

Nothing; I've checked the valkue of essential parameters as $mydomain, 
$inet_socket_port, $forward_method or $notify_method, but all oh them 
seems correct.

Now, /var/log/maillog looks like:

Aug  8 16:29:58 mail amavis[12093]: (12093-07) rw_loop: needline=1, 
flush=0, wr=0, timeout=300
Aug  8 16:29:58 mail postfix/smtpd[12270]: E77BBD5028E: 
client=tartarus[127.0.0.1]
Aug  8 16:29:58 mail amavis[12093]: (12093-07) rw_loop: receiving
Aug  8 16:29:58 mail amavis[12093]: (12093-07) rw_loop read 65 chars< 
250 2.1.0 Ok\r\n250 2.1.5 Ok\r\n354 End data with <CR><
LF>.<CR><LF>\r\n
Aug  8 16:29:58 mail amavis[12093]: (12093-07) smtp resp to MAIL (pip): 
250 2.1.0 Ok
Aug  8 16:29:58 mail amavis[12093]: (12093-07) smtp resp to RCPT (pip) 
(<[EMAIL PROTECTED]>): 250 2.1.5 Ok, id=12093-07, fro
m MTA([127.0.0.1]:10025): 250 2.1.5 Ok
Aug  8 16:29:58 mail amavis[12093]: (12093-07) smtp resp to DATA: 354 
End data with <CR><LF>.<CR><LF>
Aug  8 16:29:58 mail amavis[12093]: (12093-07) write_header: 0, 
Amavis::Out::SMTP::Protocol=HASH(0x1b65cc10)
Aug  8 16:29:58 mail amavis[12093]: (12093-07) smtp cmd> QUIT
Aug  8 16:29:58 mail amavis[12093]: (12093-07) rw_loop: needline=0, 
flush=1, wr=1, timeout=479
Aug  8 16:29:58 mail amavis[12093]: (12093-07) rw_loop: sending
Aug  8 16:29:58 mail amavis[12093]: (12093-07) rw_loop send 1031> 
X-Virus-Scanned: amavisd-new at opengea.org\r\nReceived: fr
om mail.opengea.org ([127.0.0.1])\r\n\tby localhost 
(tartarus.opengea.org [127.0.0.1]) (amavisd-new, port 10024)\r\n\twith ES
MTP id N1BtB7V1hexv for  [...]
Aug  8 16:29:58 mail amavis[12093]: (12093-07) rw_loop: needline=1, 
flush=0, wr=0, timeout=479
Aug  8 16:29:58 mail postfix/cleanup[12263]: E77BBD5028E: 
message-id=<[EMAIL PROTECTED]>
Aug  8 16:29:58 mail postfix/qmgr[12043]: E77BBD5028E: 
from=<[EMAIL PROTECTED]>, size=1209, nrcpt=1 (queue active)
Aug  8 16:29:58 mail postfix/smtpd[12270]: disconnect from 
tartarus[127.0.0.1]
Aug  8 16:29:58 mail amavis[12093]: (12093-07) rw_loop: receiving
Aug  8 16:29:58 mail amavis[12093]: (12093-07) rw_loop read 52 chars< 
250 2.0.0 Ok: queued as E77BBD5028E\r\n221 2.0.0 Bye\r\
n
Aug  8 16:29:58 mail amavis[12093]: (12093-07) smtp resp to data-dot 
(<[EMAIL PROTECTED]>): 250 2.0.0 Ok: queued as E77BBD50
28E
Aug  8 16:29:58 mail amavis[12093]: (12093-07) smtp resp to QUIT: 221 
2.0.0 Bye
Aug  8 16:29:58 mail amavis[12093]: (12093-07) prolong_timer 
fwd-end-chkpnt: timer set to 479 s
Aug  8 16:29:58 mail amavis[12093]: (12093-07) FWD via SMTP: 
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>,BODY=7BIT 250
  2.6.0 Ok, id=12093-07, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: 
queued as E77BBD5028E
Aug  8 16:29:58 mail amavis[12093]: (12093-07) prolong_timer forwarding: 
remaining time = 479 s
Aug  8 16:29:58 mail amavis[12093]: (12093-07) lookup: (scalar) matches, 
result="10"
Aug  8 16:29:58 mail amavis[12093]: (12093-07) lookup 
(spam_dsn_cutoff_level_bysender) => true,  "[EMAIL PROTECTED]" m
atches, result="10", matching_key="(constant:10)"
Aug  8 16:29:58 mail amavis[12093]: (12093-07) dsn: from MTA 250 
NonBlocking:CleanTag <[EMAIL PROTECTED]> -> <jespasac
@gmail.com>: on_succ=0, on_dly=1, on_fail=1, never=0, warn_sender=, 
DSN_passed_on=1, mta_resp: "250 2.0.0 Ok: queued as E77BB
D5028E"
Aug  8 16:29:58 mail amavis[12093]: (12093-07) DSN: SUCC from MTA 250 
NonBlocking:CleanTag, no DSN requested: <[EMAIL PROTECTED]
pengea.org> -> <[EMAIL PROTECTED]>
Aug  8 16:29:58 mail amavis[12093]: (12093-07) one_response_for_all 
<[EMAIL PROTECTED]>: success, r=0,b=0,d=0, ndn_nee
ded=0, '250 2.0.0 Ok: queued as E77BBD5028E'
Aug  8 16:29:58 mail amavis[12093]: (12093-07) notif=N, suppressed=0, 
ndn_needed=0, exit=0, 250 2.0.0 Ok: queued as E77BBD502
8E
Aug  8 16:29:58 mail amavis[12093]: (12093-07) prolong_timer 
delivery-notification: remaining time = 479 s
Aug  8 16:29:58 mail amavis[12093]: (12093-07) parse_received: from = 
[192.168.1.33] (64.Red-88-23-247.staticIP.rima-tde[...]
/[192.168.1.33]/64.Red-88-23-247.staticIP.rima-tde.net/88.23.247.64
Aug  8 16:29:58 mail amavis[12093]: (12093-07) parse_received: by = 
mail.opengea.org /mail.opengea.org//
Aug  8 16:29:58 mail amavis[12093]: (12093-07) parse_received: with = 
ESMTP /ESMTP //
Aug  8 16:29:58 mail amavis[12093]: (12093-07) parse_received: id = 
7644DD5028D\t/7644DD5028D\t//
Aug  8 16:29:58 mail amavis[12093]: (12093-07) parse_received: for = 
<[EMAIL PROTECTED]>/<[EMAIL PROTECTED]>//
Aug  8 16:29:58 mail amavis[12093]: (12093-07) parse_received: ; = Wed, 
  8 Aug 2007 16:29:56 +0200 (CEST)/Wed,  8 Aug 2007 16
:29:56 +0200 (CEST)//
Aug  8 16:29:58 mail amavis[12093]: (12093-07) 
fish_out_ip_from_received: 88.23.247.64, [192.168.1.33] 
(64.Red-88-23-247.stat
icIP.rima-tde.net [88.23.247.64])\t
Aug  8 16:29:58 mail amavis[12093]: (12093-07) lookup_ip_acl 
(publicnetworks): key="88.23.247.64" matches "::FFFF:0:0/96", re
sult=1
Aug  8 16:29:58 mail amavis[12093]: (12093-07) best_try_originator_ip: 
88.23.247.64
Aug  8 16:29:58 mail amavis[12093]: (12093-07) Passed CLEAN, 
[88.23.247.64] [88.23.247.64] <[EMAIL PROTECTED]> -> <jes
[EMAIL PROTECTED]>, Message-ID: <[EMAIL PROTECTED]>, mail_id: 
N1BtB7V1hexv, Hits: 4.4, size: 758, queued_as: E77BBD5
028E, 2025 ms
Aug  8 16:29:58 mail amavis[12093]: (12093-07) prolong_timer 
main_log_entry: remaining time = 479 s
Aug  8 16:29:58 mail amavis[12093]: (12093-07) updating snmp variables
Aug  8 16:29:58 mail amavis[12093]: (12093-07) prolong_timer check done: 
remaining time = 479 s
Aug  8 16:29:58 mail amavis[12093]: (12093-07) sending SMTP response: 
"250 2.0.0 Ok: queued as E77BBD5028E"
Aug  8 16:29:58 mail amavis[12093]: (12093-07) ESMTP> 250 2.0.0 Ok: 
queued as E77BBD5028E
Aug  8 16:29:58 mail postfix/smtp[12265]: 7644DD5028D: 
to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.6,
delays=0.59/0/0.01/2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 
E77BBD5028E)
Aug  8 16:29:58 mail postfix/qmgr[12043]: 7644DD5028D: removed

I've solved the problem an I understan the real trouble was something 
relationed with the connection between Postfix and Amavisd-new... but I 
don't understand totally yet.

Any clear explanation will be welcomed.

-- 
Thanks,
Jordi Espasa Clofent

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to