Until I can doublecheck what happened, I wanted to report a 'rumor'.

Using altermine to add disclaimer, worked fine in 2.4.4, upgraded to
2.4.5, stop working.
(yes, I know, don't alter emails, and it's a postfix problem, or its an
altermime problem)
Amavisd 2.4.4 worked.  2.4.5 stopped working.

Just stopped. Pretends it delivers, but never even contacts host.

Disabled disclaimer, works.

Will diagnose problem more later but thought this information would be
helpful for anyone with the same problem.
I assume since we are talking 'pipeish' thing, maybe it's a change in
how amavisd 2.4.5 handles pipes.

Using this in postfix:
127.0.0.1:10027 inet n  -       n     -       -  smtpd
    -o notify_clases=protocol,resource,software
    -o content_filter=disclaimer
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o smtpd_restriction_classes=
    -o smtpd_delay_reject=no
    -o smtpd_client_restrictions=permit_mynetworks,reject
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o smtpd_data_restrictions=reject_unauth_pipelining
    -o smtpd_end_of_data_restrictions=
    -o mynetworks=127.0.0.0/8
    -o strict_rfc821_envelopes=yes
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000
    -o smtpd_client_connection_count_limit=0
    -o smtpd_client_connection_rate_limit=0
    -o
receive_override_options=no_header_body_checks,no_unknown_recipient_chec
ks
    -o smtp_send_xforward_command=yes
    -o disable_dns_lookups=yes
    -o local_header_rewrite_clients=
    -o smtpd_milters=
disclaimer  unix - n n - - pipe
    flags=Rq user=filter argv=/usr/local/sbin/disclaimer -f ${sender} --
${recipient}

/usr/local/sbin/disclaimer, as per altermine specs.

In amavisd.conf I have:

$policy_bank{'MYNETS'} = { # mail originating from @mynetworks

.....
forward_method => ['smtp:[127.0.0.1]:10027'],


Syslog shows segfault.
Feb  3 10:05:12 fl kernel: pid 5271 (altermime), uid 1002: exited on
signal 11

Postfix logs from sender seem to indicate it passed file to it:  mail
logs on recipient system indicate no attempt to contact target at all!

Feb  3 10:05:05 fl amavis[3299]: (03299-19) LMTP::10024
/var/amavis/tmp/amavis-20070203T064810-03299: <scheide
[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]> SIZE=2440
Received: from fl.us.spammertrap.net ([12
7.0.0.1]) by localhost (fl.us.spammertrap.net [127.0.0.1]) (amavisd-new,
port 10024) with LMTP for <first-aler
[EMAIL PROTECTED]>; Sat,  3 Feb 2007 10:05:05 -0500 (EST)
Feb  3 10:05:06 fl amavis[3299]: (03299-19) Checking: CbHxn5gGMg8k
MYNETS [204.89.241.128] <[EMAIL PROTECTED]
et> -> <[EMAIL PROTECTED]>
Feb  3 10:05:12 fl amavis[3299]: (03299-19) FWD via SMTP:
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]
ackertrap.net>, 250 2.6.0 Ok, id=03299-19, from MTA([127.0.0.1]:10027):
250 2.0.0 Ok: queued as 3D3791703F
Feb  3 10:05:12 fl amavis[3299]: (03299-19) Passed CLEAN, MYNETS LOCAL
[204.89.241.128] [204.89.241.128] <sche
[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>,
Message-ID: <B3BCAF4246A8A84983A80DAB50FE724286
[EMAIL PROTECTED]>, mail_id: CbHxn5gGMg8k, Hits: -7.208,
queued_as: 3D3791703F, 6429 ms
Feb  3 10:05:12 fl postfix/lmtp[5264]: D8B711701F:
to=<[EMAIL PROTECTED]>, relay=127.0.0.
1[127.0.0.1]:10024, delay=6.5, delays=0.05/0.01/0/6.4, dsn=2.6.0,
status=sent (250 2.6.0 Ok, id=03299-19, from
 MTA([127.0.0.1]:10027): 250 2.0.0 Ok: queued as 3D3791703F)
Feb  3 10:05:12 fl postfix/pipe[5268]: 3D3791703F:
to=<[EMAIL PROTECTED]>, relay=disclaim
er, delay=0.12, delays=0.1/0.01/0/0.01, dsn=2.0.0, status=sent
(delivered via disclaimer service)



-- 
Michael Scheidell, CTO
SECNAP Network Security Corporation
Keep up to date with latest information on IT security: Real time
security alerts:
http://www.secnap.com/news
 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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