Michael,
> 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.
> Just stopped. Pretends it delivers, but never even contacts host.
> 127.0.0.1:10027 inet n - n - - smtpd
> -o content_filter=disclaimer
> ...
> disclaimer unix - n n - - pipe
> flags=Rq user=filter argv=/usr/local/sbin/disclaimer -f ${sender} --
> ${recipient}
> In amavisd.conf I have:
> $policy_bank{'MYNETS'} = {
> forward_method => ['smtp:[127.0.0.1]:10027'],
This should be:
forward_method => 'smtp:[127.0.0.1]:10027',
(because forward_method is not by-recipient *_maps type
of a setting), but this is unrelated to your problem.
> Syslog shows segfault.
> Feb 3 10:05:12 fl kernel: pid 5271 (altermime), uid 1002: exited on
> signal 11
A program has no right of segfaulting, no matter what garbage
might be thrown at it.
> 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: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)
amavisd has done its job at this point, mail is back in hands of Postfix.
> 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)
postfix has done its job, mail is now in hands of disclaimer program,
and that program has confirmed to Postfix that it took over the
responsibility to further handle mail. Seems it broke its promise.
> I assume since we are talking 'pipeish' thing, maybe it's a change in
> how amavisd 2.4.5 handles pipes.
In your setup it is not amavisd that pipes to disclaimer,
but a Postfix 'pipe' service. Even if there were a change
in amavisd handling of pipes, it does not apply here.
Mark
-------------------------------------------------------------------------
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/